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