notification-daemon.spec revision 10363
15409N/A#
15409N/A# spec file for package notificatioin-daemon
15409N/A#
15409N/A# Copyright (c) 2006 Sun Microsystems, Inc.
15409N/A# This file and all modifications and additions to the pristine
15409N/A# package are under the same license as the package itself.
15409N/A#
15409N/A#Owner: jedy
15409N/A#
15409N/A
15409N/AName: notification-daemon
15409N/AVersion: 0.3.7
15409N/ARelease: 1
15409N/ASummary: A notification daemon for the GNOME desktop environment.
15409N/A
15409N/AGroup: System/Libraries
15409N/ALicense: GPL
15409N/AURL: http://www.galago-project.org/news/index.php
15409N/AURL: http://www.galago-project.org/news/index.php
15409N/ADistribution: java-desktop-system
15409N/ASource: http://www.galago-project.org/files/releases/source/notification-daemon/notification-daemon-%{version}.tar.bz2
15409N/A#date:2007-03-22 owner:jedy type: branding
15409N/APatch1: notification-daemon-01-no-libsexy.diff
15409N/A
15409N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15409N/A
15409N/ABuildRequires: gtk2 >= 2.4
15409N/ABuildRequires: dbus-devel >= 0.36
15409N/ABuildRequires: gnome-panel-devel
15409N/ABuildRequires: libpopt-devel
15409N/ABuildRequires: libsexy-devel >= 0.1.3
15409N/ARequires: gtk2
15409N/ARequires: dbus
15409N/ARequires: gnome-panel
15409N/ARequires: libpopt
15409N/ARequires: libsexy
15409N/A
15409N/A%package root
15409N/ASummary: %{summary} - / filesystem
15409N/ASUNW_BaseDir: /
15409N/A%include default-depend.inc
15409N/A
15409N/A%prep
15409N/A%setup -q
15409N/A%patch1 -p1
15409N/A
15409N/A%build
15409N/A%ifos linux
15409N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
15409N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15409N/A CPUS=1
15409N/Afi
15409N/A%else
15409N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
15409N/A%endif
15409N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15409N/A CPUS=1
15409N/Afi
15409N/A
15409N/Alibtoolize --copy --force
15409N/Aaclocal $ACLOCAL_FLAGS
15409N/Aautoheader
15409N/Aautomake -a -c -f
15409N/Aautoconf
15409N/A./configure --prefix=%{_prefix} \
15409N/A --libexecdir=%{_libexecdir} \
15409N/A --sysconfdir=%{_sysconfdir} \
15409N/A --libdir=%{_libdir}
15409N/Amake -j $CPUS
15409N/A
15409N/A%install
15409N/Amake DESTDIR=$RPM_BUILD_ROOT install
15409N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
15409N/Afind $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
15409N/A
15409N/A%clean
15409N/Arm -rf $RPM_BUILD_ROOT
15409N/A
15409N/A%files
15409N/A%defattr (-, root, root)
15409N/A%doc README AUTHORS COPYING
15409N/A%{_sysconfdir}/gconf/schemas/notification-daemon.schemas
15409N/A%{_libdir}/notification-daemon-1.0/engines/*.so*
15409N/A%{_libexecdir}/notification-daemon
15409N/A%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
15409N/A%{_datadir}/locale/nl
15409N/A
15409N/A
15409N/A%changelog
15409N/A* Thu Mar 25 2007 - jedy.wang@sun.com
15409N/A- Initial spec
15409N/A