From f3ef20552f027a52fbcc6ac7368f24ca0a1dfab7 Mon Sep 17 00:00:00 2001 From: Christopher Edward Lumens Date: Wed, 29 Jul 2009 02:46:28 +0000 Subject: [PATCH] Initial build. --- .cvsignore | 1 + python-meh.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+) create mode 100644 python-meh.spec diff --git a/.cvsignore b/.cvsignore index e69de29..ad8d99f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +python-meh-0.1.tar.gz diff --git a/python-meh.spec b/python-meh.spec new file mode 100644 index 0000000..d9796cb --- /dev/null +++ b/python-meh.spec @@ -0,0 +1,49 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Summary: A python library for handling exceptions +Name: python-meh +Url: http://git.fedoraproject.org/git/?p=python-meh.git +Version: 0.1 +Release: 1%{?dist} +# This is a Red Hat maintained package which is specific to +# our distribution. Thus the source is only available from +# within this srpm. +# This tarball was created from upstream git: +# git clone git://git.fedoraproject.org/git/python-meh.git +# cd python-meh && make archive +Source0: %{name}-%{version}.tar.gz + +License: GPLv2+ +Group: System Environment/Libraries +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: python-devel, gettext, python-setuptools-devel, intltool +Requires: python, python-bugzilla, dbus-python, pygtk2, pygtk2-libglade +Requires: openssh-clients, rpm, yum, newt-python + +%description +The python-meh package is a python library for handling, saving, and reporting +exceptions. + +%prep +%setup -q + +%build +make + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING +%{python_sitelib}/* +%{_datadir}/python-meh + +%changelog +* Tue Jul 28 2009 Chris Lumens - 0.1-1 +- Initial package. diff --git a/sources b/sources index e69de29..7bed122 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +54f97e1a32d9614b17509364aeb3d8bb python-meh-0.1.tar.gz