]> git.pld-linux.org Git - packages/libgeotiff.git/blob - libgeotiff.spec
- massive attack: source-md5
[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 # Source0-md5:  23189c862ab2f073da8fd080be21dcd9
10 Patch0:         %{name}-shared-fix.patch
11 URL:            http://www.remotesensing.org/geotiff/geotiff.html
12 BuildRequires:  libjpeg-devel
13 BuildRequires:  libtiff-devel >= 3.6.0
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
57 %build
58 %configure2_13
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ChangeLog LICENSE README docs/*.{html,dox,txt}
76 %attr(755,root,root) %{_bindir}/*
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78 %{_datadir}/epsg_csv
79
80 %files devel
81 %defattr(644,root,root,755)
82 %{_includedir}/*
83 %attr(755,root,root) %{_libdir}/lib*.so
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/lib*.a
This page took 0.059497 seconds and 4 git commands to generate.