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