1 Summary: GeoTIFF library
2 Summary(pl): Biblioteka GeoTIFF
6 License: MIT, partially Public Domain (see LICENSE)
8 Source0: ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/%{name}-%{version}.tar.gz
9 # Source0-md5: b0fa8c07232610a8ebf4213396581d00
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)
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.
25 Ta biblioteka pozwala na odczytywanie i analizowanie znaczników
26 "GeoTIFF", a tak¿e definiowanie i zapisywanie znaczników w nowych
30 Summary: GeoTIFF header files
31 Summary(pl): Pliki nag³ówkowe GeoTIFF
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libtiff-devel >= 3.6.0
37 Header files for GeoTIFF library.
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki GeoTIFF.
43 Summary: GeoTIFF static library
44 Summary(pl): Statyczna biblioteka GeoTIFF
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 GeoTIFF static library.
51 %description static -l pl
52 Statyczna biblioteka GeoTIFF.
58 # workaround not to rebuild configure on make
62 cp -f /usr/share/automake/config.* .
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
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}/lib*.so.*.*
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
92 %defattr(644,root,root,755)