]> git.pld-linux.org Git - packages/empy.git/blob - empy.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/empy.git] / empy.spec
1
2 %include        /usr/lib/rpm/macros.python
3
4 Summary:        System for embedding Python expressions and statements in template text
5 Summary(pl):    System wbudowywania wyra¿eñ jêzyka Python w pliki tekstowe
6 Name:           empy
7 Version:        2.1
8 Release:        1
9 License:        GPL
10 Group:          Applications/Text
11 Source0:        http://www.alcyone.com/pyos/empy/%{name}-%{version}.tar.gz
12 URL:            http://www.alcyone.com/pyos/empy/
13 BuildRequires:  rpm-pythonprov
14 %pyrequires_eq  python-modules
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 System for embedding Python expressions and statements in template
20 text.
21
22 %description -l pl
23 System wbudowywania wyra¿eñ jêzyka Python w pliki tekstowe.
24
25 %prep
26 %setup -q
27
28 %build
29 sed 's;^#!/usr/local/bin/python;#!/usr/bin/python;' < em.py > em.py.1
30 mv em.py.1 em.py
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35
36 install em.py $RPM_BUILD_ROOT%{_bindir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README *.em
44 %attr(755,root,root) %{_bindir}/*
This page took 0.182995 seconds and 3 git commands to generate.