# # spec file for package startup-notification (Version 0.10) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: startup-notification BuildRequires: xorg-x11-devel Url: http://www.freedesktop.org/wiki/Software/startup-notification License: GPLv2+ Group: System/X11/Utilities Version: 0.10 Release: 9 Summary: Reference Implementation for the Startup-Notification Protocol Source: startup-notification-%{version}.tar.bz2 Source99: baselibs.conf # PATCH-FEATURE-UPSTREAM startup-notification-application-id.patch vuntz@opensuse.org -- Add git commit to support APPLICATION_ID. This is useful for gnome-shell. Patch0: startup-notification-application-id.patch # PATCH-FIX-UPSTREAM startup-notification-sn-launcher-screen.patch vuntz@opensuse.org -- Taken from git, to use the screen number in sn-launcher Patch1: startup-notification-sn-launcher-screen.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: startup-notification-64bit %endif # %description Startup-notification contains a reference implementation of the startup-notification protocol. %package devel License: GPLv2+ Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/GNOME Requires: %{name} = %{version} glibc-devel xorg-x11-libX11-devel xorg-x11-libSM-devel xorg-x11-libICE-devel # bug437293 %ifarch ppc64 Obsoletes: startup-notification-devel-64bit %endif # %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %configure --disable-static make %{?jobs:-j %jobs} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS ChangeLog %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/startup-notification-1.0/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog