Accepting request 406434 from Application:Geo
1 OBS-URL: https://build.opensuse.org/request/show/406434 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/proj?expand=0&rev=14
This commit is contained in:
commit
52feba699b
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:60bf9ad1ed1c18158e652dfff97865ba6fb2b67f1511bc8dceae4b3c7e657796
|
oid sha256:9a40de36183d23a395cf51ba7a465e1e6c982b6e4553b31310c42012d188be6b
|
||||||
size 874816
|
size 4045125
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 4 14:01:52 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update project and download url
|
||||||
|
- Small spec file cleanups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 27 14:47:51 UTC 2015 - mpluskal@suse.com
|
Sun Sep 27 14:47:51 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
45
proj.spec
45
proj.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package proj
|
# spec file for package proj
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,17 +23,17 @@ Release: 0
|
|||||||
Summary: Cartographic projection software
|
Summary: Cartographic projection software
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Scientific/Other
|
Group: Productivity/Scientific/Other
|
||||||
Url: http://trac.osgeo.org/proj
|
Url: https://trac.osgeo.org/proj/
|
||||||
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
|
Source0: https://github.com/OSGeo/proj.4/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: ftp://ftp.remotesensing.org/proj/%{name}-datumgrid-1.5.zip
|
Source1: ftp://ftp.remotesensing.org/proj/%{name}-datumgrid-1.5.zip
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Provides: libproj = %{version}
|
Provides: libproj = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Cartographic projection software
|
Summary: Cartographic projection software
|
||||||
Group: Applications/GIS
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%package -n libproj-devel
|
%package -n libproj-devel
|
||||||
Summary: Development files for PROJ
|
Summary: Development files for PROJ
|
||||||
@ -54,7 +54,7 @@ data with a wide range of selectable projection functions.
|
|||||||
This package contains libproj and the appropriate header files and man pages.
|
This package contains libproj and the appropriate header files and man pages.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n proj.4-%{version}
|
||||||
cd nad
|
cd nad
|
||||||
unzip -o %{SOURCE1}
|
unzip -o %{SOURCE1}
|
||||||
|
|
||||||
@ -64,34 +64,39 @@ unzip -o %{SOURCE1}
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
cd src
|
install -D -p -m 0644 src/projects.h %{buildroot}/%{_includedir}/projects.h
|
||||||
cp projects.h %{buildroot}/%{_includedir}/projects.h
|
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
|
||||||
%defattr(0644,root,root)
|
|
||||||
%{_libdir}/*.so.*
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc NEWS AUTHORS COPYING README ChangeLog
|
%doc NEWS AUTHORS COPYING README ChangeLog
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/cs2cs
|
||||||
%dir %{_datadir}/proj
|
%{_bindir}/geod
|
||||||
|
%{_bindir}/invgeod
|
||||||
|
%{_bindir}/invproj
|
||||||
|
%{_bindir}/nad2bin
|
||||||
|
%{_bindir}/proj
|
||||||
%defattr(0644,root,root)
|
%defattr(0644,root,root)
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/cs2cs.1%{ext_man}
|
||||||
%{_datadir}/proj/*
|
%{_mandir}/man1/geod.1%{ext_man}
|
||||||
|
%{_mandir}/man1/proj.1%{ext_man}
|
||||||
|
%{_datadir}/proj/
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(0644,root,root)
|
||||||
|
%{_libdir}/libproj.so.9*
|
||||||
|
|
||||||
%files -n libproj-devel
|
%files -n libproj-devel
|
||||||
%defattr(0644,root,root)
|
%defattr(0644,root,root)
|
||||||
%{_mandir}/man3/*.3*
|
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libproj.so
|
||||||
%{_libdir}/pkgconfig/proj.pc
|
%{_libdir}/pkgconfig/proj.pc
|
||||||
|
%{_mandir}/man3/geodesic.3%{ext_man}
|
||||||
|
%{_mandir}/man3/pj_init.3%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user