rarian.spec revision 10982
10139N/A#
10139N/A# spec file for package rarian
10139N/A#
16880N/A# Copyright (c) 2007 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#
17185N/A# Owner: mattman
10139N/A#
16880N/A# bugdb: bugzilla.freedesktop.org
17178N/A#
17178N/AName: rarian
10139N/ALicense: GPL
16880N/AGroup: System/GUI/GNOME
10139N/AVersion: 0.5.6
17089N/ARelease: 1
12578N/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.5/%{name}-%{version}.tar.bz2
16880N/A# date:2007-08-01 bugzilla:11792 owner:dcarbery type:bug
16880N/APatch1: rarian-01-solaris-build.diff
16880N/AURL: www.freedesktop.org
16880N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16880N/AAutoreqprov: on
17089N/A
17089N/A%description
16880N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
16880N/Areplacement for Scrollkeeper.
16880N/A
16880N/A%prep
16880N/A%setup -q
16880N/A%patch1 -p1
16880N/A
16880N/A
16880N/A%build
16880N/A%ifos linux
16880N/Aif [ -x /usr/bin/getconf ]; then
17089N/A CPUS=`getconf _NPROCESSORS_ONLN`
17073N/Afi
17089N/A%else
17074N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17089N/A%endif
17233N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
17186N/A CPUS=1
17233N/Afi
17200N/A
17233N/A#libtoolize --force
17209N/A#glib-gettextize -f
17222N/A#intltoolize --force --copy
17222N/A#aclocal $ACLOCAL_FLAGS
17282N/A#autoheader
17245N/A#automake -a -c -f
17246N/A#autoconf
17246N/A
17247N/A./configure \
17247N/A --prefix=%{_prefix} \
17281N/A --datadir=%{_datadir} \
17277N/A --libexecdir=%{_libexecdir} \
17285N/A --localstatedir=/var
17285N/Amake -j $CPUS
16880N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
10139N/A
12274N/A%clean
12274N/Arm -rf $RPM_BUILD_ROOT
12274N/A
12274N/A%changelog
10139N/A* Wed Aug 01 2007 - damien.carbery@sun.com
10139N/A- Initial version.
10139N/A