[packages/python-meh] new, version 0.24

glen glen at pld-linux.org
Thu May 16 08:12:24 CEST 2013


commit c0da4100c0740e8acbe9424149f06eef6ffbf45b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 16 09:11:49 2013 +0300

    new, version 0.24
    
    based on fedora package
    56e3090d3192d3756f78887c0ebf0ea66fb77063

 python-meh.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
---
diff --git a/python-meh.spec b/python-meh.spec
new file mode 100644
index 0000000..8ce5ad1
--- /dev/null
+++ b/python-meh.spec
@@ -0,0 +1,79 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
+%define		libreportver 2.0.18-1
+%define 	module	meh
+Summary:	A python library for handling exceptions
+Name:		python-%{module}
+Version:	0.24
+Release:	1
+License:	GPL v2+
+# This is a Red Hat maintained package which is specific to
+# it's 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:	http://pkgs.fedoraproject.org/repo/pkgs/python-meh/%{name}-%{version}.tar.gz/b1ee671f891a970dfd92a541a6b23cbc/python-%{module}-%{version}.tar.gz
+# Source0-md5:	b1ee671f891a970dfd92a541a6b23cbc
+Group:		Libraries
+URL:		http://git.fedorahosted.org/git/?p=python-meh.git
+BuildRequires:	gettext
+BuildRequires:	intltool
+BuildRequires:	libreport-cli >= %{libreportver}
+BuildRequires:	libreport-gtk >= %{libreportver}
+BuildRequires:	python-dbus
+BuildRequires:	python-devel
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	gtk3
+Requires:	libreport-cli >= %{libreportver}
+Requires:	libreport-gtk >= %{libreportver}
+Requires:	openssh-clients
+Requires:	python
+Requires:	python-dbus
+Requires:	python-pygobject3
+Requires:	python-rpm
+Requires:	yum
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The python-meh package is a Python library for handling, saving, and
+reporting exceptions.
+
+%prep
+%setup -q
+
+%build
+%{__make}
+
+%if %{with tests}
+%{__make} test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# redo python install to get optimize=2
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc ChangeLog
+%{py_sitescriptdir}/meh
+%{py_sitescriptdir}/python_meh-%{version}-py*.egg-info
+%{_datadir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-meh.git/commitdiff/c0da4100c0740e8acbe9424149f06eef6ffbf45b



More information about the pld-cvs-commit mailing list