10139N/A#
10139N/A# spec file for package SUNWgamin, SUNWgamin-devel
10139N/A#
10430N/A# includes module(s): gamin
10139N/A#
10139N/A# Copyright 2008 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner lin
10139N/A#
10139N/A
10139N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
14121N/A%define owner lin
12573N/A
10139N/AName: gamin
10139N/ASummary: Library providing the FAM File Alteration Monitor API
10139N/AVendor: Gnome Community
10139N/AURL: http://www.gnome.org/~veillard/gamin/
10430N/AVersion: 0.1.10
10430N/ASource0: http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
10139N/A# owner:lin date:2007-12-05 type:feature bugzilla:491319
10139N/APatch1: gamin-01-all.diff
10139N/APatch2: gamin-02-gamin.diff
10430N/ALicense: LGPL v2
10139N/A
10139N/A%prep
10139N/A%setup -q -n %{name}-%{version}
10430N/A%patch1 -p1
10139N/A%patch2 -p0
10139N/A%build
10430N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13607N/A CPUS=1
13607N/Afi
10430N/A
10139N/Alibtoolize --copy --force
10430N/Aaclocal
10430N/Aautoconf --force
10430N/Aautomake -a -c -f
10430N/A
10430N/Aconfig=./configure
10430N/A
10353N/Aexport CFLAGS="%optflags"
13607N/Aexport LDFLAGS="%_ldflags"
13607N/A$config --prefix=%{_prefix} \
13607N/A --libdir=%{_libdir} \
12536N/A --libexecdir=%{_libexecdir} \
12536N/A --datadir=%{_datadir} \
10139N/A --mandir=%{_mandir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --with-python=/usr/bin/python%{default_python_version} \
10139N/A --disable-static
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
10139N/A#
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.a
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
10139N/A* Tue Nov 25 2008 - dave.lin@sun.com
10139N/A- Bump to 0.1.10
10139N/A* Wed Dec 05 2007 - lin.ma@sun.com
10139N/A- Changed the type of gamin patch 01 to feature.
10139N/A* Sat Oct 13 2007 - lin.ma@sun.com
10139N/A- Initial FEN backend
10139N/A* Sun Apr 14 2007 - dougs@truemail.co.th
10139N/A- Initial version
10139N/A