SHA256
1
0
forked from pool/proj

Accepting request 688144 from Application:Geo

- Enable tests
- Fix previous changelog entry

- Update to version 6.0.0 and datumgrid 1.7

OBS-URL: https://build.opensuse.org/request/show/688144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/proj?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2019-03-26 14:44:13 +00:00 committed by Git OBS Bridge
commit f5b24f7896
2 changed files with 20 additions and 2 deletions

View File

@ -1,7 +1,13 @@
-------------------------------------------------------------------
Mon Mar 25 08:54:25 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Enable tests
- Fix previous changelog entry
-------------------------------------------------------------------
Mon Mar 11 13:34:36 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Update to version 5.2.0 and datumgrid 1.7
- Update to version 6.0.0 and datumgrid 1.7
* See provided NEWS for list of all changes
-------------------------------------------------------------------

View File

@ -29,11 +29,14 @@ URL: https://trac.osgeo.org/proj/
Source0: http://download.osgeo.org/proj/%{name}-%{version}.tar.gz
Source1: http://download.osgeo.org/proj/%{name}-datumgrid-%{gridver}.zip
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: sqlite3
BuildRequires: unzip
BuildRequires: pkgconfig(sqlite3) >= 3.7
Provides: libproj = %{version}
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(gtest)
%endif
%description
This package offers the commandline tools for performing respective
@ -67,6 +70,9 @@ unzip -o %{SOURCE1}
%build
%configure \
%if 0%{?suse_version} > 1500
--with-external-gtest \
%endif
--disable-static
make %{?_smp_mflags}
@ -74,6 +80,12 @@ make %{?_smp_mflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
# Tests dont work on i586 and noone cares
%ifnarch %{ix86}
make %{?_smp_mflags} check
%endif
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig