Build with poppler, json and libxml2 support

- Add applications subpackage as requirement to devel subpackage
This commit is contained in:
Sebastian Pölsterl 2015-11-15 15:53:16 +01:00
parent 9aad131930
commit cc791176d3
1 changed files with 12 additions and 5 deletions

View File

@ -6,7 +6,7 @@
Name: gdcm
Version: 2.6.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files
Group: System Environment/Libraries
License: BSD
@ -35,10 +35,12 @@ BuildRequires: mesa-libOSMesa-devel
BuildRequires: openssl-devel
BuildRequires: openjpeg-devel
#BuildRequires: /usr/bin/pdflatex
#BuildRequires: poppler-devel
BuildRequires: poppler-devel
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: swig
BuildRequires: json-c-devel
BuildRequires: libxml2-devel
#BuildRequires: texlive-ec
#BuildRequires: vtk-devel
@ -76,6 +78,7 @@ anonymize, manipulate, concatenate, and view DICOM files.
Summary: Libraries and headers for GDCM
Group: Development/Libraries
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
@ -206,9 +209,9 @@ pushd %{_target_platform}
-DGDCM_USE_SYSTEM_LJPEG:BOOL=OFF \
-DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
-DGDCM_USE_JPEGLS:BOOL=ON \
-DGDCM_USE_SYSTEM_LIBXML2:BOOL=OFF \
-DGDCM_USE_SYSTEM_JSON:BOOL=OFF \
-DGDCM_USE_SYSTEM_POPPLER:BOOL=OFF
-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!
@ -273,6 +276,10 @@ make test -C %{_target_platform} || exit 0
%{python3_sitearch}/*
%changelog
* Sun Nov 15 2015 Sebastian Pölsterl <sebp@k-d-w.org> - 2.6.1-4
- Build with poppler, json and libxml2 support
- Add applications subpackage as requirement to devel subpackage
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5