|
|
eb57ab1 |
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
|
|
|
eb57ab1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
Name: rubber
|
|
|
eb57ab1 |
Version: 1.1
|
|
|
ce68a19 |
Release: 8%{?dist}
|
|
|
eb57ab1 |
Summary: An automated system for building LaTeX documents
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
Group: Applications/Publishing
|
|
|
eb57ab1 |
License: GPL+
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
URL: http://rubber.sourceforge.net/
|
|
|
eb57ab1 |
Source0: http://rubber.sourceforge.net/%{name}-%{version}.tar.gz
|
|
|
ab48c94 |
Patch0: rubber-python26.patch
|
|
|
eb57ab1 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
eb57ab1 |
BuildArch: noarch
|
|
|
eb57ab1 |
BuildRequires: python-devel texinfo
|
|
|
595d201 |
Requires: tex(latex)
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
Requires(post): /sbin/install-info
|
|
|
eb57ab1 |
Requires(preun): /sbin/install-info
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%description
|
|
|
eb57ab1 |
This is a building system for LaTeX documents. It is based on a routine that
|
|
|
eb57ab1 |
runs just as many compilations as necessary. The module system provides a
|
|
|
eb57ab1 |
great flexibility that virtually allows support for any package with no user
|
|
|
eb57ab1 |
intervention, as well as pre- and post-processing of the document. The
|
|
|
eb57ab1 |
standard modules currently provide support for bibtex, dvips, dvipdfm, pdftex,
|
|
|
eb57ab1 |
makeindex. A good number of standard packages are supported, including
|
|
|
eb57ab1 |
graphics/graphicx (with automatic conversion between various formats and
|
|
|
eb57ab1 |
Metapost compilation).
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%prep
|
|
|
eb57ab1 |
%setup -q
|
|
|
ab48c94 |
%patch0 -p1
|
|
|
eb57ab1 |
for file in doc/man-fr/*; do
|
|
|
eb57ab1 |
iconv -f ISO88591 -t utf8 $file -o $file
|
|
|
eb57ab1 |
done
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%build
|
|
|
eb57ab1 |
%configure
|
|
|
eb57ab1 |
%{__make} %{?_smp_mflags}
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%install
|
|
|
eb57ab1 |
%{__rm} -fr %{buildroot}
|
|
|
eb57ab1 |
%{__python} setup.py install --root %{buildroot}
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%clean
|
|
|
eb57ab1 |
%{__rm} -fr %{buildroot}
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%post
|
|
|
eb57ab1 |
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%preun
|
|
|
eb57ab1 |
if [ $1 = 0 ]; then
|
|
|
eb57ab1 |
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
eb57ab1 |
fi
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%files
|
|
|
eb57ab1 |
%defattr(-,root,root,-)
|
|
|
eb57ab1 |
%doc COPYING NEWS README
|
|
|
eb57ab1 |
%{_bindir}/*
|
|
|
eb57ab1 |
%{_datadir}/rubber
|
|
|
eb57ab1 |
%{_datadir}/info/*
|
|
|
eb57ab1 |
%{python_sitelib}/*
|
|
|
eb57ab1 |
%{_mandir}/man1/*.gz
|
|
|
eb57ab1 |
%{_mandir}/fr/man1/*.gz
|
|
|
eb57ab1 |
|
|
|
eb57ab1 |
%changelog
|
|
|
ce68a19 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1-8
|
|
|
ce68a19 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
ce68a19 |
|
|
|
595d201 |
* Mon Dec 28 2009 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-7
|
|
|
595d201 |
- Adding virtual dependency on latex (bz #550792)
|
|
|
595d201 |
|
|
|
45a0f8d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
45a0f8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
45a0f8d |
|
|
|
595d201 |
* Mon Jun 15 2009 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-5
|
|
|
ab48c94 |
- Patch to remove a Deprecation Warning in Python 2.6 (bz #506053)
|
|
|
ab48c94 |
|
|
|
7e6acde |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
|
|
|
7e6acde |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7e6acde |
|
|
|
f8d1499 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.1-3
|
|
|
f8d1499 |
- Rebuild for Python 2.6
|
|
|
f8d1499 |
|
|
|
595d201 |
* Wed Sep 17 2008 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-2
|
|
|
eb57ab1 |
- ***
|
|
|
eb57ab1 |
|
|
|
595d201 |
* Wed Sep 17 2008 Sergio Pascual <sergiopr@fedoraproject.org> - 1.1-1
|
|
|
eb57ab1 |
- Initial specfile
|
|
|
eb57ab1 |
|