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
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:53:23 +00:00 committed by Git OBS Bridge
parent 0c3add7f5b
commit 96d518fa65
2 changed files with 13 additions and 21 deletions

View File

@ -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

View File

@ -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