Whitespace: use spaces, remove trailing spaces

epel9
Ankur Sinha (Ankur Sinha Gmail) 6 years ago
parent 3692777649
commit f0a316595b
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

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

Loading…
Cancel
Save