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