notification-daemon.spec revision 15665
10363N/A#
10363N/A# spec file for package notificatioin-daemon
10363N/A#
10363N/A# Copyright (c) 2006 Sun Microsystems, Inc.
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
10363N/AName: notification-daemon
15665N/AVersion: 0.4.0
10363N/ARelease: 1
10363N/ASummary: A notification daemon for the GNOME desktop environment.
10363N/A
10363N/AGroup: System/Libraries
10363N/ALicense: GPL
10363N/AURL: http://www.galago-project.org/news/index.php
10363N/AURL: http://www.galago-project.org/news/index.php
10363N/ADistribution: java-desktop-system
10363N/ASource: http://www.galago-project.org/files/releases/source/notification-daemon/notification-daemon-%{version}.tar.bz2
15346N/A# date:2008-11-13 owner:dkenny type:bug bugster:6752569
15346N/APatch1: notification-daemon-01-resize.diff
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
15346N/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/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
10363N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
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
10363N/A%changelog
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.
13422N/A
10363N/A* Thu Mar 25 2007 - jedy.wang@sun.com
10363N/A- Initial spec