base-specs/notification-daemon.spec
author chrisk
Mon, 31 Aug 2009 12:02:58 +0000
changeset 16427 63d81b085adb
parent 16264 6a2d8122224d
child 17865 b7ff02e93f66
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * SUNWgnome-dtlogin-integration.spec, SUNWgnome-hex-editor.spec, base-specs/control-center.spec, base-specs/gnome-desktop.spec, base-specs/nautilus-open-terminal.spec, base-specs/rarian.spec, base-specs/gst-plugins-base.spec, base-specs/libgnomeui.spec, base-specs/pidgin-otr.spec, base-specs/ttf-freefont.spec, base-specs/nautilus.spec, base-specs/gnome-doc-utils.spec, base-specs/gdesklets-clock.spec, base-specs/gtksourceview2.spec, base-specs/notification-daemon.spec, base-specs/libgnome.spec, base-specs/gnome-mount.spec, base-specs/yelp.spec, base-specs/dogtail.spec, base-specs/startup-notification.spec, base-specs/gst.spec, base-specs/pidgin.spec, base-specs/gimp-help.spec, base-specs/ggz-client-libs.spec, base-specs/gimp.spec, base-specs/gtksourceview.spec, base-specs/gvfs.spec, base-specs/gdm.spec, base-specs/gimp-hdr.spec, base-specs/rhythmbox.spec, base-specs/gnome-nettool.spec, base-specs/gnome-devel-docs.spec, base-specs/gdesklets-worldtime.spec, base-specs/libgtkhtml.spec, base-specs/libbonoboui.spec, base-specs/gdesklets-calendar.spec, base-specs/ttf-baekmuk.spec, base-specs/alacarte.spec, base-specs/desktop-file-utils.spec, base-specs/devhelp.spec, base-specs/gnome-games.spec, base-specs/eel.spec, base-specs/gnome-keyring.spec, base-specs/totem.spec, base-specs/libotr.spec, base-specs/gthumb.spec, base-specs/gst-plugins-good.spec, base-specs/gnome-settings-daemon.spec, base-specs/eog.spec, base-specs/libggz.spec, base-specs/zenity.spec, base-specs/libwnck.spec, base-specs/libexif-gtk.spec, base-specs/gnome-media.spec, base-specs/gdesklets.spec: Add OSR info.

#
# spec file for package notificatioin-daemon
#
# Copyright (c) 2006 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#Owner: jedy
#

%define OSR 5892:0.4

Name:         notification-daemon
Version:      0.4.0
Release:      1
Summary:      A notification daemon for the GNOME desktop environment.

Group:        System/Libraries
License:      GPL
URL:          http://www.galago-project.org/news/index.php
URL:          http://www.galago-project.org/news/index.php
Distribution: java-desktop-system
Vendor:       Sun Microsystems, Inc.
Source:       http://www.galago-project.org/files/releases/source/notification-daemon/notification-daemon-%{version}.tar.bz2
# date:2008-11-13 owner:dkenny type:bug bugster:6752569 
Patch1:       notification-daemon-01-resize.diff
%if %build_l10n
Source1:                 l10n-configure.sh
%endif

BuildRoot:    %{_tmppath}/%{name}-%{version}-build

BuildRequires: gtk2 >= 2.4
BuildRequires: dbus-devel >= 0.36
BuildRequires: gnome-panel-devel
BuildRequires: libpopt-devel
BuildRequires: libsexy-devel >= 0.1.3
Requires: gtk2
Requires: dbus
Requires: gnome-panel
Requires: libpopt
Requires: libsexy

%package root
Summary:                 %{summary} - / filesystem
SUNW_BaseDir:            /
%include default-depend.inc

%prep
%setup -q
%patch1 -p1

%build
%ifos linux
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --copy --force
intltoolize --force --copy --automake

%if %build_l10n
bash -x %SOURCE1 --enable-copyright
%endif

aclocal $ACLOCAL_FLAGS
autoheader
automake -a -c -f 
autoconf
./configure --prefix=%{_prefix} \
		--libexecdir=%{_libexecdir} \
		--sysconfdir=%{_sysconfdir} \
		--libdir=%{_libdir}
make -j $CPUS

%install
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'

%clean 
rm -rf $RPM_BUILD_ROOT

%files 
%defattr (-, root, root)
%doc README AUTHORS COPYING
%{_sysconfdir}/gconf/schemas/notification-daemon.schemas
%{_libdir}/notification-daemon-1.0/engines/*.so*
%{_libexecdir}/notification-daemon
%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
%{_datadir}/locale/nl


%changelog
* Thu Aug 13 2009 - [email protected]
- Add Vendor.
* Wed Dec 03 2008 - [email protected]
- Bump to 0.4.0.
* Wed Nov 12 2008 - [email protected]
- Add patch notification-daemon-01-resize.diff to fix bug#6752569 where the
  standard theme is not resizig the summary area if the body changes.
* Mon Jun 16 2008 - [email protected]
- Remove 01-no-libsexy to bring the libsexy dependency back.

* Thu Mar 25 2007 - [email protected]
- Initial spec