]> Creatis software - gdcm.git/blob - gdcm.spec.in
02684ae049071954e70c7a63e7ac33c0174ce5b2
[gdcm.git] / gdcm.spec.in
1 # Note that this is NOT a relocatable package
2 %define  ver       @VERSION@
3 %define  RELEASE  1
4 %define  rel      %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
5 %define prefix    /usr
6
7 Summary: Dicom library
8 Name: gdcm
9 Version: %ver
10 Release: %rel
11 License: LGPL
12 Group: Development/Tools
13 URL: http://www.creatis.insa-lyon.fr/Public/Gdcm
14 Source0: http://www.creatis.insa-lyon.fr/Public/Gdcm/gdcm-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/gdcm-root
16 Requires: python2
17 BuildRequires: doxygen, swig13, python2
18 Packager: Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr>
19
20 %description
21 gdcm is a library dedicated to read and write DICOM files.
22
23 %prep
24 %setup -q 
25
26 %build
27 %configure --enable-doxygen --enable-python
28 make
29
30 %install
31 %makeinstall 
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(-,root,root)
38 %doc AUTHORS INSTALL NEWS README TODO
39 %{_libdir}/libgdcm*
40 %{_datadir}/gdcm
41 %{_libdir}/python*/site-packages/gdcm
42 %{_includedir}/*.h
43
44 %changelog
45 * Mon Mar 17 2003 Fabrice Bellet <Fabrice.Bellet@creatis.insa-lyon.fr> 0.1.0-1
46 - Rebuild for Red Hat Linux 7.3
47 - First packaging.
48