notification-daemon.spec revision 11133
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
10363N/AVersion: 0.3.7
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
10513N/A#date:2007-03-22 owner:jedy type:branding
10363N/APatch1: notification-daemon-01-no-libsexy.diff
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
10363N/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
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
10363N/A* Thu Mar 25 2007 - jedy.wang@sun.com
10363N/A- Initial spec