author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18232 | dc086fb5a722 |
child 20332 | 4bc041051648 |
permissions | -rw-r--r-- |
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 |
# |
|
18232
dc086fb5a722
change the ownership of gome-panel.spec and notification-daemon.spec to jouby
jouby
parents:
18066
diff
changeset
|
8 |
#Owner: jouby |
9621 | 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 |
Distribution: java-desktop-system |
|
17865 | 22 |
Vendor: Galago |
9621 | 23 |
Source: http://www.galago-project.org/files/releases/source/notification-daemon/notification-daemon-%{version}.tar.bz2 |
14595 | 24 |
# date:2008-11-13 owner:dkenny type:bug bugster:6752569 |
25 |
Patch1: notification-daemon-01-resize.diff |
|
12031 | 26 |
%if %build_l10n |
27 |
Source1: l10n-configure.sh |
|
28 |
%endif |
|
9621 | 29 |
|
30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
31 |
||
32 |
BuildRequires: gtk2 >= 2.4 |
|
33 |
BuildRequires: dbus-devel >= 0.36 |
|
34 |
BuildRequires: gnome-panel-devel |
|
35 |
BuildRequires: libpopt-devel |
|
36 |
BuildRequires: libsexy-devel >= 0.1.3 |
|
37 |
Requires: gtk2 |
|
38 |
Requires: dbus |
|
39 |
Requires: gnome-panel |
|
40 |
Requires: libpopt |
|
41 |
Requires: libsexy |
|
42 |
||
43 |
%package root |
|
44 |
Summary: %{summary} - / filesystem |
|
45 |
SUNW_BaseDir: / |
|
46 |
%include default-depend.inc |
|
47 |
||
48 |
%prep |
|
49 |
%setup -q |
|
14595 | 50 |
%patch1 -p1 |
9621 | 51 |
|
52 |
%build |
|
53 |
%ifos linux |
|
54 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
55 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
56 |
CPUS=1 |
|
57 |
fi |
|
58 |
%else |
|
59 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
60 |
%endif |
|
61 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
62 |
CPUS=1 |
|
63 |
fi |
|
64 |
||
65 |
libtoolize --copy --force |
|
10391 | 66 |
intltoolize --force --copy --automake |
12031 | 67 |
|
68 |
%if %build_l10n |
|
69 |
bash -x %SOURCE1 --enable-copyright |
|
70 |
%endif |
|
71 |
||
9621 | 72 |
aclocal $ACLOCAL_FLAGS |
73 |
autoheader |
|
74 |
automake -a -c -f |
|
75 |
autoconf |
|
76 |
./configure --prefix=%{_prefix} \ |
|
77 |
--libexecdir=%{_libexecdir} \ |
|
78 |
--sysconfdir=%{_sysconfdir} \ |
|
79 |
--libdir=%{_libdir} |
|
80 |
make -j $CPUS |
|
81 |
||
82 |
%install |
|
83 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
84 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';' |
|
85 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';' |
|
86 |
||
87 |
%clean |
|
88 |
rm -rf $RPM_BUILD_ROOT |
|
89 |
||
90 |
%files |
|
91 |
%defattr (-, root, root) |
|
92 |
%doc README AUTHORS COPYING |
|
93 |
%{_sysconfdir}/gconf/schemas/notification-daemon.schemas |
|
94 |
%{_libdir}/notification-daemon-1.0/engines/*.so* |
|
95 |
%{_libexecdir}/notification-daemon |
|
96 |
%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service |
|
97 |
%{_datadir}/locale/nl |
|
98 |
||
99 |
||
100 |
%changelog |
|
18232
dc086fb5a722
change the ownership of gome-panel.spec and notification-daemon.spec to jouby
jouby
parents:
18066
diff
changeset
|
101 |
* Wed Jul 14 2010 - [email protected] |
dc086fb5a722
change the ownership of gome-panel.spec and notification-daemon.spec to jouby
jouby
parents:
18066
diff
changeset
|
102 |
- Change ownership to jouby |
16264 | 103 |
* Thu Aug 13 2009 - [email protected] |
104 |
- Add Vendor. |
|
14914 | 105 |
* Wed Dec 03 2008 - [email protected] |
106 |
- Bump to 0.4.0. |
|
14595 | 107 |
* Wed Nov 12 2008 - [email protected] |
108 |
- Add patch notification-daemon-01-resize.diff to fix bug#6752569 where the |
|
109 |
standard theme is not resizig the summary area if the body changes. |
|
12680 | 110 |
* Mon Jun 16 2008 - [email protected] |
12665 | 111 |
- Remove 01-no-libsexy to bring the libsexy dependency back. |
12680 | 112 |
|
9621 | 113 |
* Thu Mar 25 2007 - [email protected] |
114 |
- Initial spec |