]> git.pld-linux.org Git - packages/libgeotiff.git/blob - libgeotiff.spec
- new
[packages/libgeotiff.git] / libgeotiff.spec
1 Summary:        GeoTIFF library
2 Summary(pl):    Biblioteka GeoTIFF
3 Name:           libgeotiff
4 Version:        1.1.4
5 Release:        1
6 License:        MIT, partially public domain (see LICENSE)
7 Group:          Libraries
8 Source0:        ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 Patch1:         %{name}-shared-fix.patch
11 URL:            http://www.remotesensing.org/geotiff/geotiff.html
12 BuildRequires:  libjpeg-devel
13 BuildRequires:  libtiff-devel
14 BuildRequires:  proj-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This library is designed to permit the extraction and parsing of the
20 "GeoTIFF" Key directories, as well as definition and installation of
21 GeoTIFF keys in new files.
22
23 %description -l pl
24 Ta biblioteka pozwala na odczytywanie i analizowanie znaczników
25 "GeoTIFF", a tak¿e definiowanie i zapisywanie znaczników w nowych
26 plikach.
27
28 %package devel
29 Summary:        GeoTIFF header files
30 Summary(pl):    Pliki nag³ówkowe GeoTIFF
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33 Requires:       libtiff-devel
34
35 %description devel
36 Header files for GeoTIFF library.
37
38 %description devel -l pl
39 Pliki nag³ówkowe biblioteki GeoTIFF.
40
41 %package static
42 Summary:        GeoTIFF static library
43 Summary(pl):    Statyczna biblioteka GeoTIFF
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 GeoTIFF static library.
49
50 %description static -l pl
51 Statyczna biblioteka GeoTIFF.
52
53 %prep
54 %setup -q 
55 %patch0 -p1
56 %patch1 -p1
57
58 %build
59 %configure2_13
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc ChangeLog LICENSE README docs/*
77 %attr(755,root,root) %{_bindir}/*
78 %attr(755,root,root) %{_libdir}/lib*.so.*.*
79 %{_datadir}/epsg_csv
80
81 %files devel
82 %defattr(644,root,root,755)
83 %{_includedir}/*
84 %attr(755,root,root) %{_libdir}/lib*.so
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.114713 seconds and 3 git commands to generate.