|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
Name: gdcm
|
|
|
|
|
Version: 2.8.4
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://gdcm.sourceforge.net/wiki/index.php/Main_Page
|
|
|
|
|
Source0: http://sourceforge.net/projects/gdcm/files/gdcm%202.x/GDCM%20%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: http://downloads.sourceforge.net/project/gdcm/gdcmData/gdcmData/gdcmData.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: gdcm-2.4.0-usecopyright.patch
|
|
|
|
|
Patch2: gdcm-2.4.0-install2libarch.patch
|
|
|
|
|
Patch3: gdcm-2.4.0-no-versioned-dir.patch
|
|
|
|
|
Name: gdcm
|
|
|
|
|
Version: 2.8.4
|
|
|
|
|
Release: 13%{?dist}
|
|
|
|
|
Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://gdcm.sourceforge.net/wiki/index.php/Main_Page
|
|
|
|
|
Source0: http://sourceforge.net/projects/gdcm/files/gdcm%202.x/GDCM%20%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: http://downloads.sourceforge.net/project/gdcm/gdcmData/gdcmData/gdcmData.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: gdcm-2.4.0-usecopyright.patch
|
|
|
|
|
Patch2: gdcm-2.4.0-install2libarch.patch
|
|
|
|
|
Patch3: gdcm-2.4.0-no-versioned-dir.patch
|
|
|
|
|
# From http://public.kitware.com/pipermail/vtkusers/2013-February/127377.html
|
|
|
|
|
#Patch4: gdcm-0005-support-vtk6.patch
|
|
|
|
|
Patch6: gdcm-2.6-fix-cmake-config-paths.patch
|
|
|
|
@ -18,29 +18,29 @@ Patch8: gdcm-2.8.4-fix-poppler.patch
|
|
|
|
|
Patch9: gdcm-2.8.4-poppler-0.67.0.patch
|
|
|
|
|
Patch10: gdcm-2.8.4-poppler-0.73.0.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: CharLS-devel >= 1.0
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
|
BuildRequires: docbook5-style-xsl
|
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: gl2ps-devel
|
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
|
BuildRequires: libtheora-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: mesa-libOSMesa-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: CharLS-devel >= 1.0
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
|
BuildRequires: docbook5-style-xsl
|
|
|
|
|
BuildRequires: expat-devel
|
|
|
|
|
BuildRequires: fontconfig-devel
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: gl2ps-devel
|
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
|
BuildRequires: libtheora-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: mesa-libOSMesa-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: pkgconfig(libopenjp2)
|
|
|
|
|
#BuildRequires: /usr/bin/pdflatex
|
|
|
|
|
BuildRequires: poppler-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: json-c-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
#BuildRequires: texlive-ec
|
|
|
|
|
#BuildRequires: vtk-devel
|
|
|
|
|
#BuildRequires: /usr/bin/pdflatex
|
|
|
|
|
BuildRequires: poppler-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: swig
|
|
|
|
|
BuildRequires: json-c-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
#BuildRequires: texlive-ec
|
|
|
|
|
#BuildRequires: vtk-devel
|
|
|
|
|
BuildRequires: gcc gcc-c++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -54,43 +54,43 @@ C-MOVE). PS 3.3 & 3.6 are distributed as XML files.
|
|
|
|
|
It also provides PS 3.15 certificates and password based mechanism to
|
|
|
|
|
anonymize and de-identify DICOM datasets.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Includes html documentation for gdcm
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Includes html documentation for gdcm
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
You should install the gdcm-doc package if you would like to
|
|
|
|
|
access upstream documentation for gdcm.
|
|
|
|
|
|
|
|
|
|
%package applications
|
|
|
|
|
Summary: Includes command line programs for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%package applications
|
|
|
|
|
Summary: Includes command line programs for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description applications
|
|
|
|
|
You should install the gdcm-applications package if you would like to
|
|
|
|
|
use command line programs part of GDCM. Includes tools to convert,
|
|
|
|
|
anonymize, manipulate, concatenate, and view DICOM files.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries and headers for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-applications%{?_isa} = %{version}-%{release}
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries and headers for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-applications%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
You should install the gdcm-devel package if you would like to
|
|
|
|
|
compile applications based on gdcm
|
|
|
|
|
|
|
|
|
|
%package examples
|
|
|
|
|
Summary: CSharp, C++, Java, PHP and Python example programs for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
%package examples
|
|
|
|
|
Summary: CSharp, C++, Java, PHP and Python example programs for GDCM
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description examples
|
|
|
|
|
GDCM examples
|
|
|
|
|
|
|
|
|
|
%package -n python3-gdcm
|
|
|
|
|
Summary: Python binding for GDCM
|
|
|
|
|
%package -n python3-gdcm
|
|
|
|
|
Summary: Python binding for GDCM
|
|
|
|
|
%{?python_provide:%python_provide python3-gdcm}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-gdcm
|
|
|
|
|
You should install the python3-gdcm package if you would like to
|
|
|
|
@ -127,47 +127,47 @@ rm -rf Utilities/rle
|
|
|
|
|
rm -rf Utilities/wxWidgets
|
|
|
|
|
|
|
|
|
|
# Needed for testing:
|
|
|
|
|
#rm -rf Utilities/gdcmmd5
|
|
|
|
|
#rm -rf Utilities/gdcmmd5
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%cmake .. \
|
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
|
-DGDCM_INSTALL_PACKAGE_DIR=%{_libdir}/cmake/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_INCLUDE_DIR=%{_includedir}/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_DOC_DIR=%{_docdir}/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_MAN_DIR=%{_mandir} \
|
|
|
|
|
-DGDCM_INSTALL_LIB_DIR=%{_libdir} \
|
|
|
|
|
-DGDCM_BUILD_TESTING:BOOL=ON \
|
|
|
|
|
-DGDCM_DATA_ROOT=../gdcmData/ \
|
|
|
|
|
-DGDCM_BUILD_EXAMPLES:BOOL=ON \
|
|
|
|
|
-DGDCM_DOCUMENTATION:BOOL=ON \
|
|
|
|
|
-DGDCM_PDF_DOCUMENTATION:BOOL=OFF \
|
|
|
|
|
-DGDCM_WRAP_PYTHON:BOOL=ON \
|
|
|
|
|
-DPYTHON_EXECUTABLE=%{__python3} \
|
|
|
|
|
-DGDCM_INSTALL_PYTHONMODULE_DIR=%{python3_sitearch} \
|
|
|
|
|
-DGDCM_WRAP_JAVA:BOOL=OFF \
|
|
|
|
|
-DGDCM_BUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
|
-DGDCM_BUILD_APPLICATIONS:BOOL=ON \
|
|
|
|
|
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
|
|
|
|
|
-DGDCM_USE_VTK:BOOL=OFF \
|
|
|
|
|
-DGDCM_USE_SYSTEM_CHARLS:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_ZLIB:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_UUID:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_LJPEG:BOOL=OFF \
|
|
|
|
|
-DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_JPEGLS:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_LIBXML2:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_JSON:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_POPPLER:BOOL=ON
|
|
|
|
|
%cmake .. \
|
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
|
|
|
|
-DGDCM_INSTALL_PACKAGE_DIR=%{_libdir}/cmake/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_INCLUDE_DIR=%{_includedir}/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_DOC_DIR=%{_docdir}/%{name} \
|
|
|
|
|
-DGDCM_INSTALL_MAN_DIR=%{_mandir} \
|
|
|
|
|
-DGDCM_INSTALL_LIB_DIR=%{_libdir} \
|
|
|
|
|
-DGDCM_BUILD_TESTING:BOOL=ON \
|
|
|
|
|
-DGDCM_DATA_ROOT=../gdcmData/ \
|
|
|
|
|
-DGDCM_BUILD_EXAMPLES:BOOL=ON \
|
|
|
|
|
-DGDCM_DOCUMENTATION:BOOL=ON \
|
|
|
|
|
-DGDCM_PDF_DOCUMENTATION:BOOL=OFF \
|
|
|
|
|
-DGDCM_WRAP_PYTHON:BOOL=ON \
|
|
|
|
|
-DPYTHON_EXECUTABLE=%{__python3} \
|
|
|
|
|
-DGDCM_INSTALL_PYTHONMODULE_DIR=%{python3_sitearch} \
|
|
|
|
|
-DGDCM_WRAP_JAVA:BOOL=OFF \
|
|
|
|
|
-DGDCM_BUILD_SHARED_LIBS:BOOL=ON \
|
|
|
|
|
-DGDCM_BUILD_APPLICATIONS:BOOL=ON \
|
|
|
|
|
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
|
|
|
|
|
-DGDCM_USE_VTK:BOOL=OFF \
|
|
|
|
|
-DGDCM_USE_SYSTEM_CHARLS:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_EXPAT:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_ZLIB:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_UUID:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_LJPEG:BOOL=OFF \
|
|
|
|
|
-DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_JPEGLS:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_LIBXML2:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_JSON:BOOL=ON \
|
|
|
|
|
-DGDCM_USE_SYSTEM_POPPLER:BOOL=ON
|
|
|
|
|
|
|
|
|
|
#Cannot build wrap_java:
|
|
|
|
|
# -DGDCM_VTK_JAVA_JAR:PATH=/usr/share/java/vtk.jar no found!
|
|
|
|
|
# yum provides */vtk.jar -> No results found
|
|
|
|
|
# -DGDCM_VTK_JAVA_JAR:PATH=/usr/share/java/vtk.jar no found!
|
|
|
|
|
# yum provides */vtk.jar -> No results found
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
@ -430,7 +430,7 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1001298
|
|
|
|
|
- Added additional debug symbols
|
|
|
|
|
- Enabled testing (for now informational only)
|
|
|
|
|
- Enabled build of gdcmd5 because its needed by tests
|
|
|
|
|
- Re-added graphviz BR
|
|
|
|
|
- Re-added graphviz BR
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2013 Mario Ceresa <mrceresa AT fedoraproject DOT org> - 2.2.4-4
|
|
|
|
|
- Fixed doc generation
|
|
|
|
@ -441,7 +441,7 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1001298
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 16 2013 Mario Ceresa <mrceresa@fedoraproject.org> - 2.2.4-2
|
|
|
|
|
- Add support for vtk 6.0.0
|
|
|
|
|
- Add support for vtk 6.0.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 12 2013 Orion Poplawski <orion@cora.nwra.com> - 2.2.4-1
|
|
|
|
|
- Update to 2.2.4
|
|
|
|
|