base-specs/gamin.spec
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17864 337913e88a9d
child 20363 cf59e388a688
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca

#
# spec file for package SUNWgamin, SUNWgamin-devel
#
# includes module(s): gamin
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner lin
#

%define OSR LFI#105446 (gnome Exec. summary):n/a
%define owner lin

Name:		gamin
Summary:	Library providing the FAM File Alteration Monitor API
Vendor:         Gnome Community
URL:		http://www.gnome.org/~veillard/gamin/
Version:	0.1.10
Source0:	http://www.gnome.org/~veillard/gamin/sources/%{name}-%{version}.tar.gz
# owner:lin date:2007-12-05 type:feature bugzilla:491319
Patch1:		gamin-01-all.diff
Patch2:         gamin-02-gamin.diff
License:	LGPL

%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p0
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --copy --force
aclocal
autoconf --force
automake -a -c -f

config=./configure

export CFLAGS="%optflags"
export LDFLAGS="%_ldflags"
$config	--prefix=%{_prefix}		\
    --libdir=%{_libdir}		\
    --libexecdir=%{_libexecdir}	\
    --datadir=%{_datadir}		\
    --mandir=%{_mandir}		\
    --sysconfdir=%{_sysconfdir}	\
    --with-python=/usr/bin/python%{default_python_version}	\
    --disable-static
make -j $CPUS

%install
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
#
rm $RPM_BUILD_ROOT%{_libdir}/*.a
rm $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Tue Nov 25 2008 - [email protected]
- Bump to 0.1.10
* Wed Dec 05 2007 - [email protected]
- Changed the type of gamin patch 01 to feature.
* Sat Oct 13 2007 - [email protected]
- Initial FEN backend
* Sun Apr 14 2007 - [email protected]
- Initial version