b70a085
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
b70a085
b70a085
Name:           fedora-business-cards
Ian Weller 5a58429
Version:        0.2.4.3
6c8fa5a
Release:        2%{?dist}
5315d90
Summary:        The Fedora business card generator
b70a085
b70a085
Group:          Applications/Multimedia
b70a085
License:        GPLv2+
b70a085
URL:            https://fedoraproject.org/wiki/Business_cards
b70a085
Source0:        http://ianweller.fedorapeople.org/releases/%{name}/%{name}-%{version}.tar.gz
b70a085
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b70a085
b70a085
BuildArch:      noarch
b70a085
BuildRequires:  python-devel python-paver python-setuptools python-iniparse
1afeb69
Requires:       PyXML python-iniparse pygpgme python-fedora ghostscript
1afeb69
4d50189
%if 0%{fedora} < 11
4d50189
Requires:       mgopen-fonts
4d50189
%else
ada005d
Requires:       mgopen-modata-fonts mgopen-moderna-fonts
4d50189
%endif
b70a085
1afeb69
%if 0%{fedora} >= 11
1afeb69
Requires:       inkscape >= 0.47-0.11.20090602svn
1afeb69
%else
1afeb69
Requires:       inkscape
1afeb69
%endif
1afeb69
b70a085
b70a085
%description
b70a085
fedora-business-cards is a tool written in Python to generate business cards
b70a085
for Fedora Project contributors.
b70a085
b70a085
b70a085
%prep
b70a085
%setup -q
b70a085
b70a085
b70a085
%build
b70a085
paver build
b70a085
b70a085
b70a085
%install
b70a085
rm -rf %{buildroot}
b70a085
paver install --skip-build --root %{buildroot}
27d1a53
paver install_data --root %{buildroot}
b70a085
paver install_executable --root %{buildroot}
b70a085
b70a085
b70a085
%clean
b70a085
rm -rf %{buildroot}
b70a085
b70a085
b70a085
%files
b70a085
%defattr(-,root,root,-)
e0ea18c
%doc README COPYING
b70a085
%{python_sitelib}/*
b70a085
%{_bindir}/%{name}
b70a085
%{_datadir}/%{name}
b70a085
b70a085
b70a085
%changelog
6c8fa5a
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4.3-2
6c8fa5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6c8fa5a
Ian Weller 5a58429
* Tue Nov 30 2010 Ian Weller <ian@ianweller.org> - 0.2.4.3-1
Ian Weller 5a58429
- Add template for the Europe business card size
Ian Weller 5a58429
8ceeb2f
* Sun Jul 25 2010 Ian Weller <iweller@redhat.com> - 0.2.4.2-5
8ceeb2f
- Rebuilt again for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
8ceeb2f
0c14362
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.4.2-4
0c14362
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
0c14362
52947ab
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4.2-3
52947ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
52947ab
1afeb69
* Wed Jun 17 2009 Ian Weller <ian@ianweller.org> - 0.2.4.2-2
1afeb69
- Add an appropriate conditional require for inkscape
1afeb69
e0ea18c
* Wed Jun 17 2009 Ian Weller <ian@ianweller.org> - 0.2.4.2-1
e0ea18c
- Fix pavement.py issues
e0ea18c
e0ea18c
* Wed Jun 17 2009 Ian Weller <ian@ianweller.org> - 0.2.4.1-1
e0ea18c
- Fix bug #502338 (fedora-business-cards generate no PNG)
e0ea18c
a2752ff
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
a2752ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a2752ff
ada005d
* Wed Jan 21 2009 Ian Weller <ianweller@gmail.com> 0.2.4-3
ada005d
- Fix F11 dependency on the MgOpen fonts (again)
ada005d
4d50189
* Wed Dec 31 2008 Ian Weller <ianweller@gmail.com> 0.2.4-2
4d50189
- Fix F11 dependency on the MgOpen fonts
4d50189
619f3d1
* Sun Dec 21 2008 Ian Weller <ianweller@gmail.com> 0.2.4-1
619f3d1
- Add CMYK PDF as an export option
619f3d1
847bb16
* Sun Dec 14 2008 Ian Weller <ianweller@gmail.com> 0.2.3-1
847bb16
- Add EPS as an export option
847bb16
f0241df
* Sun Dec 14 2008 Ian Weller <ianweller@gmail.com> 0.2.2-3
5315d90
- Change summary to be more helpful
0efd08d
f0241df
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.2-2
f0241df
- Rebuild for Python 2.6
f0241df
27d1a53
* Sun Nov 09 2008 Ian Weller <ianweller@gmail.com> 0.2.2-1
27d1a53
- Fix coloration in back templates
27d1a53
b70a085
* Thu Oct 30 2008 Ian Weller <ianweller@gmail.com> 0.2.1-1
b70a085
- Upstream update
b70a085
b70a085
* Mon Oct 06 2008 Ian Weller <ianweller@gmail.com> 0.2-3
b70a085
- Fix BuildRequires
b70a085
b70a085
* Mon Oct 06 2008 Ian Weller <ianweller@gmail.com> 0.2-2
b70a085
- Fix Source0 URL (fedorapeople.org doesn't do https)
b70a085
b70a085
* Mon Oct 06 2008 Ian Weller <ianweller@gmail.com> 0.2-1
b70a085
- Initial package build.