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