]> git.pld-linux.org Git - packages/gdal.git/blob - gdal.spec
- new (but NFY - saving work)
[packages/gdal.git] / gdal.spec
1 #
2 # TODO:
3 # separate -devel, python- etc.
4 # more formats (CFITSIO, OGDI, GRASS)
5 # link dynamically where possible
6 %include        /usr/lib/rpm/macros.python
7 Summary:        Geospatial Data Abstraction Library
8 Summary(pl):    Biblioteka abstrakcji danych dotycz±cych powierzchni Ziemi
9 Name:           gdal
10 Version:        1.1.7
11 Release:        0.1
12 License:        BSD-like
13 Group:          Libraries
14 Source0:        ftp://ftp.remotesensing.org/pub/gdal/%{name}-%{version}.tar.gz
15 Patch0:         %{name}-jpeg.patch
16 Patch1:         %{name}-acfix.patch
17 Patch2:         %{name}-pgsql.patch
18 Patch3:         %{name}-DESTDIR.patch
19 URL:            http://www.remotesensing.org/gdal/
20 BuildRequires:  autoconf
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpng-devel
23 #BuildRequires: libtiff-devel >= 3.6.0
24 BuildRequires:  libungif-devel
25 BuildRequires:  postgresql-devel
26 BuildRequires:  postgresql-backend-devel
27 BuildRequires:  python-devel
28 BuildRequires:  rpm-pythonprov
29 BuildRequires:  zlib-devel >= 1.1.4
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 GDAL is a translator library for raster geospatial data formats that
34 is released under an Open Source license. As a library, it presents a
35 single abstract data model to the calling application for all
36 supported formats. The related OGR library (which lives within the
37 GDAL source tree) provides a similar capability for simple features
38 vector data.
39             
40 %description -l pl
41 GDAL to biblioteka konwertuj±ca miêdzy formatami rastrowych danych
42 dotycz±cych powierzchni Ziemi, udostêpniona na licencji Open Source.
43 Jako biblioteka udostêpnia aplikacjom jeden abstrakcyjny model danych
44 do wszystkich obs³ugiwanych formatów. Powi±zana z nia biblioteka OGR
45 (której ¼ród³a s± do³±czone do drzewa ¼róde³ GDAL) daje podobne
46 mo¿liwo¶ci dla danych wektorowych.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53 %patch3 -p1
54
55 %build
56 %{__autoconf}
57 %configure
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT
64
65 %{__make} install DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc NEWS html/*.{html,gif,css}
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/lib*.so
75 %{_libdir}/*.a
76 %{_includedir}/*.h
77 %attr(755,root,root) %{py_sitedir}/_gdalmodule.so
78 %{py_sitedir}/*.py
79 %{_datadir}/gdal
This page took 0.036192 seconds and 3 git commands to generate.