SPECS: mpatch.spec (NEW) - initial PLD release
gotar
gotar at pld-linux.org
Mon Aug 13 01:25:52 CEST 2007
Author: gotar Date: Sun Aug 12 23:25:52 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
SPECS:
mpatch.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/mpatch.spec
diff -u /dev/null SPECS/mpatch.spec:1.1
--- /dev/null Mon Aug 13 01:25:52 2007
+++ SPECS/mpatch.spec Mon Aug 13 01:25:47 2007
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary: -
+Summary(pl.UTF-8): -
+Name: mpatch
+Version: 0.8
+Release: 1
+License: GPL v2
+Group: Applications/Text
+Source0: http://oss.oracle.com/~mason/mpatch/%{name}-%{version}.tar.bz2
+# Source0-md5: 24f2027ae9d7b59e2c635ee2e485a887
+URL: http://oss.oracle.com/~mason/mpatch/
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+%pyrequires_eq python
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l -pl.UTF-8
+
+%prep
+%setup -q
+sed -i -e 's,#! /usr/bin/env python,#!/usr/bin/python,' cmd/mpatch
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/mpatch/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%dir %{py_sitedir}/mpatch
+%attr(755,root,root) %{py_sitedir}/mpatch/*.so
+%{py_sitedir}/mpatch/*.py[co]
+%{py_sitedir}/*.egg-info
+
+%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 2007/08/12 23:25:47 gotar
+- initial PLD release
================================================================
More information about the pld-cvs-commit
mailing list