author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 16899 | d4c5c56217bb |
permissions | -rw-r--r-- |
10240 | 1 |
# |
2 |
# spec file for package rarian |
|
3 |
# |
|
11411 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
10240 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner mattman |
10240 | 9 |
# |
10 |
# bugdb: bugzilla.freedesktop.org |
|
11 |
# |
|
16427 | 12 |
|
13 |
%define OSR gnome.org:0 |
|
14 |
||
10240 | 15 |
Name: rarian |
16 |
License: GPL |
|
17 |
Group: System/GUI/GNOME |
|
13526 | 18 |
Version: 0.8.1 |
10240 | 19 |
Release: 1 |
20 |
Distribution: Java Desktop System |
|
21 |
Vendor: Sun Microsystems, Inc. |
|
22 |
Summary: Documentation meta-data library |
|
11830 | 23 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2 |
11674 | 24 |
#owner:gheet date:2008-02-20 type:bug bugzilla:11839 bugster:6639279 |
25 |
Patch1: rarian-01-fix-sk-update.diff |
|
13389 | 26 |
#owner:gheet date:2008-09-03 type:bug bugzilla:17420 bugster:6646976 |
27 |
Patch2: rarian-02-input-para.diff |
|
14409
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
28 |
#owner:mattman date:2008-10-02 type:bug bugzilla:17876 bugster:6702290 |
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
29 |
Patch3: rarian-03-yelp-performance.diff |
10240 | 30 |
URL: www.freedesktop.org |
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
32 |
Autoreqprov: on |
|
33 |
||
34 |
%description |
|
35 |
Rarian (formerly Spoon) is a documentation meta-data library, designed as a |
|
36 |
replacement for Scrollkeeper. |
|
37 |
||
38 |
%prep |
|
39 |
%setup -q |
|
11687 | 40 |
%patch1 -p1 |
13389 | 41 |
%patch2 -p1 |
14409
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
42 |
%patch3 -p1 |
10240 | 43 |
|
44 |
||
45 |
%build |
|
46 |
%ifos linux |
|
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
52 |
%endif |
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
57 |
#libtoolize --force |
|
58 |
#glib-gettextize -f |
|
59 |
#intltoolize --force --copy |
|
60 |
#aclocal $ACLOCAL_FLAGS |
|
61 |
#autoheader |
|
62 |
#automake -a -c -f |
|
63 |
#autoconf |
|
64 |
||
65 |
./configure \ |
|
66 |
--prefix=%{_prefix} \ |
|
67 |
--datadir=%{_datadir} \ |
|
68 |
--libexecdir=%{_libexecdir} \ |
|
11687 | 69 |
--localstatedir=/var \ |
70 |
--disable-skdb-update |
|
10240 | 71 |
make -j $CPUS |
72 |
||
73 |
%install |
|
74 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
75 |
rm $RPM_BUILD_ROOT%{_libdir}/librarian.*a |
|
12147 | 76 |
|
77 |
#%check |
|
78 |
make check |
|
79 |
||
10240 | 80 |
%clean |
81 |
rm -rf $RPM_BUILD_ROOT |
|
82 |
||
83 |
%changelog |
|
14409
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
84 |
* Thu Oct 02 2008 - [email protected] |
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
85 |
- Fix bugster:6702290, yelp performance issue |
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
86 |
|
13526 | 87 |
* Wed Sep 10 2008 - [email protected] |
14409
02956aaed16c
* base-specs/rarian.spec : Add patch 03-yelp-performance.diff
mattman
parents:
13526
diff
changeset
|
88 |
- Bump to 0.8.1. |
13526 | 89 |
|
13389 | 90 |
* Wed Sep 03 2008 - [email protected] |
91 |
- Added patch rarian-02-input-para.dif to fix 6646976. |
|
92 |
||
12147 | 93 |
* Wed Apr 16 2008 - [email protected] |
94 |
- Add 'make check' call after %install. |
|
95 |
||
11830 | 96 |
* Mon Mar 10 2008 - [email protected] |
97 |
- Bump to 0.8.0. |
|
98 |
||
11687 | 99 |
* Thu Feb 21 2008 - [email protected] |
100 |
- Added --disable-skdb-update to build successful for the patch |
|
101 |
rarian-02-fix-sk-update.diff. |
|
11688 | 102 |
|
11674 | 103 |
* Wed Feb 20 2008 - [email protected] |
104 |
- Added patch rarian-02-fix-sk-update.diff |
|
11411 | 105 |
* Tue Jan 08 2002 - [email protected] |
106 |
- Bump to 0.7.1. |
|
107 |
||
11246 | 108 |
* Tue Nov 27 2007 - [email protected] |
109 |
- Bump to 0.7.0. Remove upstream patch 01-reg-return. |
|
110 |
||
10666
85b1e1bc4e56
* base-specs/rarian.spec : Add patch rarian-01-reg-return.diff to fix
mattman
parents:
10525
diff
changeset
|
111 |
* Tue Oct 16 2007 - [email protected] |
85b1e1bc4e56
* base-specs/rarian.spec : Add patch rarian-01-reg-return.diff to fix
mattman
parents:
10525
diff
changeset
|
112 |
- Add patch 01-reg-return to fix 12279 crash bug. |
85b1e1bc4e56
* base-specs/rarian.spec : Add patch rarian-01-reg-return.diff to fix
mattman
parents:
10525
diff
changeset
|
113 |
|
10525 | 114 |
* Wed Sep 19 2007 - [email protected] |
115 |
- Bump to 0.6.0. Remove upstream patches, 01-pc-newline and 02-memory-wua. |
|
116 |
||
10347 | 117 |
* Fri Aug 17 2007 - [email protected] |
118 |
- Add patch 01-pc-newline to fix #12043, to add a newline to rarian.pc.in as |
|
119 |
the last line is lost during processing (a sed bug?). |
|
120 |
||
10326 | 121 |
* Wed Aug 15 2007 - [email protected] |
122 |
- Bump to 0.5.8. Remove upstream patch, 01-solaris-build. |
|
123 |
||
10240 | 124 |
* Wed Aug 01 2007 - [email protected] |
125 |
- Initial version. |