author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8530 | ef62fbe8c956 |
child 9124 | d1400552e59a |
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 |
# |
|
8530 | 8 |
# Owner: laca |
9 |
# |
|
5518 | 10 |
Name: gnome-doc-utils |
11 |
License: GPL |
|
12 |
Group: System/Libraries |
|
8063 | 13 |
Version: 0.8.0 |
7691 | 14 |
Release: 1 |
5518 | 15 |
Distribution: Java Desktop System |
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: Documentation utilities for GNOME |
|
8063 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.8/%{name}-%{version}.tar.bz2 |
5518 | 19 |
URL: http://www.gnome.org |
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
Docdir: %{_defaultdocdir}/%{name} |
|
22 |
Autoreqprov: on |
|
23 |
||
24 |
%define libxml2_version 2.6.12 |
|
25 |
%define libxslt_version 1.1.8 |
|
26 |
||
27 |
Requires: libxml2 >= %{libxml2_version} |
|
28 |
Requires: libxslt >= %{libxslt_version} |
|
29 |
||
30 |
BuildRequires: libxml2-devel >= %{libxml2_version} |
|
31 |
BuildRequires: libxslt-devel >= %{libxslt_version} |
|
32 |
||
33 |
%description |
|
34 |
This package contains a selection of utilities for managing documents |
|
35 |
in the GNOME desktop. |
|
36 |
||
37 |
The xml2po program is used to convert between PO files and XML documents. |
|
38 |
Within gnome-doc-utils, it is used primarily to translate documentation |
|
39 |
written in the DocBook format. |
|
40 |
||
41 |
The gnome-doc-prepare script is used to initialize your source tree for |
|
42 |
using the gnome-doc-utils build utilities. It can also be used to |
|
43 |
create a template document and the necessary supporting files and folders. |
|
44 |
||
45 |
%prep |
|
46 |
%setup -q |
|
47 |
||
48 |
%build |
|
49 |
%ifos linux |
|
50 |
if [ -x /usr/bin/getconf ]; then |
|
51 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
52 |
fi |
|
53 |
%else |
|
54 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
55 |
%endif |
|
56 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
57 |
CPUS=1 |
|
58 |
fi |
|
59 |
||
60 |
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \ |
|
61 |
--prefix=%{_prefix} \ |
|
5555 | 62 |
--sysconfdir=%{_sysconfdir} \ |
63 |
--localstatedir=%{_localstatedir}/lib \ |
|
64 |
--disable-scrollkeeper |
|
65 |
||
5518 | 66 |
make -j $CPUS |
67 |
||
68 |
%install |
|
69 |
make prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install |
|
70 |
||
71 |
#man pages |
|
72 |
mv -f $RPM_BUILD_ROOT/%{_prefix}/man $RPM_BUILD_ROOT/%{_datadir}/man |
|
73 |
||
74 |
%clean |
|
75 |
rm -rf $RPM_BUILD_ROOT |
|
76 |
||
77 |
%files |
|
78 |
%defattr (-, root, root) |
|
79 |
%{_bindir}/gnome-doc-prepare |
|
80 |
%{_bindir}/xml2po |
|
81 |
%{_libdir}/pkgconfig/* |
|
82 |
%{_mandir}/man1/* |
|
83 |
%{_datadir}/aclocal/* |
|
84 |
%{_datadir}/gnome-doc-utils/* |
|
85 |
%{_datadir}/gnome/help/* |
|
86 |
%{_datadir}/omf/* |
|
87 |
%{_datadir}/xml/* |
|
88 |
%{_datadir}/xml2po/* |
|
89 |
||
90 |
%changelog |
|
8063 | 91 |
* Tue Sep 05 2006 - [email protected] |
92 |
- Bump to 0.8.0. |
|
7874 | 93 |
* Tue Aug 08 2006 - [email protected] |
94 |
- Bump to 0.7.2. |
|
95 |
* Wed Jul 21 2006 - [email protected] |
|
7691 | 96 |
- Bump to 0.7.1. |
7599 | 97 |
* Mon Jul 10 2006 - [email protected] |
98 |
- Bump to 0.6.1. |
|
6908 | 99 |
* Sun Mar 12 2006 - [email protected] |
100 |
- Bump to 0.6.0. |
|
6855 | 101 |
* Mon Feb 27 2006 - [email protected] |
102 |
- Bump to 0.5.7. |
|
6793 | 103 |
* Sun Feb 19 2006 - [email protected] |
104 |
- Bump to 0.5.6. |
|
6737 | 105 |
* Mon Feb 13 2006 - [email protected] |
106 |
- Bump to 0.5.5. |
|
6698 | 107 |
* Tue Jan 31 2006 - [email protected] |
108 |
- Bump to 0.5.4. |
|
6460 | 109 |
* Thu Dec 22 2005 - [email protected] |
110 |
- Bump to 0.5.2. |
|
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6184
diff
changeset
|
111 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6184
diff
changeset
|
112 |
- Bump to 0.4.4. |
6184 | 113 |
* Wed Oct 26 2005 - [email protected] |
114 |
- Bump to 0.4.3. |
|
6038 | 115 |
* Thu Sep 29 2005 - [email protected] |
116 |
- Bump to 0.4.2. |
|
5777 | 117 |
* Thu Sep 08 2005 - [email protected] |
118 |
- Bump to 0.4.1 since this contains some fixes that cause things |
|
119 |
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
|
120 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
121 |
- Bump to 0.3.2. |
5518 | 122 |
* Thu Jun 09 2005 - [email protected] |
123 |
- Update so that builds |
|
124 |
* Wed May 18 2005 - [email protected] |
|
125 |
- Initial spec of gnome-doc-utils |