]> git.pld-linux.org Git - packages/pylint.git/blob - pylint.spec
- -
[packages/pylint.git] / pylint.spec
1
2 %include        /usr/lib/rpm/macros.python
3
4 Summary:        Python tool that checks if a module satisfy a coding standard
5 Name:           pylint
6 Version:        0.1.2
7 Release:        0.1
8 License:        GPL
9 Group:          Development/Languages/Python
10 Source0:        ftp://ftp.logilab.fr/pub/%{name}/%{name}-%{version}.tar.gz
11 # Source0-md5:  ac8e90069fefa7fb35b003507856cf34
12 URL:            http://www.logilab.org/projects/%{name}/view
13 BuildRequires:  python-modules >= 2.2.1
14 BuildRequires:  rpm-pythonprov
15 Requires:       python-logilab-common
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Python tool that checks if a module satisfy a coding standard.
21
22 %prep
23 %setup -q
24
25 %build
26 python setup.py build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
32 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc ChangeLog TODO
40 %attr(755,root,root) %{_bindir}/*
41 %{py_sitedir}/*
This page took 0.057665 seconds and 4 git commands to generate.