Added doc package. Various fixes to specfile
This commit is contained in:
parent
afb490af5f
commit
b745544440
37
gdcm.spec
37
gdcm.spec
@ -11,7 +11,7 @@ Summary: Grassroots DiCoM is a C++ library to parse DICOM medical files
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Main_Page
|
URL: http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Main_Page
|
||||||
Source0: http://sourceforge.net/projects/gdcm/files/gdcm%202.x/GDCM%20%{version}/gdcm-%{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.bz2
|
#Source1: http://downloads.sourceforge.net/project/gdcm/gdcmData/gdcmData/gdcmData.tar.bz2
|
||||||
# There is a bug in doxygen preventing compilation on:
|
# There is a bug in doxygen preventing compilation on:
|
||||||
ExcludeArch: ppc ppc64
|
ExcludeArch: ppc ppc64
|
||||||
@ -55,6 +55,17 @@ RLE, J2K, deflated, JPEG-LS (very experimental) (MPEG2 compression is not
|
|||||||
supported)
|
supported)
|
||||||
- Papyrus V2 and V3 file headers should be readable,
|
- Papyrus V2 and V3 file headers should be readable,
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Includes html documentation for gdcm
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
|
||||||
|
You should install the gdcm-doc package if you would like to
|
||||||
|
access upstream documentation for gdcm
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries and headers for GDCM
|
Summary: Libraries and headers for GDCM
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -147,6 +158,15 @@ rmdir $RPM_BUILD_ROOT%{_libdir}/gdcm
|
|||||||
find %{_builddir}/%{?buildsubdir}/Examples -depth -name CMakeFiles | xargs rm -rf
|
find %{_builddir}/%{?buildsubdir}/Examples -depth -name CMakeFiles | xargs rm -rf
|
||||||
find %{_builddir}/%{?buildsubdir}/Examples -depth -size 0 | xargs rm -rf
|
find %{_builddir}/%{?buildsubdir}/Examples -depth -size 0 | xargs rm -rf
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/bin
|
||||||
|
ctest .
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc %{_mandir}/man1/*.1*
|
%doc %{_mandir}/man1/*.1*
|
||||||
%doc AUTHORS Copyright.txt README.Copyright.txt README.txt
|
%doc AUTHORS Copyright.txt README.Copyright.txt README.txt
|
||||||
@ -155,13 +175,9 @@ find %{_builddir}/%{?buildsubdir}/Examples -depth -size 0 | xargs rm -rf
|
|||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_datadir}/gdcm/XML
|
%{_datadir}/gdcm/XML
|
||||||
|
|
||||||
%check
|
%files doc
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/bin
|
%dir %{_docdir}/%{name}/
|
||||||
ctest .
|
%{_docdir}/%{name}/*
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_includedir}/gdcm/
|
%dir %{_includedir}/gdcm/
|
||||||
@ -175,7 +191,10 @@ ctest .
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Apr 14 2013 Mario Ceresa <mrceresa@fedoraproject.org> - 2.2.3-1
|
* Sun Apr 14 2013 Mario Ceresa <mrceresa@fedoraproject.org> - 2.2.3-1
|
||||||
- Upgrade to new version
|
- Upgrade to 2.2.3
|
||||||
|
- Drop upstreamed patches
|
||||||
|
- Added doc package
|
||||||
|
- Various fixes to spec file
|
||||||
|
|
||||||
* Mon Feb 4 2013 Mario Ceresa <mrceresa@fedoraproject.org> - 2.0.18-8
|
* Mon Feb 4 2013 Mario Ceresa <mrceresa@fedoraproject.org> - 2.0.18-8
|
||||||
- Added missing BR for pdflatex
|
- Added missing BR for pdflatex
|
||||||
|
Loading…
Reference in New Issue
Block a user