|
|
69b2efb |
%global commit 71799c27da506c899f2ef04b50cd8d454374870d
|
|
|
70c51cc |
%global comm %(c=%{commit}; echo ${c:0:7})
|
|
|
69b2efb |
%global checkout 20171224git%{comm}
|
|
|
70c51cc |
%global _docdir_fmt %{name}
|
|
|
70c51cc |
|
|
|
70c51cc |
Name: ctk
|
|
|
70c51cc |
Version: 0.1
|
|
|
d9edae0 |
Release: 0.11.%{checkout}%{?dist}
|
|
|
70c51cc |
Summary: The Commmon Toolkit for biomedical imaging
|
|
|
70c51cc |
|
|
|
70c51cc |
License: ASL 2.0
|
|
|
70c51cc |
URL: http://www.commontk.org
|
|
|
70c51cc |
Source0: https://github.com/commontk/CTK/archive/%{commit}.tar.gz#/CTK-%{commit}.tar.gz
|
|
|
70c51cc |
|
|
|
d439b31 |
Patch0: %{name}-0.1.20171224git71799c2-fix_qreal_cast.patch
|
|
|
d439b31 |
|
|
|
70c51cc |
BuildRequires: gcc-c++
|
|
|
70c51cc |
BuildRequires: cmake
|
|
|
70c51cc |
BuildRequires: doxygen
|
|
|
70c51cc |
BuildRequires: graphviz
|
|
|
70c51cc |
BuildRequires: dcmtk-devel
|
|
|
70c51cc |
BuildRequires: gdcm-devel
|
|
|
70c51cc |
BuildRequires: libjpeg-turbo-devel
|
|
|
70c51cc |
BuildRequires: libxml2-devel
|
|
|
70c51cc |
BuildRequires: openssl-devel
|
|
|
70c51cc |
BuildRequires: qt-devel
|
|
|
70c51cc |
|
|
|
70c51cc |
%description
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
This package contains the CTK Core library.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%package dicom
|
|
|
70c51cc |
|
|
|
70c51cc |
Summary: Library of high-level classes for querying PACS and local databases
|
|
|
70c51cc |
|
|
|
70c51cc |
%description dicom
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
DICOM library provides high-level classes supporting query and retrieve
|
|
|
70c51cc |
operations from PACS and local databases. It includes Qt widgets to easily
|
|
|
70c51cc |
set-up a server connection and to send queries and view the results.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%package plugin-framework
|
|
|
70c51cc |
|
|
|
70c51cc |
Summary: A dynamic component system for C++
|
|
|
70c51cc |
|
|
|
70c51cc |
%description plugin-framework
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
The Plugin Framework is a dynamic component system for C++, modeled after the
|
|
|
70c51cc |
OSGi specifications. It enable a development model where applications are
|
|
|
70c51cc |
(dynamically) composed of many different (reusable) components following a
|
|
|
70c51cc |
service oriented approach.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%package widgets
|
|
|
70c51cc |
|
|
|
70c51cc |
Summary: A collection of Qt widgets for biomedical imaging applications
|
|
|
70c51cc |
|
|
|
70c51cc |
%description widgets
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
The Widgets library is a collection of Qt widgets for usage in biomedical
|
|
|
70c51cc |
imaging applications.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%package devel
|
|
|
70c51cc |
|
|
|
70c51cc |
Summary: Development files for the Common Toolkit
|
|
|
70c51cc |
|
|
|
70c51cc |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
70c51cc |
Requires: %{name}-dicom%{?_isa} = %{version}-%{release}
|
|
|
70c51cc |
Requires: %{name}-plugin-framework%{?_isa} = %{version}-%{release}
|
|
|
70c51cc |
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
|
|
|
70c51cc |
Requires: cmake%{?_isa}
|
|
|
70c51cc |
Requires: qt-devel%{?_isa}
|
|
|
70c51cc |
|
|
|
70c51cc |
%description devel
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
This package contains files for development of CTK applications.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%package doc
|
|
|
70c51cc |
|
|
|
70c51cc |
Summary: Documentation for the Common Toolkit
|
|
|
70c51cc |
BuildArch: noarch
|
|
|
70c51cc |
|
|
|
70c51cc |
%description doc
|
|
|
70c51cc |
The Common Toolkit is a community effort to provide support code for medical
|
|
|
70c51cc |
image analysis, surgical navigation, and related projects.
|
|
|
70c51cc |
|
|
|
70c51cc |
This package contains CTK developer documentation.
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%prep
|
|
|
1593c33 |
%autosetup -n CTK-%{commit} -p1
|
|
|
70c51cc |
mkdir build
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%build
|
|
|
70c51cc |
pushd build
|
|
|
70c51cc |
%cmake \
|
|
|
70c51cc |
-DCMAKE_PREFIX_PATH=%{_libdir}/cmake/InsightToolkit \
|
|
|
70c51cc |
-DCTK_SUPERBUILD=OFF \
|
|
|
70c51cc |
-DCTK_INSTALL_LIB_DIR=%{_libdir} \
|
|
|
70c51cc |
-DCTK_INSTALL_CMAKE_DIR=%{_libdir}/cmake/%{name} \
|
|
|
70c51cc |
-DCTK_INSTALL_PLUGIN_DIR=%{_libdir}/%{name}/plugins \
|
|
|
70c51cc |
-DCTK_INSTALL_QTPLUGIN_DIR=%{_qt4_plugindir} \
|
|
|
70c51cc |
-DCTK_ENABLE_DICOM=ON \
|
|
|
70c51cc |
-DCTK_ENABLE_PluginFramework=ON \
|
|
|
70c51cc |
-DCTK_ENABLE_Widgets=ON \
|
|
|
d439b31 |
-DDOCUMENTATION_TARGET_IN_ALL=OFF \
|
|
|
70c51cc |
..
|
|
|
d439b31 |
%make_build
|
|
|
d439b31 |
%make_build doc
|
|
|
70c51cc |
popd
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%install
|
|
|
d439b31 |
%make_install -C build
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
# No %%check section here because running tests requires working X server
|
|
|
70c51cc |
# and data files that are distributed without any copyright/license info
|
|
|
70c51cc |
# (see https://github.com/commontk/CTKData/issues/1).
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
61e7a30 |
%ldconfig_scriptlets
|
|
|
70c51cc |
|
|
|
61e7a30 |
%ldconfig_scriptlets dicom
|
|
|
70c51cc |
|
|
|
61e7a30 |
%ldconfig_scriptlets plugin-framework
|
|
|
70c51cc |
|
|
|
61e7a30 |
%ldconfig_scriptlets widgets
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%files
|
|
|
9ad7fdd |
%doc README.rst
|
|
|
70c51cc |
%license NOTICE LICENSE
|
|
|
70c51cc |
%{_libdir}/libCTKCore.so.*
|
|
|
70c51cc |
|
|
|
70c51cc |
%files dicom
|
|
|
70c51cc |
%{_libdir}/libCTKDICOM*.so.*
|
|
|
70c51cc |
|
|
|
70c51cc |
%files plugin-framework
|
|
|
70c51cc |
%{_libdir}/libCTKPluginFramework.so.*
|
|
|
70c51cc |
%{_libdir}/libCTKDummyPlugin.so.*
|
|
|
70c51cc |
|
|
|
70c51cc |
%files widgets
|
|
|
70c51cc |
%{_libdir}/libCTKWidgets.so.*
|
|
|
70c51cc |
|
|
|
70c51cc |
%files devel
|
|
|
70c51cc |
%{_includedir}/%{name}-%{version}
|
|
|
70c51cc |
%{_libdir}/*.so
|
|
|
70c51cc |
%{_qt4_plugindir}/designer/*.so
|
|
|
70c51cc |
%{_libdir}/cmake/%{name}
|
|
|
70c51cc |
|
|
|
70c51cc |
%files doc
|
|
|
70c51cc |
%doc build/Documentation/html
|
|
|
70c51cc |
%exclude %{_docdir}/%{name}/html/*.map
|
|
|
70c51cc |
%exclude %{_docdir}/%{name}/html/*.md5
|
|
|
70c51cc |
|
|
|
70c51cc |
|
|
|
70c51cc |
%changelog
|
|
|
d9edae0 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.11.20171224git71799c2
|
|
|
d9edae0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d9edae0 |
|
|
|
bb6e0a1 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.10.20171224git71799c2
|
|
|
bb6e0a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
bb6e0a1 |
|
|
|
e634dc1 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.9.20171224git71799c2
|
|
|
e634dc1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e634dc1 |
|
|
|
2f935e8 |
* Wed Jan 03 2018 Björn Esser <besser82@fedoraproject.org> - 0.1-0.8.20171224git71799c2
|
|
|
2f935e8 |
- Remove BR: tcp_wrappers (#1518758)
|
|
|
2f935e8 |
|
|
|
69b2efb |
* Wed Jan 03 2018 Björn Esser <besser82@fedoraproject.org> - 0.1-0.7.20171224git71799c2
|
|
|
69b2efb |
- Update to recent snapshot
|
|
|
69b2efb |
|
|
|
10e141a |
* Wed Jan 03 2018 Björn Esser <besser82@fedoraproject.org> - 0.1-0.6.20151015gitbdc8cac
|
|
|
10e141a |
- Rebuilt for dcmtk
|
|
|
10e141a |
|
|
|
6cc30d6 |
* Sun Aug 06 2017 Björn Esser <besser82@fedoraproject.org> - 0.1-0.5.20151015gitbdc8cac
|
|
|
6cc30d6 |
- Rebuilt for AutoReq cmake-filesystem
|
|
|
6cc30d6 |
|
|
|
70d1087 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.4.20151015gitbdc8cac
|
|
|
70d1087 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
70d1087 |
|
|
|
6e6b990 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.3.20151015gitbdc8cac
|
|
|
6e6b990 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6e6b990 |
|
|
|
3714330 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.2.20151015gitbdc8cac
|
|
|
3714330 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3714330 |
|
|
|
70c51cc |
* Tue Feb 2 2016 Dmitry Mikhirev <mikhirev@gmail.com> 0.1-0.1.20151015gitbdc8cac
|
|
|
70c51cc |
- Initial package
|