[packages/python-PyGitUp: 1/2] - initial revision, BR/R not filled

baggins baggins at pld-linux.org
Thu Jul 3 22:38:21 CEST 2014


commit 06d5ad301275199b32c430a3d49f3edda3931e4b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jul 3 22:37:42 2014 +0200

    - initial revision, BR/R not filled

 python-PyGitUp.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/python-PyGitUp.spec b/python-PyGitUp.spec
new file mode 100644
index 0000000..b6e7228
--- /dev/null
+++ b/python-PyGitUp.spec
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
+%define		module	PyGitUp
+Summary:	git-up(1) -- fetch and rebase all locally-tracked remote branches
+Name:		python-%{module}
+Version:	1.1.4
+Release:	0.1
+License:	BSD
+Group:		Libraries/Python
+Source0:	https://github.com/msiemens/PyGitUp/archive/v%{version}.tar.gz?/%{module}-v%{version}.tar.gz
+# Source0-md5:	fd7d89489bb045853077909fe0fd95aa
+URL:		-
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	python-distribute
+#Requires:		python-libs
+Requires:	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build %{?with_tests:test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py \
+	install --skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%{py_sitescriptdir}/*.py[co]
+%attr(755,root,root) %{py_sitescriptdir}/*.so
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/TEMPLATE-*.egg-info
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyGitUp.git/commitdiff/615730f1cfbe44227603e593c96f2adad15ca88a



More information about the pld-cvs-commit mailing list