rarian.spec revision 11267
10139N/A#
10139N/A# spec file for package rarian
10139N/A#
17185N/A# Copyright (c) 2007 Sun Microsystems, Inc.
13600N/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
10139N/ALicense: GPL
15550N/AGroup: System/GUI/GNOME
17371N/AVersion: 0.6.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.6/%{name}-%{version}.tar.bz2
17371N/AURL: www.freedesktop.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/AAutoreqprov: on
10544N/A
16843N/A%description
16843N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
16843N/Areplacement for Scrollkeeper.
10139N/A
16555N/A%prep
16555N/A%setup -q
16555N/A
16555N/A
16633N/A%build
11999N/A%ifos linux
16051N/Aif [ -x /usr/bin/getconf ]; then
10354N/A CPUS=`getconf _NPROCESSORS_ONLN`
10544N/Afi
10544N/A%else
16051N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
15550N/A%endif
16845N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16845N/A CPUS=1
16843N/Afi
14514N/A
15191N/A#libtoolize --force
16051N/A#glib-gettextize -f
15191N/A#intltoolize --force --copy
16597N/A#aclocal $ACLOCAL_FLAGS
16051N/A#autoheader
16051N/A#automake -a -c -f
15715N/A#autoconf
16845N/A
16845N/A./configure \
16845N/A --prefix=%{_prefix} \
16053N/A --datadir=%{_datadir} \
16053N/A --libexecdir=%{_libexecdir} \
16053N/A --localstatedir=/var
16053N/Amake -j $CPUS
16053N/A
16053N/A%install
16053N/Amake install DESTDIR=$RPM_BUILD_ROOT
16053N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
17339N/A
17339N/A%clean
17339N/Arm -rf $RPM_BUILD_ROOT
16053N/A
16053N/A%changelog
16053N/A* Wed Sep 19 2007 - damien.carbery@sun.com
16555N/A- Bump to 0.6.0. Remove upstream patches, 01-pc-newline and 02-memory-wua.
16555N/A
16555N/A* Fri Aug 17 2007 - damien.carbery@sun.com
16555N/A- Add patch 01-pc-newline to fix #12043, to add a newline to rarian.pc.in as
16555N/A the last line is lost during processing (a sed bug?).
16601N/A
16555N/A* Wed Aug 15 2007 - damien.carbery@sun.com
16555N/A- Bump to 0.5.8. Remove upstream patch, 01-solaris-build.
16601N/A
16846N/A* Wed Aug 01 2007 - damien.carbery@sun.com
16845N/A- Initial version.
16845N/A