Accepting request 581041 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581041
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdl?expand=0&rev=108
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:47:08 +00:00 committed by Git OBS Bridge
parent 162cc51b24
commit 3d1e24658a
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:25:56 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Sun Sep 10 21:24:31 UTC 2017 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package gdl
#
# 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: gdl
Version: 3.26.0
Release: 0
Summary: Gnome Devtool Libraries
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.18/
URL: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.18/
Source: http://download.gnome.org/sources/gdl/3.26/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
@ -30,7 +30,6 @@ BuildRequires: gtk3-devel
BuildRequires: intltool >= 0.40.4
BuildRequires: libxml2-devel
BuildRequires: translation-update-upstream
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gnome Devtool Libraries contains components and libraries that are
@ -72,6 +71,7 @@ intended to be shared between GNOME development tools, including
gnome-debug, gnome-build, and anjuta2.
%lang_package
%prep
%setup -q
translation-update-upstream
@ -82,25 +82,22 @@ make %{?_smp_mflags} V=1
%install
%make_install
rm %{buildroot}%{_libdir}/*.la
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}-3
%fdupes -s %{buildroot}
%post -n libgdl-3-5 -p /sbin/ldconfig
%postun -n libgdl-3-5 -p /sbin/ldconfig
%files -n libgdl-3-5
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/*.so.*
%files -n typelib-1_0-Gdl-3
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Gdl-3.typelib
%files devel
%defattr(-, root, root)
%{_includedir}/libgdl*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so