author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 6297 | 325024482887 |
child 6460 | 87aa96a946fc |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package gnome-doc-utils |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
Name: gnome-doc-utils |
|
9 |
License: GPL |
|
10 |
Group: System/Libraries |
|
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6184
diff
changeset
|
11 |
Version: 0.4.4 |
6038 | 12 |
Release: 3 |
5518 | 13 |
Distribution: Java Desktop System |
14 |
Vendor: Sun Microsystems, Inc. |
|
15 |
Summary: Documentation utilities for GNOME |
|
6016
b54189f766bc
*.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents:
5777
diff
changeset
|
16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 |
5518 | 17 |
URL: http://www.gnome.org |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_defaultdocdir}/%{name} |
|
20 |
Autoreqprov: on |
|
21 |
||
22 |
%define libxml2_version 2.6.12 |
|
23 |
%define libxslt_version 1.1.8 |
|
24 |
||
25 |
Requires: libxml2 >= %{libxml2_version} |
|
26 |
Requires: libxslt >= %{libxslt_version} |
|
27 |
||
28 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
29 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
30 |
||
31 |
%description |
|
32 |
This package contains a selection of utilities for managing documents |
|
33 |
in the GNOME desktop. |
|
34 |
||
35 |
The xml2po program is used to convert between PO files and XML documents. |
|
36 |
Within gnome-doc-utils, it is used primarily to translate documentation |
|
37 |
written in the DocBook format. |
|
38 |
||
39 |
The gnome-doc-prepare script is used to initialize your source tree for |
|
40 |
using the gnome-doc-utils build utilities. It can also be used to |
|
41 |
create a template document and the necessary supporting files and folders. |
|
42 |
||
43 |
%prep |
|
44 |
%setup -q |
|
45 |
||
46 |
%build |
|
47 |
%ifos linux |
|
48 |
if [ -x /usr/bin/getconf ]; then |
|
49 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
50 |
fi |
|
51 |
%else |
|
52 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
53 |
%endif |
|
54 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
55 |
CPUS=1 |
|
56 |
fi |
|
57 |
||
58 |
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \ |
|
59 |
--prefix=%{_prefix} \ |
|
5555 | 60 |
--sysconfdir=%{_sysconfdir} \ |
61 |
--localstatedir=%{_localstatedir}/lib \ |
|
62 |
--disable-scrollkeeper |
|
63 |
||
5518 | 64 |
make -j $CPUS |
65 |
||
66 |
%install |
|
67 |
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install |
|
68 |
||
69 |
#man pages |
|
70 |
mv -f $RPM_BUILD_ROOT/%{_prefix}/man $RPM_BUILD_ROOT/%{_datadir}/man |
|
71 |
||
72 |
%clean |
|
73 |
rm -rf $RPM_BUILD_ROOT |
|
74 |
||
75 |
%files |
|
76 |
%defattr (-, root, root) |
|
77 |
%{_bindir}/gnome-doc-prepare |
|
78 |
%{_bindir}/xml2po |
|
79 |
%{_libdir}/pkgconfig/* |
|
80 |
%{_mandir}/man1/* |
|
81 |
%{_datadir}/aclocal/* |
|
82 |
%{_datadir}/gnome-doc-utils/* |
|
83 |
%{_datadir}/gnome/help/* |
|
84 |
%{_datadir}/omf/* |
|
85 |
%{_datadir}/xml/* |
|
86 |
%{_datadir}/xml2po/* |
|
87 |
||
88 |
%changelog |
|
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6184
diff
changeset
|
89 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6184
diff
changeset
|
90 |
- Bump to 0.4.4. |
6184 | 91 |
* Wed Oct 26 2005 - [email protected] |
92 |
- Bump to 0.4.3. |
|
6038 | 93 |
* Thu Sep 29 2005 - [email protected] |
94 |
- Bump to 0.4.2. |
|
5777 | 95 |
* Thu Sep 08 2005 - [email protected] |
96 |
- Bump to 0.4.1 since this contains some fixes that cause things |
|
97 |
to break for Solaris in 0.4.0. |
|
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
98 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
99 |
- Bump to 0.3.2. |
5518 | 100 |
* Thu Jun 09 2005 - [email protected] |
101 |
- Update so that builds |
|
102 |
* Wed May 18 2005 - [email protected] |
|
103 |
- Initial spec of gnome-doc-utils |