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