]> git.pld-linux.org Git - projects/template-specs.git/blob - python.spec
- template for python
[projects/template-specs.git] / python.spec
1 Summary:        -
2 Summary(pl.UTF-8):      -
3 Name:           template
4 Version:        _
5 Release:        0.1
6 License:        - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
7 Group:          Development/Languages/Python
8 Source0:        %{name}-%{version}.tar.gz
9 # Source0-md5:  -
10 #Source1:       -
11 # Source1-md5:  -
12 #Patch0:                %{name}-DESTDIR.patch
13 URL:            -
14 %pyrequires_eq  python-modules
15 #BuildArch:     noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19
20 %prep
21 %setup -q
22
23 %build
24 python setup.py build
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 python setup.py install \
29         --optimize=2 \
30         --root=$RPM_BUILD_ROOT
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35
36 %files
37 %defattr(644,root,root,755)
38 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
This page took 0.025926 seconds and 4 git commands to generate.