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