packages: git-core-slug/git-core-slug.spec (NEW) - initial PLD release

draenog draenog at pld-linux.org
Mon Sep 12 22:43:20 CEST 2011


Author: draenog                      Date: Mon Sep 12 20:43:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/git-core-slug:
   git-core-slug.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/git-core-slug/git-core-slug.spec
diff -u /dev/null packages/git-core-slug/git-core-slug.spec:1.1
--- /dev/null	Mon Sep 12 22:43:20 2011
+++ packages/git-core-slug/git-core-slug.spec	Mon Sep 12 22:43:15 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+
+%define 	module	git_slug
+Summary:	Tools to interact with PLD git repositories
+Name:		git-core-slug
+Version:	0.1
+Release:	1
+License:	GPL v2
+Group:		Development/Building
+Source0:	%{name}-%{version}.tar.gz
+# Source0-md5:	cb4fad8ff51b95077b5cbd7d5ceb3682
+URL:		https://github.com/draenog/slug
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	git-core
+Requires:	python-modules
+Suggests:	openssh-clients
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python tools to interact with PLD git repositories.
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+install -d $RPM_BUILD_ROOT%{_libdir}/git-core
+ln -s %{_bindir}/slug.py $RPM_BUILD_ROOT%{_libdir}/git-core/git-pld
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/slug.py
+%{_libdir}/git-core/git-pld
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/git_core_slug-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/09/12 20:43:15  draenog
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list