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