- Modernise spec file a bit
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geos?expand=0&rev=26
This commit is contained in:
parent
cc5bbb2f67
commit
9db988df87
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 8 12:08:09 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Modernise spec file a bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 14:29:28 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
19
geos.spec
19
geos.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package geos
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,12 +21,13 @@ Name: geos
|
||||
Version: 3.6.2
|
||||
Release: 0
|
||||
Summary: Geometry Engine - Open Source
|
||||
License: LGPL-2.1
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://trac.osgeo.org/geos/
|
||||
URL: http://trac.osgeo.org/geos/
|
||||
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-config.1
|
||||
Patch0: libruby.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: ruby-devel
|
||||
@ -131,6 +132,7 @@ install -Dpm 0644 %{SOURCE1} \
|
||||
%{buildroot}%{_mandir}/man1/geos-config.1
|
||||
# do not ship static libraries or la files
|
||||
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
|
||||
%fdupes %{buildroot}%{python_sitelib}
|
||||
|
||||
%post -n libgeos-%{uver} -p /sbin/ldconfig
|
||||
%postun -n libgeos-%{uver} -p /sbin/ldconfig
|
||||
@ -138,24 +140,25 @@ find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
|
||||
%postun -n libgeos_c1 -p /sbin/ldconfig
|
||||
|
||||
%files -n libgeos-%{uver}
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
%{_libdir}/libgeos-%{version}.so
|
||||
|
||||
%files -n libgeos_c1
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
%{_libdir}/libgeos_c.so.*
|
||||
|
||||
%files -n python2-%{name}
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
%{python_sitelib}/*
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files -n ruby-%{name}
|
||||
%doc COPYING
|
||||
%license COPYING
|
||||
%{rb_vendorarchdir}/%{name}.so
|
||||
|
||||
%files devel
|
||||
%doc AUTHORS COPYING NEWS README TODO
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README TODO
|
||||
%{_mandir}/man1/%{name}-config.1%{ext_man}
|
||||
%{_bindir}/%{name}-config
|
||||
%{_includedir}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user