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