diff --git a/dcmtk.spec b/dcmtk.spec index 8480b4c..45a7828 100644 --- a/dcmtk.spec +++ b/dcmtk.spec @@ -1,12 +1,12 @@ Name: dcmtk -Version: 3.6.6 +Version: 3.6.7 Release: 1mamba Summary: The OFFIS DICOM toolkit command line utilities Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://dicom.offis.de/dcmtk.php.en +URL: https://dicom.offis.de/dcmtk.php.en Source0: git://git.dcmtk.org/dcmtk.git/DCMTK-%{version}/dcmtk-%{version}.tar.bz2 Patch1: dcmtk-3.6.0-dcmjpls.patch License: BSD @@ -58,10 +58,10 @@ This package contains development libraries and headers for DCMTK. %build %cmake -d build \ -DBUILD_SHARED_LIB=ON \ - -DCMAKE_INSTALL_PREFIX=/ \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DDCMTK_INSTALL_ETCDIR=%{_sysconfdir}/dcmtk \ - -DDCMTK_INSTALL_CMKDIR=%{_libdir}/cmake/dcmtk \ - -DDCMTK_INSTALL_LIBDIR=%{_libdir} + -DDCMTK_INSTALL_CMKDIR=%{_lib}/cmake/dcmtk %make @@ -69,6 +69,9 @@ This package contains development libraries and headers for DCMTK. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +# Move configuration files from /usr/etc to /etc +mv %{buildroot}/usr/etc %{buildroot} + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -143,8 +146,12 @@ This package contains development libraries and headers for DCMTK. %{_libdir}/cmake/dcmtk/DCMTK*.cmake %dir %{_docdir}/dcmtk %{_docdir}/dcmtk/* +%{_libdir}/pkgconfig/dcmtk.pc %changelog +* Mon May 16 2022 Automatic Build System 3.6.7-1mamba +- automatic version update by autodist + * Sun Jun 20 2021 Silvan Calarco 3.6.6-1mamba - update to 3.6.6