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
This commit is contained in:
Ismail Dönmez 2011-08-15 08:48:55 +00:00 committed by Git OBS Bridge
commit 81c202e420
6 changed files with 167 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
proj-4.7.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f4529787d62cd4e1c9c9baa39cdf82c6b209fd772b888c08f279a8dd05aa308
size 536234

3
proj-datumgrid-1.5.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:723c4017d95d7a8abdf3bda4e18d3c15d79b00f9326d453da5fdf13f96c287db
size 2250131

56
proj.changes Normal file
View File

@ -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

81
proj.spec Normal file
View File

@ -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