|
|
17f5a1e |
%{!?python:%define python python}
|
|
|
17f5a1e |
%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
51e46c8 |
|
|
|
51e46c8 |
Name: %{python}-twisted-lore
|
|
|
46c0d34 |
Version: 12.2.0
|
|
|
b953f90 |
Release: 4%{?dist}
|
|
|
17f5a1e |
Summary: Documentation generator with HTML and LaTeX support
|
|
|
51e46c8 |
License: MIT
|
|
|
17f5a1e |
URL: http://www.twistedmatrix.com/trac/wiki/TwistedLore
|
|
|
46c0d34 |
Source0: http://twistedmatrix.com/Releases/Lore/12.2/TwistedLore-%{version}.tar.bz2
|
|
|
95dde4e |
BuildRequires: %{python}-twisted-core >= %{version}
|
|
|
17f5a1e |
BuildRequires: %{python}-devel
|
|
|
95dde4e |
Requires: %{python}-twisted-core >= %{version}
|
|
|
51e46c8 |
Requires: %{python}-twisted-web
|
|
|
51e46c8 |
|
|
|
51e46c8 |
# a noarch-turned-arch package should not have debuginfo
|
|
|
51e46c8 |
%define debug_package %{nil}
|
|
|
51e46c8 |
|
|
|
51e46c8 |
%description
|
|
|
51e46c8 |
Twisted is an event-based framework for internet applications.
|
|
|
51e46c8 |
|
|
|
51e46c8 |
Lore is a complete documentation system based on XHTML and can generate
|
|
|
51e46c8 |
documentation into other formats such as PDF, HTML.
|
|
|
51e46c8 |
|
|
|
51e46c8 |
%prep
|
|
|
17f5a1e |
%setup -q -n TwistedLore-%{version}
|
|
|
51e46c8 |
|
|
|
17f5a1e |
# Fix line endings
|
|
|
89ed625 |
sed -i -e 's,\r$,,' doc/howto/listings/lore/*
|
|
|
51e46c8 |
|
|
|
51e46c8 |
%build
|
|
|
17f5a1e |
%{python} setup.py build
|
|
|
51e46c8 |
|
|
|
51e46c8 |
%install
|
|
|
89ed625 |
rm -rf $RPM_BUILD_ROOT
|
|
|
51e46c8 |
|
|
|
17f5a1e |
# This is a pure python package, but extending the twisted namespace from
|
|
|
17f5a1e |
# python-twisted-core, which is arch-specific, so it needs to go in sitearch
|
|
|
17f5a1e |
%{python} setup.py install -O1 --skip-build \
|
|
|
89ed625 |
--install-purelib %{python_sitearch} --root $RPM_BUILD_ROOT
|
|
|
51e46c8 |
|
|
|
51e46c8 |
# Man pages
|
|
|
89ed625 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
89ed625 |
cp -a doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
89ed625 |
rm -rf doc/man
|
|
|
17f5a1e |
|
|
|
17f5a1e |
# See if there's any egg-info
|
|
|
89ed625 |
if [ -f $RPM_BUILD_ROOT%{python_sitearch}/Twisted*.egg-info ]; then
|
|
|
89ed625 |
echo $RPM_BUILD_ROOT%{python_sitearch}/Twisted*.egg-info |
|
|
|
89ed625 |
sed -e "s|^$RPM_BUILD_ROOT||"
|
|
|
17f5a1e |
fi > egg-info
|
|
|
51e46c8 |
|
|
|
17f5a1e |
%post
|
|
|
17f5a1e |
if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
|
|
|
17f5a1e |
%{_libexecdir}/twisted-dropin-cache || :
|
|
|
17f5a1e |
fi
|
|
|
51e46c8 |
|
|
|
17f5a1e |
%postun
|
|
|
17f5a1e |
if [ -x %{_libexecdir}/twisted-dropin-cache ]; then
|
|
|
17f5a1e |
%{_libexecdir}/twisted-dropin-cache || :
|
|
|
17f5a1e |
fi
|
|
|
51e46c8 |
|
|
|
17f5a1e |
%files -f egg-info
|
|
|
17f5a1e |
%doc LICENSE NEWS README doc/*
|
|
|
51e46c8 |
%{_bindir}/lore
|
|
|
17f5a1e |
%{_mandir}/man1/lore.1*
|
|
|
51e46c8 |
%{python_sitearch}/twisted/lore/
|
|
|
51e46c8 |
%{python_sitearch}/twisted/plugins/twisted_lore.py*
|
|
|
51e46c8 |
|
|
|
51e46c8 |
%changelog
|
|
|
b953f90 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.2.0-4
|
|
|
b953f90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
b953f90 |
|
|
|
00e80d6 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.2.0-3
|
|
|
00e80d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
00e80d6 |
|
|
|
05f2dd0 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.2.0-2
|
|
|
05f2dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
05f2dd0 |
|
|
|
46c0d34 |
* Mon Sep 03 2012 Julian Sikorski <belegdol@fedoraproject.org> - 12.2.0-1
|
|
|
46c0d34 |
- Updated to 12.2.0
|
|
|
46c0d34 |
|
|
|
7a9a3c8 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.1.0-2
|
|
|
7a9a3c8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7a9a3c8 |
|
|
|
9f086bb |
* Sun Jun 17 2012 Julian Sikorski <belegdol@fedoraproject.org> - 12.1.0-1
|
|
|
9f086bb |
- Updated to 12.1.0
|
|
|
9f086bb |
|
|
|
240bb30 |
* Sun Feb 12 2012 Julian Sikorski <belegdol@fedoraproject.org> - 12.0.0-1
|
|
|
240bb30 |
- Updated to 12.0.0
|
|
|
240bb30 |
|
|
|
e1f11dd |
* Sat Jan 07 2012 Julian Sikorski <belegdol@fedoraproject.org> - 11.1.0-2
|
|
|
e1f11dd |
- Rebuilt for gcc-4.7
|
|
|
e1f11dd |
|
|
|
6ed2955 |
* Fri Nov 18 2011 Julian Sikorski <belegdol@fedoraproject.org> - 11.1.0-1
|
|
|
6ed2955 |
- Updated to 11.1.0
|
|
|
6ed2955 |
- Dropped obsolete Group, Buildroot, %%clean and %%defattr
|
|
|
6ed2955 |
|
|
|
32e08a4 |
* Sat Apr 30 2011 Julian Sikorski <belegdol@fedoraproject.org> - 11.0.0-1
|
|
|
32e08a4 |
- Updated to 11.0.0
|
|
|
32e08a4 |
|
|
|
e8391e5 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 10.2.0-2
|
|
|
e8391e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e8391e5 |
|
|
|
186ca84 |
* Sat Jan 15 2011 Julian Sikorski <belegdol@fedoraproject.org> - 10.2.0-1
|
|
|
186ca84 |
- Updated to 10.2.0
|
|
|
186ca84 |
|
|
|
95dde4e |
* Tue Sep 21 2010 Julian Sikorski <belegdol@fedoraproject.org> - 10.1.0-1
|
|
|
95dde4e |
- Updated to 10.1.0
|
|
|
95dde4e |
- Switched to macros for versioned dependencies
|
|
|
95dde4e |
|
|
|
435845b |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 8.2.0-4
|
|
|
435845b |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
435845b |
|
|
|
c130986 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2.0-3
|
|
|
c130986 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c130986 |
|
|
|
fa9c362 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2.0-2
|
|
|
fa9c362 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fa9c362 |
|
|
|
89ed625 |
* Mon Dec 29 2008 Matthias Saou <http://freshrpms.net/> 8.2.0-1
|
|
|
89ed625 |
- Update to 8.2.0.
|
|
|
89ed625 |
- Change back spec cosmetic details from Paul's to Thomas' preference.
|
|
|
89ed625 |
- Remove no longer installed "bookify" program.
|
|
|
89ed625 |
|
|
|
17f5a1e |
* Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 8.1.0-2
|
|
|
17f5a1e |
- Update to 8.1.0.
|
|
|
17f5a1e |
- Merge back changes from Paul Howarth.
|
|
|
17f5a1e |
- Make sure the scriplets never return a non-zero exit status.
|
|
|
17f5a1e |
|
|
|
b24376b |
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.0-3
|
|
|
b24376b |
- Fix locations for Python 2.6
|
|
|
b24376b |
|
|
|
01ebf72 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.0-2
|
|
|
01ebf72 |
- Rebuild for Python 2.6
|
|
|
01ebf72 |
|
|
|
d03f589 |
* Wed May 21 2008 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
d03f589 |
- Update to 0.3.0 release
|
|
|
d03f589 |
|
|
|
df9cca8 |
* Fri Mar 07 2008 Jesse Keating <jkeating@redhat.com> - 0.2.0-6
|
|
|
df9cca8 |
- Handle the egg, drop the pyver stuff.
|
|
|
df9cca8 |
|
|
|
a3510fe |
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.0-5
|
|
|
a3510fe |
- Autorebuild for GCC 4.3
|
|
|
a3510fe |
|
|
|
51e46c8 |
* Wed Jan 03 2007 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
51e46c8 |
- 0.2.0-4
|
|
|
51e46c8 |
- add python-devel BR
|
|
|
51e46c8 |
- add docs
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Wed Nov 01 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
51e46c8 |
- 0.2.0-3
|
|
|
51e46c8 |
- fix end-of-line on some files
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Tue Sep 26 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
51e46c8 |
- 0.2.0-2
|
|
|
51e46c8 |
- no longer ghost .pyo files
|
|
|
51e46c8 |
- rebuild dropin.cache
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Wed Jun 07 2006 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
51e46c8 |
- 0.2.0-1
|
|
|
51e46c8 |
- remove noarch
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Tue Aug 23 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 0.1.0-2
|
|
|
51e46c8 |
- disttag
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Fri Mar 25 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 0.1.0-1
|
|
|
51e46c8 |
- final release
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Wed Mar 16 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 0.1.0-0.1.a3
|
|
|
51e46c8 |
- upstream release
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Sat Mar 12 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 0.1.0-0.1.a2
|
|
|
51e46c8 |
- prerelease; FE versioning
|
|
|
51e46c8 |
|
|
|
51e46c8 |
* Mon Feb 07 2005 Jeff Pitman <symbiont+pyvault@berlios.de> 0.1.0-1
|
|
|
51e46c8 |
- prep for split
|
|
|
51e46c8 |
|