forked from OSGeo/PROJ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proj.spec
51 lines (42 loc) · 1.08 KB
/
proj.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%define PACKAGE_NAME proj
%define PACKAGE_VERSION 4.9.3
%define PACKAGE_URL http://trac.osgeo.org/proj
%define _prefix /usr
Summary: Cartographic projection software
Name: %PACKAGE_NAME
Version: %PACKAGE_VERSION
Release: 1
Source0: proj-4.9.3.tar.gz
License: MIT, Copyright (c) 2000, Frank Warmerdam
Group: Applications/GIS
Vendor: Intevation GmbH <http://intevation.net>
Distribution: FreeGIS CD
BuildRoot: %{_builddir}/%{name}-root
Prefix: %{_prefix}
BuildRequires: libtool
Conflicts: PROJ.4
%description
This package offers commandline tools and a library for performing respective
forward and inverse transformation of cartographic data to or from cartesian
data with a wide range of selectable projection functions.
%prep
%setup -D -n proj-4.9.3
%{_builddir}/%{name}-%{version}/autogen.sh
%configure
%build
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf %{_builddir}/proj-4.9.3
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_libdir}/*
%{_bindir}/*
%{_includedir}/*
%{_datadir}/proj/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%doc AUTHORS COPYING ChangeLog NEWS README