forked from OSGeo/PROJ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proj.spec
51 lines (42 loc) · 1.1 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 5.0.0
%define PACKAGE_URL http://proj4.org
%define _prefix /usr
Summary: Cartographic projection and geodetic transformation software
Name: %PACKAGE_NAME
Version: %PACKAGE_VERSION
Release: 1
Source0: proj-5.0.0.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
PROJ is a generic coordinate transformation software, that transforms
coordinates from one coordinate reference system (CRS) to another. This
includes cartographic projections as well as geodetic transformations.
%prep
%setup -D -n proj-5.0.0
%{_builddir}/%{name}-%{version}/autogen.sh
%configure
%build
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf %{_builddir}/proj-5.0.0
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_libdir}/*
%{_bindir}/*
%{_includedir}/*
%{_datadir}/proj/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%doc AUTHORS COPYING ChangeLog NEWS README.md