eb57ab
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
65d07d
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
eb57ab
eb57ab
Name: rubber
17b577
Version: 1.4
c899e7
Release: 11%{?dist}
eb57ab
Summary: An automated system for building LaTeX documents
eb57ab
eb57ab
License: GPL+
eb57ab
65d07d
URL: https://launchpad.net/%{name}
65d07d
Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
eb57ab
BuildArch: noarch
4d2d8a
BuildRequires: python2-devel texinfo-tex
595d20
Requires: tex(latex)
eb57ab
eb57ab
%description
eb57ab
This is a building system for LaTeX documents. It is based on a routine that
eb57ab
runs just as many compilations as necessary. The module system provides a
eb57ab
great flexibility that virtually allows support for any package with no user
eb57ab
intervention, as well as pre- and post-processing of the document. The
eb57ab
standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex,
eb57ab
makeindex. A good number of standard packages are supported, including
eb57ab
graphics/graphicx (with automatic conversion between various formats and
eb57ab
Metapost compilation).
eb57ab
eb57ab
%prep
eb57ab
%setup -q
eb57ab
for file in doc/man-fr/*; do
eb57ab
iconv -f ISO88591 -t utf8 $file -o $file
eb57ab
done
eb57ab
eb57ab
%build
1aaef2
%py2_build
eb57ab
eb57ab
%install
5bb426
%{__python2} setup.py install --root=%{buildroot} --mandir=%{_mandir} --infodir=%{_infodir}
eb57ab
eb57ab
%files
eb57ab
%doc COPYING NEWS README
eb57ab
%{_bindir}/*
17b577
%{_defaultdocdir}/%{name}/*
eb57ab
%{_datadir}/info/*
58117b
%{python2_sitelib}/*
eb57ab
%{_mandir}/man1/*.gz
eb57ab
%{_mandir}/fr/man1/*.gz
eb57ab
eb57ab
%changelog
c899e7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
c899e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c899e7
b5b851
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-10
b5b851
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b5b851
5bb426
* Tue Aug 21 2018 Sergio Pascual <sergiopr@fedoraproject.org> - 1.4-9
5bb426
- Use python2 macros
5bb426
- Remove macros for install-info
5bb426
160b70
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
160b70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
160b70
4d2d8a
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4-7
4d2d8a
- Update Python 2 dependency declarations to new packaging standards
4d2d8a
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4d2d8a
cf2804
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
cf2804
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cf2804
7d47e0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
7d47e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7d47e0
bbe640
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
bbe640
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bbe640
b7f474
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
b7f474
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b7f474
1fed1e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
1fed1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1fed1e
17b577
* Sun Dec 20 2015 Dennis Chen <barracks510@gmail.com> - 1.4-1
17b577
- Updated to version 1.4 of rubber.
17b577
65d07d
* Tue Nov 24 2015 Dennis Chen <barracks510@gmail.com> - 1.3-1
65d07d
- Updated to latest version
65d07d
4ccceb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18
4ccceb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4ccceb
634a2b
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
634a2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
634a2b
bc3b1f
* Tue Nov 19 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-16
bc3b1f
- Fix wrong Source0 URL
bc3b1f
1817b2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-15
1817b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1817b2
384e84
* Mon Apr 15 2013 Patrick C. F. Ernzer <rubber.spec@pcfe.net> - 1.1-14
384e84
- incorporating patch from https://live.gnome.org/Gedit/LaTeXPlugin/FAQ
384e84
d92c30
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-13
d92c30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d92c30
Pasrario e13f97
* Mon Dec 10 2012 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-12
Pasrario e13f97
- Rubber is hosted in launchpad
Pasrario e13f97
- Removing /usr/share/rubber/modules/etex.rub fixes bz #880568
Pasrario e13f97
6458b8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
6458b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6458b8
ca95ef
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
ca95ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ca95ef
a075b4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
a075b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a075b4
ce68a1
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1-8
ce68a1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ce68a1
595d20
* Mon Dec 28 2009 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-7
595d20
- Adding virtual dependency on latex (bz #550792)
595d20
45a0f8
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
45a0f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
45a0f8
595d20
* Mon Jun 15 2009 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-5
ab48c9
- Patch to remove a Deprecation Warning in Python 2.6 (bz #506053)
ab48c9
7e6acd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
7e6acd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7e6acd
f8d149
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.1-3
f8d149
- Rebuild for Python 2.6
f8d149
595d20
* Wed Sep 17 2008 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-2
eb57ab
- ***
eb57ab
595d20
* Wed Sep 17 2008 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-1
eb57ab
- Initial specfile
eb57ab