packages: gitosis/gitosis.spec (NEW) - initial PLD release

pawelz pawelz at pld-linux.org
Mon Jun 7 00:47:56 CEST 2010


Author: pawelz                       Date: Sun Jun  6 22:47:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/gitosis:
   gitosis.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gitosis/gitosis.spec
diff -u /dev/null packages/gitosis/gitosis.spec:1.1
--- /dev/null	Mon Jun  7 00:47:56 2010
+++ packages/gitosis/gitosis.spec	Mon Jun  7 00:47:51 2010
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	Software for hosting git repositories
+Summary(pl.UTF-8):	Narzędzie do hostowania repozytoriów git
+Name:		gitosis
+Version:	20100816
+Release:	0.1
+License:	GPL v2
+Group:		Development/Languages/Python
+# git://eagain.net/gitosis.git
+Source0:	http://execve.pl/PLD/%{name}-%{version}.tar.bz2
+# Source0-md5:	290a91ce5ff9173810518d5a42a03bcb
+URL:		http://eagain.net/gitweb/?p=gitosis.git
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-libs
+Requires:	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Software for hosting git repositories.
+
+%description -l pl.UTF-8
+Narzędzie do hostowania repozytoriów git.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst TODO.rst example.conf
+%dir %{py_sitescriptdir}/gitosis
+%{py_sitescriptdir}/gitosis/*.py[co]
+%{py_sitescriptdir}/gitosis/templates
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/gitosis-*.egg-info
+%endif
+
+%attr(755,root,root) %{_bindir}/gitosis-init
+%attr(755,root,root) %{_bindir}/gitosis-run-hook
+%attr(755,root,root) %{_bindir}/gitosis-serve
+
+%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  2010/06/06 22:47:51  pawelz
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list