]> git.pld-linux.org Git - packages/libgeotiff.git/blob - libgeotiff.spec
f3862169314b038b3c9b0139a795b17e83c961b8
[packages/libgeotiff.git] / libgeotiff.spec
1 Summary:        GeoTIFF library
2 Summary(pl.UTF-8):      Biblioteka GeoTIFF
3 Name:           libgeotiff
4 Version:        1.4.3
5 Release:        1
6 License:        MIT, partially Public Domain (see LICENSE)
7 Group:          Libraries
8 Source0:        http://download.osgeo.org/geotiff/libgeotiff/%{name}-%{version}.tar.gz
9 # Source0-md5:  234bd119b1f2334d44a0ceb0a8e66496
10 Patch0:         %{name}-opt.patch
11 URL:            http://geotiff.osgeo.org/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake
14 BuildRequires:  libjpeg-devel
15 BuildRequires:  libtiff-devel >= 3.6.0
16 BuildRequires:  libtool
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
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
29 plikach.
30
31 %package devel
32 Summary:        GeoTIFF header files
33 Summary(pl.UTF-8):      Pliki nagłówkowe GeoTIFF
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       libtiff-devel >= 3.6.0
37
38 %description devel
39 Header files for GeoTIFF library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki GeoTIFF.
43
44 %package static
45 Summary:        GeoTIFF static library
46 Summary(pl.UTF-8):      Statyczna biblioteka GeoTIFF
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 GeoTIFF static library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka GeoTIFF.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --with-jpeg \
67         --with-zip
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc ChangeLog LICENSE README
86 %attr(755,root,root) %{_bindir}/applygeo
87 %attr(755,root,root) %{_bindir}/geotifcp
88 %attr(755,root,root) %{_bindir}/listgeo
89 %attr(755,root,root) %{_libdir}/libgeotiff.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libgeotiff.so.2
91 %{_datadir}/epsg_csv
92 %{_mandir}/man1/applygeo.1*
93 %{_mandir}/man1/geotifcp.1*
94 %{_mandir}/man1/listgeo.1*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libgeotiff.so
99 %{_libdir}/libgeotiff.la
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
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libgeotiff.a
This page took 0.214876 seconds and 2 git commands to generate.