gnome-doc-utils.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6297 325024482887
child 6460 87aa96a946fc
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.
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
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     8
Name:			gnome-doc-utils
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     9
License:		GPL
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    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
fd6d4bcdd2bb 2005-09-29 Brian Cameron <[email protected]>
bc99092
parents: 6016
diff changeset
    12
Release:		3
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
Distribution:		Java Desktop System
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    14
Vendor:			Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    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
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    17
URL:			http://www.gnome.org
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    18
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    19
Docdir:			%{_defaultdocdir}/%{name}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    20
Autoreqprov:		on
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
%define libxml2_version 2.6.12
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
%define libxslt_version 1.1.8
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    24
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    25
Requires:	libxml2 >= %{libxml2_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
Requires:	libxslt >= %{libxslt_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    28
BuildRequires:	libxml2-devel >= %{libxml2_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
BuildRequires:	libxslt-devel >= %{libxslt_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
%description
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
This package contains a selection of utilities for managing documents 
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
in the GNOME desktop.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
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
    36
Within gnome-doc-utils, it is used primarily to translate documentation
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
written in the DocBook format. 
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
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
    40
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
    41
create a template document and the necessary supporting files and folders.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
%setup -q
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    45
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
if [ -x /usr/bin/getconf ]; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    49
  CPUS=`getconf _NPROCESSORS_ONLN`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
%endif
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
if test "x$CPUS" = "x" -o $CPUS = 0; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
  CPUS=1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    57
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    58
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
        --prefix=%{_prefix} \
5555
e092f7279a26 2005-08-18 Glynn Foster <[email protected]>
gman
parents: 5528
diff changeset
    60
        --sysconfdir=%{_sysconfdir} \
e092f7279a26 2005-08-18 Glynn Foster <[email protected]>
gman
parents: 5528
diff changeset
    61
	--localstatedir=%{_localstatedir}/lib \
e092f7279a26 2005-08-18 Glynn Foster <[email protected]>
gman
parents: 5528
diff changeset
    62
	--disable-scrollkeeper
e092f7279a26 2005-08-18 Glynn Foster <[email protected]>
gman
parents: 5528
diff changeset
    63
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    64
make -j $CPUS
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    65
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    66
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    67
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
    68
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
#man pages
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
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
    71
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    74
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    75
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    76
%defattr (-, root, root)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    77
%{_bindir}/gnome-doc-prepare
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    78
%{_bindir}/xml2po
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
%{_libdir}/pkgconfig/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    80
%{_mandir}/man1/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    81
%{_datadir}/aclocal/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    82
%{_datadir}/gnome-doc-utils/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    83
%{_datadir}/gnome/help/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    84
%{_datadir}/omf/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    85
%{_datadir}/xml/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    86
%{_datadir}/xml2po/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    87
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    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
6bfe125dbd75 * gnome-doc-utils.spec: Bump to 0.4.3.
dc144907
parents: 6038
diff changeset
    91
* Wed Oct 26 2005 - [email protected]
6bfe125dbd75 * gnome-doc-utils.spec: Bump to 0.4.3.
dc144907
parents: 6038
diff changeset
    92
- Bump to 0.4.3.
6038
fd6d4bcdd2bb 2005-09-29 Brian Cameron <[email protected]>
bc99092
parents: 6016
diff changeset
    93
* Thu Sep 29 2005 - [email protected]
fd6d4bcdd2bb 2005-09-29 Brian Cameron <[email protected]>
bc99092
parents: 6016
diff changeset
    94
- Bump to 0.4.2.
5777
dc098cf3a13d 2005-09-08 Brian Cameron <[email protected]>
bc99092
parents: 5555
diff changeset
    95
* Thu Sep 08 2005 - [email protected]
dc098cf3a13d 2005-09-08 Brian Cameron <[email protected]>
bc99092
parents: 5555
diff changeset
    96
- 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
    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
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   100
* Thu Jun 09 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   101
- Update so that builds
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   102
* Wed May 18 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   103
- Initial spec of gnome-doc-utils