From 96d518fa6563e3e0a4376f4d79cbdc1de8b2d8ec3ce6519235ed20d7e11ce819 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:53:23 +0000 Subject: [PATCH] Accepting request 581196 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581196 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/startup-notification?expand=0&rev=25 --- startup-notification.changes | 5 +++++ startup-notification.spec | 29 ++++++++--------------------- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/startup-notification.changes b/startup-notification.changes index 22a0afb..4394ea9 100644 --- a/startup-notification.changes +++ b/startup-notification.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:39:46 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Wed Nov 29 13:09:57 UTC 2017 - dimstar@opensuse.org diff --git a/startup-notification.spec b/startup-notification.spec index 5fb0142..8fe8fbd 100644 --- a/startup-notification.spec +++ b/startup-notification.spec @@ -1,7 +1,7 @@ # # spec file for package startup-notification # -# 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,16 +20,16 @@ Name: startup-notification Version: 0.12 Release: 0 Summary: Reference Implementation for the Startup-Notification Protocol -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/X11/Utilities -Url: http://www.freedesktop.org/wiki/Software/startup-notification +URL: http://www.freedesktop.org/wiki/Software/startup-notification Source: http://www.freedesktop.org/software/startup-notification/releases/startup-notification-%{version}.tar.gz Source99: baselibs.conf +BuildRequires: pkgconfig BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) >= 1.6 BuildRequires: pkgconfig(xcb-aux) BuildRequires: pkgconfig(xcb-event) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Startup-notification contains a reference implementation of the @@ -40,10 +40,6 @@ Summary: Reference Implementation for the Startup-Notification Protocol Group: System/X11/Utilities Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -# bug437293 -%ifarch ppc64 -Obsoletes: startup-notification-64bit -%endif # %description -n libstartup-notification-1-0 @@ -54,10 +50,6 @@ startup-notification protocol. Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME Requires: libstartup-notification-1-0 = %{version} -# bug437293 -%ifarch ppc64 -Obsoletes: startup-notification-devel-64bit -%endif # %description devel @@ -69,26 +61,21 @@ to develop applications that require these. %build %configure --disable-static -make %{?jobs:-j %jobs} +make %{?_smp_mflags} %install -%makeinstall +%make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n libstartup-notification-1-0 -p /sbin/ldconfig - %postun -n libstartup-notification-1-0 -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files -n libstartup-notification-1-0 -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS ChangeLog +%license COPYING +%doc AUTHORS NEWS ChangeLog %{_libdir}/*.so.* %files devel -%defattr(-,root,root) %{_includedir}/startup-notification-1.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc