9621
|
1 |
#
|
|
2 |
# spec file for package notificatioin-daemon
|
|
3 |
#
|
|
4 |
# Copyright (c) 2006 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
#Owner: jedy
|
|
9 |
#
|
|
10 |
|
16427
|
11 |
%define OSR 5892:0.4
|
|
12 |
|
9621
|
13 |
Name: notification-daemon
|
14914
|
14 |
Version: 0.4.0
|
9621
|
15 |
Release: 1
|
|
16 |
Summary: A notification daemon for the GNOME desktop environment.
|
|
17 |
|
|
18 |
Group: System/Libraries
|
|
19 |
License: GPL
|
|
20 |
URL: http://www.galago-project.org/news/index.php
|
|
21 |
URL: http://www.galago-project.org/news/index.php
|
|
22 |
Distribution: java-desktop-system
|
16264
|
23 |
Vendor: Sun Microsystems, Inc.
|
9621
|
24 |
Source: http://www.galago-project.org/files/releases/source/notification-daemon/notification-daemon-%{version}.tar.bz2
|
14595
|
25 |
# date:2008-11-13 owner:dkenny type:bug bugster:6752569
|
|
26 |
Patch1: notification-daemon-01-resize.diff
|
12031
|
27 |
%if %build_l10n
|
|
28 |
Source1: l10n-configure.sh
|
|
29 |
%endif
|
9621
|
30 |
|
|
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
32 |
|
|
33 |
BuildRequires: gtk2 >= 2.4
|
|
34 |
BuildRequires: dbus-devel >= 0.36
|
|
35 |
BuildRequires: gnome-panel-devel
|
|
36 |
BuildRequires: libpopt-devel
|
|
37 |
BuildRequires: libsexy-devel >= 0.1.3
|
|
38 |
Requires: gtk2
|
|
39 |
Requires: dbus
|
|
40 |
Requires: gnome-panel
|
|
41 |
Requires: libpopt
|
|
42 |
Requires: libsexy
|
|
43 |
|
|
44 |
%package root
|
|
45 |
Summary: %{summary} - / filesystem
|
|
46 |
SUNW_BaseDir: /
|
|
47 |
%include default-depend.inc
|
|
48 |
|
|
49 |
%prep
|
|
50 |
%setup -q
|
14595
|
51 |
%patch1 -p1
|
9621
|
52 |
|
|
53 |
%build
|
|
54 |
%ifos linux
|
|
55 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
56 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
57 |
CPUS=1
|
|
58 |
fi
|
|
59 |
%else
|
|
60 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
61 |
%endif
|
|
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
63 |
CPUS=1
|
|
64 |
fi
|
|
65 |
|
|
66 |
libtoolize --copy --force
|
10391
|
67 |
intltoolize --force --copy --automake
|
12031
|
68 |
|
|
69 |
%if %build_l10n
|
|
70 |
bash -x %SOURCE1 --enable-copyright
|
|
71 |
%endif
|
|
72 |
|
9621
|
73 |
aclocal $ACLOCAL_FLAGS
|
|
74 |
autoheader
|
|
75 |
automake -a -c -f
|
|
76 |
autoconf
|
|
77 |
./configure --prefix=%{_prefix} \
|
|
78 |
--libexecdir=%{_libexecdir} \
|
|
79 |
--sysconfdir=%{_sysconfdir} \
|
|
80 |
--libdir=%{_libdir}
|
|
81 |
make -j $CPUS
|
|
82 |
|
|
83 |
%install
|
|
84 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
85 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
|
|
86 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
|
|
87 |
|
|
88 |
%clean
|
|
89 |
rm -rf $RPM_BUILD_ROOT
|
|
90 |
|
|
91 |
%files
|
|
92 |
%defattr (-, root, root)
|
|
93 |
%doc README AUTHORS COPYING
|
|
94 |
%{_sysconfdir}/gconf/schemas/notification-daemon.schemas
|
|
95 |
%{_libdir}/notification-daemon-1.0/engines/*.so*
|
|
96 |
%{_libexecdir}/notification-daemon
|
|
97 |
%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
|
|
98 |
%{_datadir}/locale/nl
|
|
99 |
|
|
100 |
|
|
101 |
%changelog
|
16264
|
102 |
* Thu Aug 13 2009 - [email protected]
|
|
103 |
- Add Vendor.
|
14914
|
104 |
* Wed Dec 03 2008 - [email protected]
|
|
105 |
- Bump to 0.4.0.
|
14595
|
106 |
* Wed Nov 12 2008 - [email protected]
|
|
107 |
- Add patch notification-daemon-01-resize.diff to fix bug#6752569 where the
|
|
108 |
standard theme is not resizig the summary area if the body changes.
|
12680
|
109 |
* Mon Jun 16 2008 - [email protected]
|
12665
|
110 |
- Remove 01-no-libsexy to bring the libsexy dependency back.
|
12680
|
111 |
|
9621
|
112 |
* Thu Mar 25 2007 - [email protected]
|
|
113 |
- Initial spec
|