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