rarian.spec revision 12572
10139N/A#
10139N/A# spec file for package rarian
10139N/A#
12301N/A# Copyright (c) 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# Owner: mattman
10139N/A#
10139N/A# bugdb: bugzilla.freedesktop.org
10139N/A#
10139N/AName: rarian
13951N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 0.8.0
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Documentation meta-data library
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2
10139N/A#owner:gheet date:2008-02-20 type:bug bugzilla:11839 bugster:6639279
10139N/APatch1: rarian-01-fix-sk-update.diff
10139N/AURL: www.freedesktop.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/AAutoreqprov: on
10139N/A
10139N/A%description
10139N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
10139N/Areplacement for Scrollkeeper.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -p1
10139N/A
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/A#libtoolize --force
10139N/A#glib-gettextize -f
10139N/A#intltoolize --force --copy
10139N/A#aclocal $ACLOCAL_FLAGS
10139N/A#autoheader
11322N/A#automake -a -c -f
10139N/A#autoconf
10139N/A
10139N/A./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --datadir=%{_datadir} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --localstatedir=/var \
10139N/A --disable-skdb-update
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
11314N/Amake install DESTDIR=$RPM_BUILD_ROOT
11314N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
11314N/A
11314N/A%clean
11314N/Arm -rf $RPM_BUILD_ROOT
11314N/A
11314N/A%changelog
11314N/A* Mon Mar 10 2008 - damien.carbery@sun.com
10139N/A- Bump to 0.8.0.
10139N/A
10139N/A* Thu Feb 21 2008 - ghee.teo@sun.com
10139N/A- Added --disable-skdb-update to build successful for the patch
10139N/A rarian-02-fix-sk-update.diff.
10139N/A
10139N/A* Wed Feb 20 2008 - ghee.teo@sun.com
10139N/A- Added patch rarian-02-fix-sk-update.diff
10139N/A* Tue Jan 08 2002 - damien.carbery@sun.com
10139N/A- Bump to 0.7.1.
10139N/A
10139N/A* Tue Nov 27 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.7.0. Remove upstream patch 01-reg-return.
10139N/A
10139N/A* Tue Oct 16 2007 - matt.keenan@sun.com
10139N/A- Add patch 01-reg-return to fix 12279 crash bug.
10139N/A
10139N/A* Wed Sep 19 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.6.0. Remove upstream patches, 01-pc-newline and 02-memory-wua.
10139N/A
10139N/A* Fri Aug 17 2007 - damien.carbery@sun.com
10139N/A- Add patch 01-pc-newline to fix #12043, to add a newline to rarian.pc.in as
10139N/A the last line is lost during processing (a sed bug?).
10139N/A
10139N/A* Wed Aug 15 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.5.8. Remove upstream patch, 01-solaris-build.
10139N/A
10139N/A* Wed Aug 01 2007 - damien.carbery@sun.com
10139N/A- Initial version.
10139N/A