author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 18151 | e7be4fa87880 |
child 18255 | 3596129c52c4 |
child 20331 | 1fbf1bd5cf15 |
permissions | -rw-r--r-- |
9621 | 1 |
# |
2 |
# spec file for package libnotify |
|
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 |
# |
|
18151
e7be4fa87880
change spec owner to jouby: SUNWgnome-panel.spec SUNWlibgweather.spec
jouby
parents:
17865
diff
changeset
|
8 |
%define owner jouby |
14947 | 9 |
# bugdb: http://trac.galago-project.org/ |
9621 | 10 |
# |
11 |
||
16429 | 12 |
%define OSR 5892:0.4 |
13 |
||
9621 | 14 |
Name: libnotify |
14914 | 15 |
Version: 0.4.5 |
9621 | 16 |
Release: 1 |
17 |
Summary: libnotify is a notification system for the GNOME desktop environment. |
|
18 |
||
19 |
Group: System/Libraries |
|
20 |
License: LGPL |
|
21 |
URL: http://www.galago-project.org/news/index.php |
|
22 |
Distribution: java-desktop-system |
|
17865 | 23 |
Vendor: Galago |
9621 | 24 |
Source: http://www.galago-project.org/files/releases/source/libnotify/libnotify-%{version}.tar.bz2 |
16613
b21560c8a304
Change owner of installed-pc file additions to the module owner.
yippi
parents:
16434
diff
changeset
|
25 |
# date:2009-01-20 owner:jedy type:feature bugid:176 |
14945 | 26 |
Patch1: libnotify-01-uninstalled-pc.diff |
9621 | 27 |
|
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
||
30 |
%define gtk2_version 2.6.0 |
|
31 |
%define dbus_version 0.36 |
|
32 |
||
33 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
34 |
BuildRequires: dbus-devel >= %{dbus_version} |
|
35 |
Requires: gtk2 >= %{gtk2_version} |
|
36 |
Requires: dbus >= %{dbus_version} |
|
37 |
||
38 |
%description |
|
39 |
Libnotify is a notification system for the GNOME desktop environment. |
|
40 |
||
41 |
%prep |
|
42 |
%setup -q |
|
14945 | 43 |
%patch1 -p1 |
9621 | 44 |
|
45 |
%build |
|
46 |
%ifos linux |
|
47 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
48 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
49 |
CPUS=1 |
|
50 |
fi |
|
51 |
%else |
|
52 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
53 |
%endif |
|
54 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
55 |
CPUS=1 |
|
56 |
fi |
|
57 |
||
58 |
libtoolize --copy --force |
|
59 |
aclocal $ACLOCAL_FLAGS |
|
60 |
autoheader |
|
61 |
automake -a -c -f |
|
62 |
autoconf |
|
63 |
./configure --prefix=%{_prefix} \ |
|
17252 | 64 |
--bindir=%{_bindir} \ |
9621 | 65 |
--libdir=%{_libdir} |
66 |
make -j $CPUS |
|
67 |
||
68 |
%install |
|
69 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
70 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';' |
|
71 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';' |
|
72 |
||
73 |
%clean |
|
74 |
rm -rf $RPM_BUILD_ROOT |
|
75 |
||
76 |
%files |
|
77 |
%defattr (-, root, root) |
|
78 |
%doc README AUTHORS COPYING |
|
79 |
%{_bindir}/* |
|
80 |
%{_libdir}/*.so* |
|
81 |
%{_libdir}/pkgconfig/* |
|
82 |
%{_includedir}/libnotify/* |
|
83 |
%{_datadir}/gtk-doc/* |
|
84 |
||
85 |
%changelog |
|
18151
e7be4fa87880
change spec owner to jouby: SUNWgnome-panel.spec SUNWlibgweather.spec
jouby
parents:
17865
diff
changeset
|
86 |
* Mon Jun 20 2010 - [email protected] |
e7be4fa87880
change spec owner to jouby: SUNWgnome-panel.spec SUNWlibgweather.spec
jouby
parents:
17865
diff
changeset
|
87 |
- Change owner to jouby |
17252 | 88 |
* Tue Dec 29 2009 - [email protected] |
89 |
- Add 64-bit support. |
|
14945 | 90 |
* Tue Jan 20 2009 - [email protected] |
91 |
- Add libnotify-01-uninstalled-pc.diff. |
|
14914 | 92 |
* Wed Dec 03 2008 - [email protected] |
93 |
- Bump to 0.4.5. |
|
9621 | 94 |
* Thu Mar 25 2007 - [email protected] |
95 |
- Initial spec |