rarian.spec revision 11408
10139N/A#
10139N/A# spec file for package rarian
10139N/A#
10139N/A# Copyright (c) 2007 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
20185N/A# package are under the same license as the package itself.
10139N/A#
10139N/A# Owner: mattman
10139N/A#
17185N/A# bugdb: bugzilla.freedesktop.org
10139N/A#
10139N/AName: rarian
10139N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 0.6.0
18688N/ARelease: 1
18688N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
19013N/ASummary: Documentation meta-data library
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2
10139N/A# date:2007-10-16 type:bug owner:mattman bugster:6593701 bugzilla:12279
10139N/APatch1: rarian-01-reg-return.diff
12679N/AURL: www.freedesktop.org
19099N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/AAutoreqprov: on
10139N/A
10139N/A%description
20857N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
16401N/Areplacement for Scrollkeeper.
16049N/A
10139N/A%prep
10139N/A%setup -q
20869N/A%patch1 -p1
10139N/A
10139N/A
15918N/A%build
18850N/A%ifos linux
16401N/Aif [ -x /usr/bin/getconf ]; then
16401N/A CPUS=`getconf _NPROCESSORS_ONLN`
16049N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20869N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
15918N/A#libtoolize --force
16307N/A#glib-gettextize -f
16307N/A#intltoolize --force --copy
10139N/A#aclocal $ACLOCAL_FLAGS
10139N/A#autoheader
10139N/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} \
20857N/A --localstatedir=/var
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
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.
16122N/A