Accepting request 289933 from Application:Geo
1 OBS-URL: https://build.opensuse.org/request/show/289933 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/proj?expand=0&rev=11
This commit is contained in:
commit
312f0dfc3f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:da9e5054454ff24bea11074ff4eadd3bb078d9b2d42f57e7a362e8067ac394f5
|
|
||||||
size 597580
|
|
3
proj-4.8.0.tar.gz
Normal file
3
proj-4.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5
|
||||||
|
size 785279
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 8 09:59:50 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Cleanup dependecies
|
||||||
|
- Use url for source
|
||||||
|
- Update url
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 20 12:09:29 UTC 2012 - tzotsos@opensuse.org
|
Fri Apr 20 12:09:29 UTC 2012 - tzotsos@opensuse.org
|
||||||
|
|
||||||
|
44
proj.spec
44
proj.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package proj
|
# spec file for package proj
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 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
|
||||||
@ -16,38 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname lib%{name}0
|
||||||
Name: proj
|
Name: proj
|
||||||
Version: 4.8.0
|
Version: 4.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cartographic projection software
|
Summary: Cartographic projection software
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Scientific/Other
|
Group: Productivity/Scientific/Other
|
||||||
Url: ftp://ftp.remotesensing.org/proj/
|
Url: http://trac.osgeo.org/proj
|
||||||
Source0: proj-%{version}.tar.bz2
|
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
|
||||||
Source1: proj-datumgrid-1.5.zip
|
Source1: ftp://ftp.remotesensing.org/proj/%{name}-datumgrid-1.5.zip
|
||||||
BuildRequires: bzip2
|
|
||||||
BuildRequires: unzip
|
|
||||||
%if 0%{?centos_version} || 0%{?rhel_version}
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
%else
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%endif
|
BuildRequires: unzip
|
||||||
Provides: libproj = %{version}
|
Provides: libproj = %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Prefix: %{_prefix}
|
|
||||||
|
|
||||||
%package -n libproj0
|
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
Summary: Cartographic projection software
|
Summary: Cartographic projection software
|
||||||
Group: Applications/GIS
|
Group: Applications/GIS
|
||||||
|
|
||||||
%package -n libproj-devel
|
%package -n libproj-devel
|
||||||
|
|
||||||
Summary: Development files for PROJ
|
Summary: Development files for PROJ
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libproj0 = %{version}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description -n libproj0
|
%description -n %{libname}
|
||||||
This package the library for performing respective
|
This package the library for performing respective
|
||||||
forward and inverse transformation of cartographic data to or from cartesian
|
forward and inverse transformation of cartographic data to or from cartesian
|
||||||
data with a wide range of selectable projection functions.
|
data with a wide range of selectable projection functions.
|
||||||
@ -61,27 +54,26 @@ 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 -b 0 -n proj-%{version}
|
%setup -q
|
||||||
cd nad
|
cd nad
|
||||||
unzip -o %{SOURCE1}
|
unzip -o %{SOURCE1}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure \
|
||||||
make
|
--disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
rm %{buildroot}/%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
cd src
|
cd src
|
||||||
cp projects.h %{buildroot}/%{_includedir}/projects.h
|
cp projects.h %{buildroot}/%{_includedir}/projects.h
|
||||||
|
|
||||||
%post -n libproj0 -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libproj0 -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%files -n %{libname}
|
||||||
|
|
||||||
%files -n libproj0
|
|
||||||
%defattr(0644,root,root)
|
%defattr(0644,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user