10363N/A#
10363N/A# spec file for package notificatioin-daemon
10363N/A#
20904N/A# Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
10363N/A# This file and all modifications and additions to the pristine
10363N/A# package are under the same license as the package itself.
10363N/A#
10363N/A#Owner: jedy
10363N/A#
10363N/A
17178N/A%define OSR 5892:0.4
17178N/A
10363N/AName: notification-daemon
20904N/AVersion: 0.7.4
10363N/ARelease: 1
10363N/ASummary: A notification daemon for the GNOME desktop environment.
10363N/A
10363N/AGroup: System/Libraries
19092N/ALicense: GPLv2, LGPLv2
10363N/AURL: http://www.galago-project.org/news/index.php
10363N/ADistribution: java-desktop-system
18616N/AVendor: Galago
20904N/ASource: http://download.gnome.org/sources/notification-daemon/0.7/notification-daemon-%version.tar.xz
15346N/A# date:2008-11-13 owner:dkenny type:bug bugster:6752569
20783N/A#Patch1: notification-daemon-01-resize.diff
20783N/A# date:2011-07-06 owner:yippi type:branding
12773N/A%if %build_l10n
12773N/ASource1: l10n-configure.sh
12773N/A%endif
10363N/A
10363N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10363N/A
10363N/ABuildRequires: gtk2 >= 2.4
10363N/ABuildRequires: dbus-devel >= 0.36
10363N/ABuildRequires: gnome-panel-devel
10363N/ABuildRequires: libpopt-devel
10363N/ABuildRequires: libsexy-devel >= 0.1.3
10363N/ARequires: gtk2
10363N/ARequires: dbus
10363N/ARequires: gnome-panel
10363N/ARequires: libpopt
10363N/ARequires: libsexy
10363N/A
10363N/A%package root
10363N/ASummary: %{summary} - / filesystem
10363N/ASUNW_BaseDir: /
10363N/A%include default-depend.inc
10363N/A
10363N/A%prep
10363N/A%setup -q
20904N/A#%patch1 -p1
10363N/A
10363N/A%build
10363N/A%ifos linux
10363N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10363N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10363N/A CPUS=1
10363N/Afi
10363N/A%else
10363N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10363N/A%endif
10363N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10363N/A CPUS=1
10363N/Afi
10363N/A
10363N/Alibtoolize --copy --force
11133N/Aintltoolize --force --copy --automake
12773N/A
12773N/A%if %build_l10n
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A%endif
12773N/A
10363N/Aaclocal $ACLOCAL_FLAGS
10363N/Aautoheader
10363N/Aautomake -a -c -f
10363N/Aautoconf
10363N/A./configure --prefix=%{_prefix} \
10363N/A --libexecdir=%{_libexecdir} \
10363N/A --sysconfdir=%{_sysconfdir} \
10363N/A --libdir=%{_libdir}
10363N/Amake -j $CPUS
10363N/A
10363N/A%install
10363N/Amake DESTDIR=$RPM_BUILD_ROOT install
10363N/A
10363N/A%clean
10363N/Arm -rf $RPM_BUILD_ROOT
10363N/A
10363N/A%files
10363N/A%defattr (-, root, root)
10363N/A%doc README AUTHORS COPYING
10363N/A%{_sysconfdir}/gconf/schemas/notification-daemon.schemas
10363N/A%{_libdir}/notification-daemon-1.0/engines/*.so*
10363N/A%{_libexecdir}/notification-daemon
10363N/A%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
10363N/A%{_datadir}/locale/nl
10363N/A
10363N/A%changelog
20904N/A* Wed May 09 2012 - brian.cameron@oracle.com
20904N/A- Bump to 0.7.4.
20832N/A* Thu Sep 15 2011 - brian.cameron@oracle.com
20832N/A- Bump to 0.7.2.
20783N/A* Wed Jul 06 2011 - brian.cameron@oracle.com
20783N/A- Bump to 0.7.1. Now download from GNOME.
17015N/A* Thu Aug 13 2009 - jedy.wang@sun.com
17015N/A- Add Vendor.
15665N/A* Wed Dec 03 2008 - jedy.wang@sun.com
15665N/A- Bump to 0.4.0.
15346N/A* Wed Nov 12 2008 - darren.kenny@sun.com
15346N/A- Add patch notification-daemon-01-resize.diff to fix bug#6752569 where the
15346N/A standard theme is not resizig the summary area if the body changes.
13422N/A* Mon Jun 16 2008 - jedy.wang@sun.com
13407N/A- Remove 01-no-libsexy to bring the libsexy dependency back.
10363N/A* Thu Mar 25 2007 - jedy.wang@sun.com
10363N/A- Initial spec
20783N/A