3 Version: @GDCM_VERSION@
4 Release: @GDCM_VERSION@.@GDCM_DATE@
6 Group: Development/Libraries
7 URL: http://www.creatis.insa-lyon.fr/Public/Gdcm
8 #Source: ftp://ftp.creatis.insa-lyon.fr/gdcm/gdcm/gdcm.tar.gz
9 Source: ../SOURCES/gdcm.tar.gz
10 BuildRoot: /var/tmp/gdcm-%{version}-root
12 BuildRequires: doxygen, swig13, python2
13 Prereq: /sbin/install-info
14 Packager: Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
17 gdcm is a library dedicated to read and write DICOM files.
24 export MAKE='make %{?_smp_mflags}'
25 export CFLAGS="$RPM_OPT_FLAGS"
26 export CXXFLAGS="$RPM_OPT_FLAGS -Wno-deprecated"
28 -DCMAKE_CXX_COMPILER:FILEPATH=$CXX \
29 -DCMAKE_C_COMPILER:FILEPATH=$CC \
30 -DCMAKE_INSTALL_PREFIX:STRING="/usr" \
31 -DGDCM_DATA_DIR:STRING="/usr/shared/gdcm" \
32 -DBUILD_TESTING:BOOL=OFF \
33 -DBUILD_EXAMPLES:BOOL=ON \
35 -DGDCM_WRAP_PYTHON:BOOL=ON \
36 -DGDCM_DOCUMENTATION:BOOL=ON
42 rm -rf $RPM_BUILD_ROOT
43 make DESTDIR=$RPM_BUILD_ROOT install
47 rm -rf $RPM_BUILD_ROOT
49 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 %defattr(-, root, root)
55 %doc AUTHORS ChangeLog NEWS README DEVELOPPER INSTALL
59 %{_prefix}/share/gdcm/*
62 * Fri Apr 15 2005 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr> 1.0.0-1.20050415
63 - rebuild a post 1.0.0 CVS version with cmake
65 * Wed Mar 23 2005 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr> 0.4.1-4
66 - rebuild for VTK cvs20040114.
68 * Thu Nov 11 2004 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr> 0.4.1-3
69 - fix vtk/Makefile.am for FC3 automake
70 - rebuild for Fedora Core 3
72 * Thu May 27 2004 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr> 0.4.1-2
73 - rebuild for Fedora Core 2
76 * Mon May 3 2004 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
77 - fixed some python paths.
78 - update to version of 2004-04-20, for use with DaVaW.
80 * Tue Feb 24 2004 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>