10982N/A#
10982N/A# spec file for package rarian
10982N/A#
12153N/A# Copyright (c) 2008 Sun Microsystems, Inc.
10982N/A# This file and all modifications and additions to the pristine
10982N/A# package are under the same license as the package itself.
10982N/A#
17650N/A%define owner migi
10982N/A#
10982N/A# bugdb: bugzilla.freedesktop.org
10982N/A#
17178N/A
18603N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17178N/A
10982N/AName: rarian
10982N/ALicense: GPL
10982N/AGroup: System/GUI/GNOME
14268N/AVersion: 0.8.1
10982N/ARelease: 1
10982N/ADistribution: Java Desktop System
18616N/AVendor: Gnome Community
10982N/ASummary: Documentation meta-data library
12572N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
12416N/A#owner:gheet date:2008-02-20 type:bug bugzilla:11839 bugster:6639279
12416N/APatch1: rarian-01-fix-sk-update.diff
14131N/A#owner:gheet date:2008-09-03 type:bug bugzilla:17420 bugster:6646976
14131N/APatch2: rarian-02-input-para.diff
15160N/A#owner:mattman date:2008-10-02 type:bug bugzilla:17876 bugster:6702290
15160N/APatch3: rarian-03-yelp-performance.diff
10982N/AURL: www.freedesktop.org
10982N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10982N/AAutoreqprov: on
10982N/A
10982N/A%description
10982N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
10982N/Areplacement for Scrollkeeper.
10982N/A
10982N/A%prep
10982N/A%setup -q
12429N/A%patch1 -p1
14131N/A%patch2 -p1
15160N/A%patch3 -p1
10982N/A
10982N/A
10982N/A%build
10982N/A%ifos linux
10982N/Aif [ -x /usr/bin/getconf ]; then
10982N/A CPUS=`getconf _NPROCESSORS_ONLN`
10982N/Afi
10982N/A%else
10982N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10982N/A%endif
10982N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10982N/A CPUS=1
10982N/Afi
10982N/A
10982N/A#libtoolize --force
10982N/A#glib-gettextize -f
10982N/A#intltoolize --force --copy
10982N/A#aclocal $ACLOCAL_FLAGS
10982N/A#autoheader
10982N/A#automake -a -c -f
10982N/A#autoconf
10982N/A
10982N/A./configure \
10982N/A --prefix=%{_prefix} \
10982N/A --datadir=%{_datadir} \
10982N/A --libexecdir=%{_libexecdir} \
12429N/A --localstatedir=/var \
12429N/A --disable-skdb-update
10982N/Amake -j $CPUS
10982N/A
10982N/A%install
10982N/Amake install DESTDIR=$RPM_BUILD_ROOT
10982N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
12889N/A
12889N/A#%check
12889N/Amake check
12889N/A
10982N/A%clean
10982N/Arm -rf $RPM_BUILD_ROOT
10982N/A
10982N/A%changelog
17650N/A* Mon Nov 02 2009 - Michal.Pryc@Sun.Com
17650N/A- Change owner to migi.
17650N/A
15160N/A* Thu Oct 02 2008 - matt.keenan@sun.com
15160N/A- Fix bugster:6702290, yelp performance issue
15160N/A
14268N/A* Wed Sep 10 2008 - christian.kelly@sun.com
15160N/A- Bump to 0.8.1.
14268N/A
14131N/A* Wed Sep 03 2008 - ghee.teo@sun.com
14131N/A- Added patch rarian-02-input-para.dif to fix 6646976.
14131N/A
12889N/A* Wed Apr 16 2008 - damien.carbery@sun.com
12889N/A- Add 'make check' call after %install.
12889N/A
12572N/A* Mon Mar 10 2008 - damien.carbery@sun.com
12572N/A- Bump to 0.8.0.
12572N/A
12429N/A* Thu Feb 21 2008 - ghee.teo@sun.com
12429N/A- Added --disable-skdb-update to build successful for the patch
12429N/A rarian-02-fix-sk-update.diff.
12430N/A
12416N/A* Wed Feb 20 2008 - ghee.teo@sun.com
12416N/A- Added patch rarian-02-fix-sk-update.diff
12153N/A* Tue Jan 08 2002 - damien.carbery@sun.com
12153N/A- Bump to 0.7.1.
12153N/A
11988N/A* Tue Nov 27 2007 - damien.carbery@sun.com
11988N/A- Bump to 0.7.0. Remove upstream patch 01-reg-return.
11988N/A
11408N/A* Tue Oct 16 2007 - matt.keenan@sun.com
11408N/A- Add patch 01-reg-return to fix 12279 crash bug.
11408N/A
11267N/A* Wed Sep 19 2007 - damien.carbery@sun.com
11267N/A- Bump to 0.6.0. Remove upstream patches, 01-pc-newline and 02-memory-wua.
11267N/A
11089N/A* Fri Aug 17 2007 - damien.carbery@sun.com
11089N/A- Add patch 01-pc-newline to fix #12043, to add a newline to rarian.pc.in as
11089N/A the last line is lost during processing (a sed bug?).
11089N/A
11068N/A* Wed Aug 15 2007 - damien.carbery@sun.com
11068N/A- Bump to 0.5.8. Remove upstream patch, 01-solaris-build.
11068N/A
10982N/A* Wed Aug 01 2007 - damien.carbery@sun.com
10982N/A- Initial version.