base-specs/libnotify.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 18151 e7be4fa87880
child 18255 3596129c52c4
child 20331 1fbf1bd5cf15
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     1
#
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     2
# spec file for package libnotify
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     3
#
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     4
# Copyright (c) 2006 Sun Microsystems, Inc.
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     6
# package are under the same license as the package itself.
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
     7
#
18151
e7be4fa87880 change spec owner to jouby: SUNWgnome-panel.spec SUNWlibgweather.spec
jouby
parents: 17865
diff changeset
     8
%define owner jouby 
14947
cfc183f8ddbb Adding patch comments.
yippi
parents: 14945
diff changeset
     9
# bugdb: http://trac.galago-project.org/
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    10
#
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    11
16429
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14962
diff changeset
    12
%define OSR 5892:0.4
fe72291e50fd 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14962
diff changeset
    13
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    14
Name:         libnotify
14914
141c34e5673c 2009-01-15 Wang Xin <[email protected]>
jedy
parents: 9621
diff changeset
    15
Version:      0.4.5
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    16
Release:      1
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    17
Summary:      libnotify is a notification system for the GNOME desktop environment.
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    18
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    19
Group:        System/Libraries
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    20
License:      LGPL
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    21
URL:          http://www.galago-project.org/news/index.php
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    22
Distribution: java-desktop-system
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17252
diff changeset
    23
Vendor:       Galago
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    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
b5ae4790780a 2009-01-20 Brian Cameron <[email protected]>
yippi
parents: 14914
diff changeset
    26
Patch1:       libnotify-01-uninstalled-pc.diff
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    27
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    28
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    29
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    30
%define gtk2_version 2.6.0
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    31
%define dbus_version 0.36
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    32
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    33
BuildRequires: gtk2-devel >= %{gtk2_version}
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    34
BuildRequires: dbus-devel >= %{dbus_version}
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    35
Requires: gtk2 >= %{gtk2_version}
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    36
Requires: dbus >= %{dbus_version}
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    37
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    38
%description
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    39
Libnotify is a notification system for the GNOME desktop environment.
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    40
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    41
%prep
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    42
%setup -q
14945
b5ae4790780a 2009-01-20 Brian Cameron <[email protected]>
yippi
parents: 14914
diff changeset
    43
%patch1 -p1
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    44
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    45
%build
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    46
%ifos linux
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    47
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    48
if test "x$CPUS" = "x" -o $CPUS = 0; then
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    49
  CPUS=1
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    50
fi
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    51
%else
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    52
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    53
%endif
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    54
if test "x$CPUS" = "x" -o $CPUS = 0; then
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    55
  CPUS=1
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    56
fi
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    57
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    58
libtoolize --copy --force
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    59
aclocal $ACLOCAL_FLAGS
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    60
autoheader
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    61
automake -a -c -f 
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    62
autoconf
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    63
./configure --prefix=%{_prefix} \
17252
af4e2100afc3 2009-12-29 Jedy Wang <[email protected]>
jedy
parents: 16613
diff changeset
    64
		--bindir=%{_bindir} \
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    65
		--libdir=%{_libdir}
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    66
make -j $CPUS
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    67
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    68
%install
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    69
make DESTDIR=$RPM_BUILD_ROOT install
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    70
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.a" -exec rm -f {} ';'
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    71
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';'
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    72
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    73
%clean 
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    74
rm -rf $RPM_BUILD_ROOT
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    75
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    76
%files 
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    77
%defattr (-, root, root)
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    78
%doc README AUTHORS COPYING
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    79
%{_bindir}/*
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    80
%{_libdir}/*.so*
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    81
%{_libdir}/pkgconfig/*
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    82
%{_includedir}/libnotify/*
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    83
%{_datadir}/gtk-doc/*
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    84
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    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
af4e2100afc3 2009-12-29 Jedy Wang <[email protected]>
jedy
parents: 16613
diff changeset
    88
* Tue Dec 29 2009 - [email protected]
af4e2100afc3 2009-12-29 Jedy Wang <[email protected]>
jedy
parents: 16613
diff changeset
    89
- Add 64-bit support.
14945
b5ae4790780a 2009-01-20 Brian Cameron <[email protected]>
yippi
parents: 14914
diff changeset
    90
* Tue Jan 20 2009 - [email protected]
b5ae4790780a 2009-01-20 Brian Cameron <[email protected]>
yippi
parents: 14914
diff changeset
    91
- Add libnotify-01-uninstalled-pc.diff.
14914
141c34e5673c 2009-01-15 Wang Xin <[email protected]>
jedy
parents: 9621
diff changeset
    92
* Wed Dec 03 2008 - [email protected]
141c34e5673c 2009-01-15 Wang Xin <[email protected]>
jedy
parents: 9621
diff changeset
    93
- Bump to 0.4.5.
9621
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    94
* Thu Mar 25 2007 - [email protected]
c539cadfe479 2007-03-25 Wang Xin <[email protected]>
jedy
parents:
diff changeset
    95
- Initial spec