]> git.pld-linux.org Git - packages/empy.git/commitdiff
- based on template
authorwrobell <wrobell@pld-linux.org>
Tue, 24 Sep 2002 12:45:04 +0000 (12:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    empy.spec -> 1.1

empy.spec [new file with mode: 0644]

diff --git a/empy.spec b/empy.spec
new file mode 100644 (file)
index 0000000..b35b968
--- /dev/null
+++ b/empy.spec
@@ -0,0 +1,44 @@
+
+%include       /usr/lib/rpm/macros.python
+
+Summary:       System for embedding Python expressions and statements in template text
+Summary(pl):   System wbudowywania wyra¿eñ jêzyka Python w pliki tekstowe
+Name:          empy
+Version:       1.5
+Release:       1
+License:       GPL
+Group:         Applications/Text
+Source0:       http://www.alcyone.com/pyos/empy/%{name}-%{version}.tar.gz
+URL:           http://www.alcyone.com/pyos/empy/
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+System for embedding Python expressions and statements in template
+text.
+
+%description -l pl
+System wbudowywania wyra¿eñ jêzyka Python w pliki tekstowe.
+
+%prep
+%setup -q
+
+%build
+sed 's;^#!/usr/local/bin/python;#!/usr/bin/python;' < em.py > em.py.1
+mv em.py.1 em.py
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install em.py $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README *.em
+%attr(755,root,root) %{_bindir}/*
This page took 0.066094 seconds and 4 git commands to generate.