91 lines
2.1 KiB
RPMSpec
91 lines
2.1 KiB
RPMSpec
|
Name: proj
|
||
|
Version: 4.8.0
|
||
|
Release: 1mamba
|
||
|
Summary: Cartographic Projections Library
|
||
|
Group: System/Tools
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://trac.osgeo.org/proj/
|
||
|
Source: http://download.osgeo.org/proj/proj-%{version}.tar.gz
|
||
|
Patch0: proj-4.8.0-add-missing-header.patch
|
||
|
License: GPL
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Cartographic Projections Library.
|
||
|
|
||
|
%package -n libproj
|
||
|
Summary: Cartographic Projections Library
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n libproj
|
||
|
Cartographic Projections Library.
|
||
|
|
||
|
%package -n libproj-devel
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n libproj-devel
|
||
|
Cartographic Projections Library.
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/cs2cs
|
||
|
%{_bindir}/geod
|
||
|
%{_bindir}/invgeod
|
||
|
%{_bindir}/invproj
|
||
|
%{_bindir}/nad2bin
|
||
|
#%{_bindir}/nad2nad
|
||
|
%{_bindir}/proj
|
||
|
%{_mandir}/man1/cs2cs.1.gz
|
||
|
%{_mandir}/man1/geod.1.gz
|
||
|
#%{_mandir}/man1/nad2nad.1.gz
|
||
|
%{_mandir}/man1/proj.1.gz
|
||
|
|
||
|
%files -n libproj
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libproj.so.*
|
||
|
%dir %{_datadir}/proj
|
||
|
%{_datadir}/proj/*
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files -n libproj-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}
|
||
|
%{_includedir}/*.h
|
||
|
%{_libdir}/libproj.a
|
||
|
%{_libdir}/libproj.la
|
||
|
%{_libdir}/libproj.so
|
||
|
%{_mandir}/man3/pj_init.3.gz
|
||
|
%{_libdir}/pkgconfig/proj.pc
|
||
|
%doc ChangeLog NEWS README
|
||
|
|
||
|
%changelog
|
||
|
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Nov 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.0-1mamba
|
||
|
- package created by autospec
|