bumping version (should make this a generated file)

This commit is contained in:
Martin A. Brown 2016-03-04 13:50:27 -08:00
parent bf3d559fc6
commit 812bde4595
1 changed files with 73 additions and 0 deletions

contrib/tldp.spec Normal file
View File

@ -0,0 +1,73 @@
%define sourcename tldp
%define name python-tldp
%define version 0.4.8
%define unmangled_version 0.4.8
%define unmangled_version 0.4.8
%define release 1
Summary: tools for processing all TLDP source documents
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{sourcename}-%{unmangled_version}.tar.gz
License: MIT
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Martin A. Brown <martin@linux-ip.net>
tldp - tools for publishing from TLDP sources
A toolset for publishing multiple output formats of a source document to an
output directory. The supported source formats can be listed, but contain at
least, Linuxdoc, DocBookSGML and DocBook XML 4.x.
TLDP = The Linux Documentation Project.
These are a set of scripts that process committed documents in the
TLDP document source repository to an output tree of choice.
You can install, upgrade, uninstall tldp tools with these commands::
$ pip install tldp
$ pip install --upgrade tldp
$ pip uninstall tldp
There's also a package for Debian/Ubuntu, but it's not always the
latest version.
Example usages:
FIXME: Missing examples.
* `Output documentation tree (sample) <http://www.tldp.org/>`_
* `Source tree on GitHub <https://github.com/tLDP/LDP>`_
%setup -n %{sourcename}-%{unmangled_version}
python setup.py build
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
perl -pi -e 's,(/etc/ldptool/ldptool.ini),%config(noreplace) $1,' INSTALLED_FILES