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