proj/proj.spec

142 lines
3.9 KiB
RPMSpec
Raw Normal View History

Name: proj
Version: 6.3.2
Release: 2mamba
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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
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.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/cct
%{_bindir}/cs2cs
%{_bindir}/geod
%{_bindir}/gie
#%{_bindir}/invgeod
#%{_bindir}/invproj
%{_bindir}/proj
%{_bindir}/projinfo
%{_mandir}/man1/cct.1*
%{_mandir}/man1/cs2cs.1*
%{_mandir}/man1/geod.1*
%{_mandir}/man1/gie.1*
%{_mandir}/man1/proj.1*
%{_mandir}/man1/projinfo.1*
%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
%dir %{_includedir}/proj
%{_includedir}/proj/*.hpp
%{_libdir}/libproj.so
%{_mandir}/man3/pj_init.3*
%{_mandir}/man3/geodesic.3*
%dir %{_libdir}/cmake/proj4
%{_libdir}/cmake/proj4/proj4-*.cmake
%doc ChangeLog NEWS README
%changelog
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3.2-2mamba
- rebuilt using cmake
* Mon Jul 06 2020 Automatic Build System <autodist@mambasoft.it> 6.3.2-1mamba
- automatic version update by autodist
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
- automatic version update by autodist
* Sat Feb 01 2020 Automatic Build System <autodist@mambasoft.it> 6.3.0-1mamba
- automatic version update by autodist
* Sat Nov 23 2019 Automatic Build System <autodist@mambasoft.it> 6.2.1-1mamba
- automatic version update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
- automatic version update by autodist
* Sat Jul 06 2019 Automatic Build System <autodist@mambasoft.it> 6.1.0-1mamba
- automatic version update by autodist
* Mon Oct 01 2018 Automatic Build System <autodist@mambasoft.it> 5.2.0-1mamba
- automatic version update by autodist
* Sat Jun 23 2018 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
- automatic version update by autodist
* Thu Sep 22 2016 Automatic Build System <autodist@mambasoft.it> 4.9.3-2mamba
- automatic version update by autodist
* Thu Sep 22 2016 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
- automatic version update by autodist
* Sat Jan 09 2016 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
- automatic version update by autodist
* Tue Mar 17 2015 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
- automatic version update by autodist
* 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