author | Jon Tibble <meths@btinternet.com> |
Sat, 06 Oct 2012 16:11:50 +0100 | |
branch | s11express-2010-11 |
changeset 22109 | db10202d5f6d |
parent 17864 | 337913e88a9d |
child 20363 | cf59e388a688 |
permissions | -rw-r--r-- |
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 |
|
17852 | 13 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
17864 | 14 |
%define owner lin |
16426 | 15 |
|
11099 | 16 |
Name: gamin |
17 |
Summary: Library providing the FAM File Alteration Monitor API |
|
17864 | 18 |
Vendor: Gnome Community |
11099 | 19 |
URL: http://www.gnome.org/~veillard/gamin/ |
14665 | 20 |
Version: 0.1.10 |
16764 | 21 |
Source0: http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz |
11613 | 22 |
# owner:lin date:2007-12-05 type:feature bugzilla:491319 |
11099 | 23 |
Patch1: gamin-01-all.diff |
17113
9566f46ad3bb
expilcitly use python2.6 in dlpitest.py privrbactest.py ucredtest.py gami.py
jouby
parents:
16764
diff
changeset
|
24 |
Patch2: gamin-02-gamin.diff |
11099 | 25 |
License: LGPL |
26 |
||
27 |
%prep |
|
28 |
%setup -q -n %{name}-%{version} |
|
17812 | 29 |
%patch1 -p1 |
17113
9566f46ad3bb
expilcitly use python2.6 in dlpitest.py privrbactest.py ucredtest.py gami.py
jouby
parents:
16764
diff
changeset
|
30 |
%patch2 -p0 |
11099 | 31 |
%build |
32 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
33 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
34 |
CPUS=1 |
|
35 |
fi |
|
36 |
||
37 |
libtoolize --copy --force |
|
38 |
aclocal |
|
39 |
autoconf --force |
|
14662 | 40 |
automake -a -c -f |
11099 | 41 |
|
42 |
config=./configure |
|
43 |
||
44 |
export CFLAGS="%optflags" |
|
45 |
export LDFLAGS="%_ldflags" |
|
46 |
$config --prefix=%{_prefix} \ |
|
16764 | 47 |
--libdir=%{_libdir} \ |
48 |
--libexecdir=%{_libexecdir} \ |
|
49 |
--datadir=%{_datadir} \ |
|
50 |
--mandir=%{_mandir} \ |
|
51 |
--sysconfdir=%{_sysconfdir} \ |
|
52 |
--with-python=/usr/bin/python%{default_python_version} \ |
|
53 |
--disable-static |
|
17813 | 54 |
make -j $CPUS |
11099 | 55 |
|
56 |
%install |
|
57 |
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} |
|
58 |
# |
|
59 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
60 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
61 |
||
62 |
%clean |
|
63 |
rm -rf $RPM_BUILD_ROOT |
|
64 |
||
65 |
%changelog |
|
14665 | 66 |
* Tue Nov 25 2008 - [email protected] |
67 |
- Bump to 0.1.10 |
|
11287 | 68 |
* Wed Dec 05 2007 - [email protected] |
69 |
- Changed the type of gamin patch 01 to feature. |
|
11099 | 70 |
* Sat Oct 13 2007 - [email protected] |
71 |
- Initial FEN backend |
|
72 |
* Sun Apr 14 2007 - [email protected] |
|
73 |
- Initial version |