[trac-tocmacro-plugin/f16] Initial import (#770299)

averi averi at fedoraproject.org
Wed Dec 28 12:49:29 UTC 2011


commit e4ad3efbc6584bc39573a711e7e71e356e0daf22
Author: Andrea Veri <averi at fedoraproject.org>
Date:   Wed Dec 28 13:48:38 2011 +0100

    Initial import (#770299)

 .gitignore                |    1 +
 sources                   |    1 +
 trac-tocmacro-plugin.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a3118b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/trac-tocmacro-plugin-0.11.svn11062.tar.gz
diff --git a/sources b/sources
index e69de29..f8cd4e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e318b280c536f0e8f0bf5f7eab6d16ec  trac-tocmacro-plugin-0.11.svn11062.tar.gz
diff --git a/trac-tocmacro-plugin.spec b/trac-tocmacro-plugin.spec
new file mode 100644
index 0000000..14f43ed
--- /dev/null
+++ b/trac-tocmacro-plugin.spec
@@ -0,0 +1,43 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name:           trac-tocmacro-plugin
+Version:        0.11.0.0.3
+Release:        20111225svn11062%{?dist}
+Summary:        Trac plugin table of content macro
+
+Group:          Applications/Internet
+License:        BSD
+URL:            http://trac-hacks.org/wiki/TocMacro
+# Produce via 'svn export -r11062 http://trac-hacks.org/svn/tocmacro/0.11 tocmacro'
+# tar -czvf trac-tocmacro-plugin-0.11.svn11062.tar.gz tocmacro
+Source0:        trac-tocmacro-plugin-0.11.svn11062.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel, python-setuptools
+Requires:       trac >= 0.10
+
+%description
+The TocMacro's Trac plugin generates a table of contents for
+the current page or a set of pages.
+
+%prep
+%setup -q -n tocmacro
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/*
+
+%changelog
+* Sun Dec 25 2011 Andrea Veri <averi at fedoraproject.org> - 0.11.0.0.3-20111225svn11062
+- First package release.


More information about the scm-commits mailing list