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