Accepting request 581054 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581054
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/geocode-glib?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:47:23 +00:00 committed by Git OBS Bridge
parent 08cc982a11
commit 15095564ce
2 changed files with 12 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:26:24 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Fri Sep 8 13:25:36 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package geocode-glib
#
# 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
@ -20,9 +20,9 @@ Name: geocode-glib
Version: 3.25.4.1
Release: 0
Summary: Convenience library for the Yahoo! Place Finder APIs
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: Development/Libraries/GNOME
Url: http://www.gnome.org/
URL: http://www.gnome.org/
Source: https://download.gnome.org/sources/geocode-glib/3.25/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: gobject-introspection-devel
@ -31,10 +31,10 @@ BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.34
BuildRequires: pkgconfig(json-glib-1.0) >= 0.99.2
BuildRequires: pkgconfig(libsoup-2.4) >= 2.42
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The geocode-glib library is a convenience library for the Yahoo! Place
@ -104,27 +104,23 @@ geocode-glib library.
%install
%meson_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgeocode-glib0 -p /sbin/ldconfig
%postun -n libgeocode-glib0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_datadir}/icons/gnome/
%files -n libgeocode-glib0
%defattr(-,root,root)
%doc AUTHORS COPYING.LIB NEWS README
%license COPYING.LIB
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
%files -n typelib-1_0-GeocodeGlib-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GeocodeGlib-1.0.typelib
%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/geocode-glib/
%{_datadir}/gir-1.0/*.gir
%{_includedir}/geocode-glib-1.0/