commit 81c202e420c9774ca172fc260b2de2233fa954d802e5473969ec8d2a85791eec Author: Ismail Dönmez Date: Mon Aug 15 08:48:55 2011 +0000 Accepting request 78855 from home:namtrac:bugfix New proj package to replace libproj4 package OBS-URL: https://build.opensuse.org/request/show/78855 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/proj?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/proj-4.7.0.tar.bz2 b/proj-4.7.0.tar.bz2 new file mode 100644 index 0000000..1a74bb1 --- /dev/null +++ b/proj-4.7.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f4529787d62cd4e1c9c9baa39cdf82c6b209fd772b888c08f279a8dd05aa308 +size 536234 diff --git a/proj-datumgrid-1.5.zip b/proj-datumgrid-1.5.zip new file mode 100644 index 0000000..59ffd05 --- /dev/null +++ b/proj-datumgrid-1.5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db +size 2250131 diff --git a/proj.changes b/proj.changes new file mode 100644 index 0000000..5d00930 --- /dev/null +++ b/proj.changes @@ -0,0 +1,56 @@ +------------------------------------------------------------------- +Sat Mar 19 00:00:00 UTC 2011 - dassau@gbd-consult.de + +- removed debug_package + +------------------------------------------------------------------- +Tue Nov 24 00:00:00 UTC 2009 - Otto Dassau 4.7.0 + +- update to new proj4 version +- update to new datumgrid version 1.5 + +------------------------------------------------------------------- +Sun Oct 19 00:00:00 UTC 2008 - dl9pf@gmx.de + +- change spec to build on factory + +------------------------------------------------------------------- +Wed Sep 17 00:00:00 UTC 2008 - Otto Dassau 4.6.1 + +- version update + +------------------------------------------------------------------- +Wed Jul 9 00:00:00 UTC 2008 - Otto Dassau 4.6.0 + +- update and rpmlind fixes + +------------------------------------------------------------------- +Mon Aug 13 00:00:00 UTC 2007 - Dirk Stöcker 4.5.0 + +- adapted to BuildService + +------------------------------------------------------------------- +Fri Jan 5 00:00:00 UTC 2007 - Otto Dassau 4.5.0 + +- moved *.so from files devel to files + +------------------------------------------------------------------- +Tue Dec 19 00:00:00 UTC 2006 - Otto Dassau 4.5.0 + +- rebuilt for SuSE 10.2 + +------------------------------------------------------------------- +Wed Jan 25 00:00:00 UTC 2006 - Otto Dassau 4.4.9 + +- rebuilt for SuSE 10.0 and added devel package + +------------------------------------------------------------------- +Thu Nov 17 00:00:00 UTC 2005 - Markus Neteler 4.4.9 + +- upgraded to Mandriva 2006 + +------------------------------------------------------------------- +Fri Aug 5 00:00:00 UTC 2005 - Otto Dassau 4.4.9 + +- Applied for Mandrake 10.1 RPM + diff --git a/proj.spec b/proj.spec new file mode 100644 index 0000000..c285fdb --- /dev/null +++ b/proj.spec @@ -0,0 +1,81 @@ +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: proj +Version: 4.7.0 +Release: 1 +License: MIT +Summary: Cartographic projection software +Url: ftp://ftp.remotesensing.org/proj/ +Group: Applications/GIS +Source0: proj-%{version}.tar.bz2 +Source1: proj-datumgrid-1.5.zip +BuildRequires: bzip2 +BuildRequires: unzip +Provides: libproj = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: %{_prefix} + +%package -n libproj0 +Summary: Cartographic projection software +Group: Applications/GIS + +%package -n libproj-devel +Summary: Development files for PROJ +Group: Development/Libraries/C and C++ +Requires: libproj0 = %{version} + +%description -n libproj0 +This package the library for performing respective +forward and inverse transformation of cartographic data to or from cartesian +data with a wide range of selectable projection functions. + +%description +This package offers the commandline tools for performing respective +forward and inverse transformation of cartographic data to or from cartesian +data with a wide range of selectable projection functions. + +%description -n libproj-devel +This package contains libproj and the appropriate header files and man pages. + +%prep +%setup -q -b 0 -n proj-%{version} +cd nad +unzip -o %{SOURCE1} + +%build +%configure --disable-static +make + +%install +%makeinstall +rm -f %{buildroot}%{_libdir}/*.la + +%post -n libproj0 -p /sbin/ldconfig + +%postun -n libproj0 -p /sbin/ldconfig + +%clean + +%files -n libproj0 +%defattr(0644,root,root) +%{_libdir}/*.so.* + +%files +%defattr(-,root,root) +%doc NEWS AUTHORS COPYING README ChangeLog +%defattr(0755,root,root) +%{_bindir}/* +%dir %{_datadir}/proj +%defattr(0644,root,root) +%{_mandir}/man1/*.1* +%{_datadir}/proj/* + +%files -n libproj-devel +%defattr(0644,root,root) +%{_mandir}/man3/*.3* +%{_includedir}/*.h +%{_libdir}/*.so + +%changelog