2024-01-05 21:40:51 +01:00
|
|
|
Name: dcmtk
|
2024-01-05 21:40:52 +01:00
|
|
|
Version: 3.6.7
|
2024-01-05 21:40:51 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: The OFFIS DICOM toolkit command line utilities
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:40:51 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:40:52 +01:00
|
|
|
URL: https://dicom.offis.de/dcmtk.php.en
|
2024-01-05 21:40:51 +01:00
|
|
|
Source0: git://git.dcmtk.org/dcmtk.git/DCMTK-%{version}/dcmtk-%{version}.tar.bz2
|
2024-01-05 21:40:51 +01:00
|
|
|
Patch1: dcmtk-3.6.0-dcmjpls.patch
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-05 21:40:51 +01:00
|
|
|
BuildRequires: libicu-devel
|
2024-01-05 21:40:51 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-05 21:40:51 +01:00
|
|
|
BuildRequires: libnsl-devel
|
2024-01-05 21:40:51 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libwrap-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:40:51 +01:00
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
Requires: libdcmtk = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-05 21:40:51 +01:00
|
|
|
DCMTK includes a collection of libraries and applications for examining, constructing and converting DICOM image files, handling offline media, sending and receiving images over a network connection, as well as demonstrative image storage and worklist servers.
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%package -n libdcmtk
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: The OFFIS DICOM toolkit runtime libraries
|
|
|
|
|
|
|
|
%description -n libdcmtk
|
|
|
|
DCMTK - OFFIS DICOM Toolkit command line utilities.
|
2024-01-05 21:40:51 +01:00
|
|
|
This package contains the runtime libraries for the DCMTK utility applications.
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%package -n libdcmtk-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: The OFFIS DICOM toolkit development libraries and headers
|
|
|
|
Requires: libdcmtk = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libdcmtk-devel
|
|
|
|
DCMTK - OFFIS DICOM Toolkit command line utilities.
|
|
|
|
This package contains development libraries and headers for DCMTK.
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 21:40:51 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DBUILD_SHARED_LIB=ON \
|
2024-01-05 21:40:52 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
2024-01-05 21:40:51 +01:00
|
|
|
-DDCMTK_INSTALL_ETCDIR=%{_sysconfdir}/dcmtk \
|
2024-01-05 21:40:52 +01:00
|
|
|
-DDCMTK_INSTALL_CMKDIR=%{_lib}/cmake/dcmtk
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%make
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:40:51 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 21:40:52 +01:00
|
|
|
# Move configuration files from /usr/etc to /etc
|
|
|
|
mv %{buildroot}/usr/etc %{buildroot}
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
%post -n libdcmtk -p /sbin/ldconfig
|
|
|
|
%postun -n libdcmtk -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/dcmtk
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/dcmpstat.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/dcmqrscp.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/filelog.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/logger.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/printers.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/storescp.cfg
|
|
|
|
%config(noreplace) %{_sysconfdir}/dcmtk/storescu.cfg
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/dcm*
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/cda2dcm
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/dcod2lum
|
|
|
|
%{_bindir}/dconvlum
|
|
|
|
%{_bindir}/dsr2html
|
|
|
|
%{_bindir}/dsr2xml
|
|
|
|
%{_bindir}/dsrdump
|
|
|
|
%{_bindir}/dump2dcm
|
|
|
|
%{_bindir}/echoscu
|
|
|
|
%{_bindir}/findscu
|
|
|
|
%{_bindir}/img2dcm
|
|
|
|
%{_bindir}/movescu
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/msgserv
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/pdf2dcm
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/stl2dcm
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/storescp
|
|
|
|
%{_bindir}/storescu
|
|
|
|
%{_bindir}/termscu
|
|
|
|
%{_bindir}/wlmscpfs
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/wltest
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/xml2dcm
|
|
|
|
%{_bindir}/xml2dsr
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_bindir}/drtdump
|
|
|
|
%{_bindir}/drttest
|
|
|
|
%{_bindir}/getscu
|
|
|
|
%{_bindir}/mkreport
|
|
|
|
%{_bindir}/ofstd_tests
|
2024-01-05 21:40:51 +01:00
|
|
|
#%{_bindir}/preplock
|
|
|
|
#%{_bindir}/readoviw
|
|
|
|
#%{_bindir}/readwlst
|
|
|
|
#%{_bindir}/writwlst
|
2024-01-05 21:40:51 +01:00
|
|
|
%dir %{_datadir}/dcmtk
|
|
|
|
%{_datadir}/dcmtk/*.dump
|
|
|
|
%{_datadir}/dcmtk/*.lut
|
|
|
|
%{_datadir}/dcmtk/*.dtd
|
|
|
|
%{_datadir}/dcmtk/*.dic
|
|
|
|
%{_datadir}/dcmtk/*.xsd
|
|
|
|
%{_datadir}/dcmtk/*.txt
|
|
|
|
%{_datadir}/dcmtk/*.css
|
|
|
|
%{_datadir}/dcmtk/wlistdb
|
|
|
|
%{_datadir}/dcmtk/wlistqry
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_mandir}/man1/*.1*
|
2024-01-05 21:40:51 +01:00
|
|
|
#%dir %{_docdir}/dcmtk-%{version}
|
|
|
|
#%doc %{_docdir}/dcmtk-%{version}/*
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%files -n libdcmtk
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%files -n libdcmtk-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/dcmtk
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_includedir}/dcmtk/*
|
|
|
|
%{_libdir}/lib*.so
|
2024-01-05 21:40:51 +01:00
|
|
|
%dir %{_libdir}/cmake/dcmtk
|
2024-01-05 21:40:51 +01:00
|
|
|
%{_libdir}/cmake/dcmtk/DCMTK*.cmake
|
2024-01-05 21:40:51 +01:00
|
|
|
%dir %{_docdir}/dcmtk
|
|
|
|
%{_docdir}/dcmtk/*
|
2024-01-05 21:40:52 +01:00
|
|
|
%{_libdir}/pkgconfig/dcmtk.pc
|
2024-01-05 21:40:51 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:40:52 +01:00
|
|
|
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 3.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
* Sun Jun 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.6-1mamba
|
|
|
|
- update to 3.6.6
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
* Thu Jan 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1_20140617-1mamba
|
|
|
|
- update to 3.6.1_20140617
|
|
|
|
|
2024-01-05 21:40:51 +01:00
|
|
|
* Wed Feb 02 2011 gil <puntogil@libero.it> 3.6.0-1mamba
|
|
|
|
- package created by autospec
|