]> git.pld-linux.org Git - packages/libgeotiff.git/blob - libgeotiff.spec
- updated to 1.2.4
[packages/libgeotiff.git] / libgeotiff.spec
1 Summary:        GeoTIFF library
2 Summary(pl.UTF-8):      Biblioteka GeoTIFF
3 Name:           libgeotiff
4 Version:        1.2.4
5 Release:        1
6 License:        MIT, partially Public Domain (see LICENSE)
7 Group:          Libraries
8 Source0:        ftp://ftp.remotesensing.org/geotiff/libgeotiff/%{name}-%{version}.tar.gz
9 # Source0-md5:  62cd4a515d1f3ba7b41cb4ed9061aa76
10 Patch0:         %{name}-shared-fix.patch
11 URL:            http://www.remotesensing.org/geotiff/geotiff.html
12 BuildRequires:  automake
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libtiff-devel >= 3.6.0
15 BuildRequires:  proj-devel
16 BuildRequires:  zlib-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This library is designed to permit the extraction and parsing of the
21 "GeoTIFF" Key directories, as well as definition and installation of
22 GeoTIFF keys in new files.
23
24 %description -l pl.UTF-8
25 Ta biblioteka pozwala na odczytywanie i analizowanie znaczników
26 "GeoTIFF", a także definiowanie i zapisywanie znaczników w nowych
27 plikach.
28
29 %package devel
30 Summary:        GeoTIFF header files
31 Summary(pl.UTF-8):      Pliki nagłówkowe GeoTIFF
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       libtiff-devel >= 3.6.0
35
36 %description devel
37 Header files for GeoTIFF library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki GeoTIFF.
41
42 %package static
43 Summary:        GeoTIFF static library
44 Summary(pl.UTF-8):      Statyczna biblioteka GeoTIFF
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 GeoTIFF static library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka GeoTIFF.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 # workaround not to rebuild configure on make
59 touch configure
60
61 %build
62 cp -f /usr/share/automake/config.* .
63 %configure
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc ChangeLog LICENSE README docs/*.{html,dox,txt}
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/libgeotiff.so.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libgeotiff.so.1
85 %{_datadir}/epsg_csv
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libgeotiff.so
90 %{_includedir}/*
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libgeotiff.a
This page took 0.108457 seconds and 4 git commands to generate.