11100
|
1 |
#
|
|
2 |
# spec file for package SUNWgamin, SUNWgamin-devel
|
|
3 |
#
|
|
4 |
# includes module(s): gamin
|
|
5 |
#
|
11432
|
6 |
# Copyright 2008 Sun Microsystems, Inc.
|
11099
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
11100
|
9 |
#
|
16434
|
10 |
%define owner lin
|
11100
|
11 |
#
|
11099
|
12 |
|
16426
|
13 |
%define OSR gnome.org:0
|
|
14 |
|
11099
|
15 |
Name: gamin
|
|
16 |
Summary: Library providing the FAM File Alteration Monitor API
|
|
17 |
URL: http://www.gnome.org/~veillard/gamin/
|
14665
|
18 |
Version: 0.1.10
|
|
19 |
Source0: http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.bz2
|
11613
|
20 |
# owner:lin date:2007-12-05 type:feature bugzilla:491319
|
11099
|
21 |
Patch1: gamin-01-all.diff
|
|
22 |
License: LGPL
|
|
23 |
|
|
24 |
%prep
|
|
25 |
%setup -q -n %{name}-%{version}
|
14662
|
26 |
%patch1 -p0
|
11099
|
27 |
|
|
28 |
%build
|
|
29 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
30 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
31 |
CPUS=1
|
|
32 |
fi
|
|
33 |
|
|
34 |
libtoolize --copy --force
|
|
35 |
aclocal
|
|
36 |
autoconf --force
|
14662
|
37 |
automake -a -c -f
|
11099
|
38 |
|
|
39 |
config=./configure
|
|
40 |
|
|
41 |
export CFLAGS="%optflags"
|
|
42 |
export LDFLAGS="%_ldflags"
|
|
43 |
$config --prefix=%{_prefix} \
|
|
44 |
--libdir=%{_libdir} \
|
|
45 |
--libexecdir=%{_libexecdir} \
|
|
46 |
--datadir=%{_datadir} \
|
|
47 |
--mandir=%{_mandir} \
|
|
48 |
--sysconfdir=%{_sysconfdir} \
|
|
49 |
--disable-static
|
|
50 |
make -j $CPUS
|
|
51 |
|
|
52 |
%install
|
|
53 |
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
|
54 |
#
|
|
55 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
56 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
57 |
|
|
58 |
%clean
|
|
59 |
rm -rf $RPM_BUILD_ROOT
|
|
60 |
|
|
61 |
%changelog
|
14665
|
62 |
* Tue Nov 25 2008 - [email protected]
|
|
63 |
- Bump to 0.1.10
|
11287
|
64 |
* Wed Dec 05 2007 - [email protected]
|
|
65 |
- Changed the type of gamin patch 01 to feature.
|
11099
|
66 |
* Sat Oct 13 2007 - [email protected]
|
|
67 |
- Initial FEN backend
|
|
68 |
* Sun Apr 14 2007 - [email protected]
|
|
69 |
- Initial version
|