summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Weller <ianweller@gmail.com>2008-10-06 18:21:38 -0500
committerIan Weller <ianweller@gmail.com>2008-10-06 18:21:38 -0500
commit5dc10bb4f1377cf09b27e30e949c48d1a8d860e0 (patch)
tree29334c650632d5f45cae92dfd3926c7493d939d6
parent7524934cf4f63822e411b83405f02858d581cf7d (diff)
downloadfedora-business-cards-5dc10bb4f1377cf09b27e30e949c48d1a8d860e0.zip
fedora-business-cards-5dc10bb4f1377cf09b27e30e949c48d1a8d860e0.tar.gz
fedora-business-cards-5dc10bb4f1377cf09b27e30e949c48d1a8d860e0.tar.xz
Add specfile0.2
-rw-r--r--fedora-business-cards.spec53
1 files changed, 53 insertions, 0 deletions
diff --git a/fedora-business-cards.spec b/fedora-business-cards.spec
new file mode 100644
index 0000000..28c06bb
--- /dev/null
+++ b/fedora-business-cards.spec
@@ -0,0 +1,53 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name: fedora-business-cards
+Version: 0.2
+Release: 1%{?dist}
+Summary: A tool for rendering Fedora contributor business cards
+
+Group: Applications/Multimedia
+License: GPLv2+
+URL: https://fedoraproject.org/wiki/Business_cards
+Source0: https://ianweller.fedorapeople.org/releases/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python-paver
+Requires: mgopen-fonts inkscape PyXML python-iniparse pygpgme python-fedora
+
+
+%description
+fedora-business-cards is a tool written in Python to generate business cards
+for Fedora Project contributors.
+
+
+%prep
+%setup -q
+
+
+%build
+paver build
+
+
+%install
+rm -rf %{buildroot}
+paver install --skip-build --root %{buildroot}
+paver install_templates --root %{buildroot}
+paver install_executable --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README COPYING ChangeLog
+%{python_sitelib}/*
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+
+
+%changelog
+* Mon Oct 06 2008 Ian Weller <ianweller@gmail.com> 0.2-1
+- Initial package build.