2007-01-16 00:38:03 +01:00
#
2009-04-23 22:10:08 +02:00
# spec file for package startup-notification (Version 0.10)
2007-01-16 00:38:03 +01:00
#
2010-09-13 11:43:18 +02:00
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-16 00:38:03 +01:00
#
2009-01-09 02:02:54 +01:00
# 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.
2007-08-03 01:05:32 +02:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
2007-01-16 00:38:03 +01:00
#
# norootforbuild
2008-04-10 15:33:19 +02:00
2007-08-03 01:05:32 +02:00
Name : startup-notification
2009-04-23 22:10:08 +02:00
BuildRequires : xorg-x11-devel
2007-10-29 16:54:12 +01:00
Url : http://www.freedesktop.org/wiki/Software/startup-notification
2009-12-30 00:30:20 +01:00
License : GPLv2+
2007-08-03 01:05:32 +02:00
Group : System/X11/Utilities
2009-04-23 22:10:08 +02:00
Version : 0.10
2010-10-13 09:55:46 +02:00
Release : 9
2007-08-03 01:05:32 +02:00
Summary : Reference Implementation for the Startup-Notification Protocol
Source : startup-notification-%{version} .tar.bz2
2009-12-30 00:30:20 +01:00
Source99 : baselibs.conf
2010-09-13 11:43:18 +02:00
# 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
2007-08-03 01:05:32 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2009-01-09 02:02:54 +01:00
# bug437293
%ifarch ppc64
Obsoletes : startup-notification-64bit
%endif
#
2007-01-16 00:38:03 +01:00
2010-10-15 13:51:03 +02:00
%description
2007-01-16 00:38:03 +01:00
Startup-notification contains a reference implementation of the
startup-notification protocol.
%package devel
2009-12-30 00:30:20 +01:00
License : GPLv2+
2010-10-15 13:51:03 +02:00
Summary : Include Files and Libraries mandatory for Development.
2007-08-03 01:05:32 +02:00
Group : Development/Libraries/GNOME
2010-10-15 13:51:03 +02:00
Requires : %{name} = %{version} glibc-devel xorg-x11-libX11-devel xorg-x11-libSM-devel xorg-x11-libICE-devel
2009-01-09 02:02:54 +01:00
# bug437293
%ifarch ppc64
Obsoletes : startup-notification-devel-64bit
%endif
#
2007-01-16 00:38:03 +01:00
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
2007-10-29 16:54:12 +01:00
%prep
%setup -q
2010-09-13 11:43:18 +02:00
%patch0 -p1
%patch1 -p1
2007-10-29 16:54:12 +01:00
%build
2009-04-23 22:10:08 +02:00
%configure --disable-static
2007-10-29 16:54:12 +01:00
make %{?jobs:-j %jobs}
%install
%makeinstall
2010-09-13 11:43:18 +02:00
find %{buildroot} -type f -name " * . l a " -delete -print
2007-10-29 16:54:12 +01:00
2010-10-15 13:51:03 +02:00
%post -p /sbin/ldconfig
2007-10-29 16:54:12 +01:00
2010-10-15 13:51:03 +02:00
%postun -p /sbin/ldconfig
2007-10-29 16:54:12 +01:00
2010-09-13 11:43:18 +02:00
%clean
rm -rf $RPM_BUILD_ROOT
2010-10-15 13:51:03 +02:00
%files
2007-10-29 16:54:12 +01:00
%defattr (-,root,root)
2010-09-13 11:43:18 +02:00
%doc AUTHORS COPYING NEWS ChangeLog
2007-10-29 16:54:12 +01:00
%{_libdir} /*.so.*
2007-01-16 00:38:03 +01:00
%files devel
%defattr (-,root,root)
2010-09-13 11:43:18 +02:00
%{_includedir} /startup-notification-1.0/
2007-10-29 16:54:12 +01:00
%{_libdir} /*.so
%{_libdir} /pkgconfig/*.pc
2007-01-16 00:38:03 +01:00
2007-08-03 01:05:32 +02:00
%changelog