automatic version update by autodist [release 3.6.8-1mamba;Sat Feb 03 2024]

This commit is contained in:
Automatic Build System 2024-02-06 12:47:39 +01:00
parent f85b1c6d1d
commit 2fde686fbf
3 changed files with 37 additions and 31 deletions

View File

@ -1,15 +0,0 @@
--- dcmjpls/apps/Makefile.in 2010-10-14 15:20:22.000000000 +0200
+++ dcmjpls/apps/Makefile.in-gil 2011-02-03 09:37:19.000000000 +0100
@@ -59,10 +59,10 @@
all: $(progs)
dcmdjpls: dcmdjpls.o
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBDIRS) -o $@ $@.o $(LOCALLIBS) $(MATHLIBS) $(LIBS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBDIRS) -o $@ $@.o $(LOCALLIBS) $(MATHLIBS) $(LIBS) $(TIFFLIBS) $(PNGLIBS)
dcmcjpls: dcmcjpls.o
- $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBDIRS) -o $@ $@.o $(LOCALLIBS) $(MATHLIBS) $(LIBS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBDIRS) -o $@ $@.o $(LOCALLIBS) $(MATHLIBS) $(LIBS) $(TIFFLIBS) $(PNGLIBS)
dcml2pnm: dcml2pnm.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(LIBDIRS) -o $@ $@.o $(LOCALLIBS) $(PNMLIBS) $(MATHLIBS) $(LIBS)

View File

@ -0,0 +1,15 @@
--- dcmtk-3.6.8/CMake/GenerateDCMTKConfigure.cmake.orig 2024-02-03 10:25:49.563019822 +0100
+++ dcmtk-3.6.8/CMake/GenerateDCMTKConfigure.cmake 2024-02-03 10:26:28.249094925 +0100
@@ -202,9 +202,9 @@
# Modify the installation paths for configuration files, data files and documents
# by adding a subdirectory with the DCMTK name and version number
- set(CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
- set(CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
- set(CMAKE_INSTALL_FULL_DOCDIR "${CMAKE_INSTALL_FULL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}")
+ set(CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/dcmtk")
+ set(CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/dcmtk")
+ set(CMAKE_INSTALL_FULL_DOCDIR "${CMAKE_INSTALL_FULL_DOCDIR}")
# These variables are defined as macros in osconfig.h and must end with a path separator
set(DCMTK_DEFAULT_CONFIGURATION_DIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}/")

View File

@ -1,5 +1,5 @@
Name: dcmtk Name: dcmtk
Version: 3.6.7 Version: 3.6.8
Release: 1mamba Release: 1mamba
Summary: The OFFIS DICOM toolkit command line utilities Summary: The OFFIS DICOM toolkit command line utilities
Group: System/Tools Group: System/Tools
@ -8,7 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://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 Source0: git://git.dcmtk.org/dcmtk.git/DCMTK-%{version}/dcmtk-%{version}.tar.bz2
Patch1: dcmtk-3.6.0-dcmjpls.patch Patch0: dcmtk-3.6.8-cmake-unversioned-datadir.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -16,8 +16,10 @@ BuildRequires: libgcc
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libnsl-devel BuildRequires: libnsl-devel
BuildRequires: libopenjpeg-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libsndfile-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libwrap-devel BuildRequires: libwrap-devel
@ -54,13 +56,15 @@ This package contains development libraries and headers for DCMTK.
%prep %prep
%setup -q %setup -q
%patch 0 -p1
%build %build
%cmake -d build \ %cmake -d build \
-DBUILD_SHARED_LIB=ON \ -DBUILD_SHARED_LIB=ON \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DDCMTK_INSTALL_ETCDIR=%{_sysconfdir}/dcmtk \ -DCMAKE_INSTALL_DATADIR=%{_datadir} \
-DDCMTK_INSTALL_CMKDIR=%{_lib}/cmake/dcmtk -DDCMTK_INSTALL_CMKDIR=%{_lib}/cmake/dcmtk
%make %make
@ -69,9 +73,6 @@ This package contains development libraries and headers for DCMTK.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
# Move configuration files from /usr/etc to /etc
mv %{buildroot}/usr/etc %{buildroot}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -92,15 +93,22 @@ mv %{buildroot}/usr/etc %{buildroot}
%{_bindir}/cda2dcm %{_bindir}/cda2dcm
%{_bindir}/dcod2lum %{_bindir}/dcod2lum
%{_bindir}/dconvlum %{_bindir}/dconvlum
%{_bindir}/drtdump
%{_bindir}/drttest
%{_bindir}/dsr2html %{_bindir}/dsr2html
%{_bindir}/dsr2xml %{_bindir}/dsr2xml
%{_bindir}/dsrdump %{_bindir}/dsrdump
%{_bindir}/dump2dcm %{_bindir}/dump2dcm
%{_bindir}/echoscu %{_bindir}/echoscu
%{_bindir}/findscu %{_bindir}/findscu
%{_bindir}/getscu
%{_bindir}/img2dcm %{_bindir}/img2dcm
%{_bindir}/mkcsmapper
%{_bindir}/mkesdb
%{_bindir}/movescu %{_bindir}/movescu
%{_bindir}/msgserv %{_bindir}/msgserv
%{_bindir}/oficonv_tests
%{_bindir}/ofstd_tests
%{_bindir}/pdf2dcm %{_bindir}/pdf2dcm
%{_bindir}/stl2dcm %{_bindir}/stl2dcm
%{_bindir}/storescp %{_bindir}/storescp
@ -110,15 +118,7 @@ mv %{buildroot}/usr/etc %{buildroot}
%{_bindir}/wltest %{_bindir}/wltest
%{_bindir}/xml2dcm %{_bindir}/xml2dcm
%{_bindir}/xml2dsr %{_bindir}/xml2dsr
%{_bindir}/drtdump
%{_bindir}/drttest
%{_bindir}/getscu
%{_bindir}/mkreport %{_bindir}/mkreport
%{_bindir}/ofstd_tests
#%{_bindir}/preplock
#%{_bindir}/readoviw
#%{_bindir}/readwlst
#%{_bindir}/writwlst
%dir %{_datadir}/dcmtk %dir %{_datadir}/dcmtk
%{_datadir}/dcmtk/*.dump %{_datadir}/dcmtk/*.dump
%{_datadir}/dcmtk/*.lut %{_datadir}/dcmtk/*.lut
@ -129,13 +129,16 @@ mv %{buildroot}/usr/etc %{buildroot}
%{_datadir}/dcmtk/*.css %{_datadir}/dcmtk/*.css
%{_datadir}/dcmtk/wlistdb %{_datadir}/dcmtk/wlistdb
%{_datadir}/dcmtk/wlistqry %{_datadir}/dcmtk/wlistqry
%dir %{_datadir}/dcmtk/csmapper
%{_datadir}/dcmtk/csmapper/*
%dir %{_datadir}/dcmtk/esdb
%{_datadir}/dcmtk/esdb/*
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
#%dir %{_docdir}/dcmtk-%{version}
#%doc %{_docdir}/dcmtk-%{version}/*
%files -n libdcmtk %files -n libdcmtk
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%doc COPYRIGHT
%files -n libdcmtk-devel %files -n libdcmtk-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -149,6 +152,9 @@ mv %{buildroot}/usr/etc %{buildroot}
%{_libdir}/pkgconfig/dcmtk.pc %{_libdir}/pkgconfig/dcmtk.pc
%changelog %changelog
* Sat Feb 03 2024 Automatic Build System <autodist@openmamba.org> 3.6.8-1mamba
- automatic version update by autodist
* Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 3.6.7-1mamba * Mon May 16 2022 Automatic Build System <autodist@mambasoft.it> 3.6.7-1mamba
- automatic version update by autodist - automatic version update by autodist