rarian.spec revision 11089
7082N/A#
7082N/A# spec file for package rarian
7117N/A#
7117N/A# Copyright (c) 2007 Sun Microsystems, Inc.
7117N/A# This file and all modifications and additions to the pristine
7117N/A# package are under the same license as the package itself.
7117N/A#
7117N/A# Owner: mattman
7117N/A#
7117N/A# bugdb: bugzilla.freedesktop.org
7117N/A#
7117N/AName: rarian
7117N/ALicense: GPL
7117N/AGroup: System/GUI/GNOME
7117N/AVersion: 0.5.8
7117N/ARelease: 1
7117N/ADistribution: Java Desktop System
7117N/AVendor: Sun Microsystems, Inc.
7117N/ASummary: Documentation meta-data library
7117N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.bz2
7117N/A#owner:dcarbery date:2007-08-17 type:bug bugzilla:10243
7117N/APatch1: rarian-01-pc-newline.diff
7117N/AURL: www.freedesktop.org
7082N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
7082N/AAutoreqprov: on
7082N/A
7117N/A%description
7082N/ARarian (formerly Spoon) is a documentation meta-data library, designed as a
7082N/Areplacement for Scrollkeeper.
7082N/A
7082N/A%prep
7117N/A%setup -q
7117N/A%patch1 -p1
7117N/A
7117N/A
7117N/A%build
7117N/A%ifos linux
7117N/Aif [ -x /usr/bin/getconf ]; then
7117N/A CPUS=`getconf _NPROCESSORS_ONLN`
7117N/Afi
7117N/A%else
7117N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
7117N/A%endif
7117N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
7117N/A CPUS=1
7117N/Afi
7117N/A
7117N/A#libtoolize --force
7117N/A#glib-gettextize -f
7117N/A#intltoolize --force --copy
7117N/A#aclocal $ACLOCAL_FLAGS
7117N/A#autoheader
7117N/A#automake -a -c -f
7117N/A#autoconf
7117N/A
7082N/A./configure \
7117N/A --prefix=%{_prefix} \
7117N/A --datadir=%{_datadir} \
7117N/A --libexecdir=%{_libexecdir} \
7082N/A --localstatedir=/var
7082N/Amake -j $CPUS
7082N/A
7082N/A%install
7117N/Amake install DESTDIR=$RPM_BUILD_ROOT
7082N/Arm $RPM_BUILD_ROOT%{_libdir}/librarian.*a
7117N/A
7082N/A%clean
7082N/Arm -rf $RPM_BUILD_ROOT
7082N/A
7082N/A%changelog
7117N/A* Fri Aug 17 2007 - damien.carbery@sun.com
7117N/A- Add patch 01-pc-newline to fix #12043, to add a newline to rarian.pc.in as
7082N/A the last line is lost during processing (a sed bug?).
7082N/A
7082N/A* Wed Aug 15 2007 - damien.carbery@sun.com
7082N/A- Bump to 0.5.8. Remove upstream patch, 01-solaris-build.
* Wed Aug 01 2007 - damien.carbery@sun.com
- Initial version.