patched to use python 2.7 [release 0.20.10-2mamba;Mon Apr 15 2013]
This commit is contained in:
parent
78ef5aa4f5
commit
9ddca6d998
@ -1,2 +1,6 @@
|
||||
# gnome-doc-utils
|
||||
|
||||
Gnome-doc-utils is a collection of documentation utilities for the Gnome project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp. Starting with Gnome 2.8, Yelp will require gnome-doc-utils for the XSLT.
|
||||
|
||||
Gnome documentation utilities.
|
||||
|
||||
|
9
gnome-doc-utils-0.20.10-python-2.7.patch
Normal file
9
gnome-doc-utils-0.20.10-python-2.7.patch
Normal file
@ -0,0 +1,9 @@
|
||||
diff -Nru gnome-doc-utils-0.20.10.orig/xml2po/xml2po/xml2po.py.in gnome-doc-utils-0.20.10/xml2po/xml2po/xml2po.py.in
|
||||
--- gnome-doc-utils-0.20.10.orig/xml2po/xml2po/xml2po.py.in 2010-12-13 17:14:07.000000000 +0100
|
||||
+++ gnome-doc-utils-0.20.10/xml2po/xml2po/xml2po.py.in 2013-04-15 02:23:59.135456759 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python -u
|
||||
+#!/usr/bin/python2.7 -u
|
||||
# -*- encoding: utf-8 -*-
|
||||
# Copyright (c) 2004, 2005, 2006 Danilo Šegan <danilo@gnome.org>.
|
||||
# Copyright (c) 2009 Claude Paroz <claude@2xlibre.net>.
|
145
gnome-doc-utils.spec
Normal file
145
gnome-doc-utils.spec
Normal file
@ -0,0 +1,145 @@
|
||||
### AUTOUPDATE-OFF: 9
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
Name: gnome-doc-utils
|
||||
Version: 0.20.10
|
||||
Release: 2mamba
|
||||
Summary: A collection of documentation utilities for the Gnome project
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: ftp://ftp.gnome.org
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-doc-utils/%{majver}/gnome-doc-utils-%{version}.tar.xz
|
||||
Patch0: gnome-doc-utils-0.20.10-python-2.7.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-XML-Parser
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: python-libxml2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Gnome-doc-utils is a collection of documentation utilities for the Gnome project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp. Starting with Gnome 2.8, Yelp will require gnome-doc-utils for the XSLT.
|
||||
|
||||
Gnome documentation utilities.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
||||
|
||||
%description devel
|
||||
gnome-doc-utils is a collection of documentation utilities for the Gnome project. Notably, it contains utilities for building documentation and all auxiliary files in your source tree, and it contains the DocBook XSLT stylesheets that were once distributed with Yelp. Starting with Gnome 2.8, Yelp will require gnome-doc-utils for the XSLT.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export PYTHON=%{__python27}
|
||||
%configure --disable-scrollkeeper
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
#%find_lang gnome-doc-make --with-gnome
|
||||
#%find_lang gnome-doc-xslt --with-gnome
|
||||
#cat gnome-doc-xslt.lang gnome-doc-make.lang >> %{name}.lang
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gnome-doc-prepare
|
||||
%{_bindir}/gnome-doc-tool
|
||||
%{_bindir}/xml2po
|
||||
%{_datadir}/gnome/help/gnome-doc-make/
|
||||
%{_datadir}/gnome/help/gnome-doc-xslt/
|
||||
%{_datadir}/gnome-doc-utils/*
|
||||
#%{_datadir}/omf/gnome-doc-make/*
|
||||
#%{_datadir}/omf/gnome-doc-xslt/*
|
||||
%{_datadir}/xml/gnome/xslt/docbook/common/*
|
||||
%{_datadir}/xml/gnome/xslt/docbook/html/*
|
||||
%{_datadir}/xml/gnome/xslt/docbook/omf/*
|
||||
%{_datadir}/xml/gnome/xslt/docbook/utils/*
|
||||
%{_datadir}/xml/gnome/xslt/gettext/*
|
||||
%{_datadir}/xml/gnome/xslt/common/theme.xsl
|
||||
%{_datadir}/xml/gnome/xslt/common/utils.xsl
|
||||
%{_datadir}/xml/gnome/xslt/mallard
|
||||
%{_datadir}/xml/mallard/1.0/mallard.rnc
|
||||
%{_datadir}/xml/mallard/1.0/mallard.rng
|
||||
%{python27_sitearch}/xml2po
|
||||
#%{_datadir}/xml/gnome/xslt/xsldoc/*
|
||||
#%{_datadir}/xml2po/*
|
||||
%{_mandir}/man1/xml2po.*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/aclocal/gnome-doc-utils.m4
|
||||
%{_datadir}/pkgconfig/*.pc
|
||||
%doc ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
* Mon Apr 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.10-2mamba
|
||||
- patched to use python 2.7
|
||||
|
||||
* Mon Jul 02 2012 Automatic Build System <autodist@mambasoft.it> 0.20.10-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 21 2012 Automatic Build System <autodist@mambasoft.it> 0.20.9-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Mar 18 2012 Automatic Build System <autodist@mambasoft.it> 0.20.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Mar 12 2012 Automatic Build System <autodist@mambasoft.it> 0.20.7-1mamba
|
||||
- update to 0.20.7
|
||||
|
||||
* Tue May 03 2011 Automatic Build System <autodist@mambasoft.it> 0.20.6-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Mar 22 2011 Automatic Build System <autodist@mambasoft.it> 0.20.5-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Jan 10 2011 Automatic Build System <autodist@mambasoft.it> 0.20.4-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Dec 20 2010 Automatic Build System <autodist@mambasoft.it> 0.20.3-1mamba
|
||||
- automatic update to 0.20.3 by autodist
|
||||
|
||||
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 0.20.2-1mamba
|
||||
- automatic update to 0.20.2 by autodist
|
||||
|
||||
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 0.20.1-1mamba
|
||||
- update to 0.20.1
|
||||
|
||||
* Thu Oct 02 2008 gil <puntogil@libero.it> 0.14.0-1mamba
|
||||
- update to 0.14.0
|
||||
|
||||
* Mon May 19 2008 gil <puntogil@libero.it> 0.12.2-1mamba
|
||||
- update to version 0.12.2
|
||||
|
||||
* Tue Apr 10 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.10.1-1mamba
|
||||
- update to version 0.10.1
|
||||
|
||||
* Thu Jan 11 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.8.0-1qilnx
|
||||
- update to version 0.8.0 by autospec
|
||||
|
||||
* Tue Mar 14 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.0-2qilnx
|
||||
- use %%find_lang and %%majversion
|
||||
- added missing build requirements
|
||||
|
||||
* Mon Mar 13 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user