]> git.pld-linux.org Git - packages/pylint.git/blob - pylint.spec
- more docs
[packages/pylint.git] / pylint.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        Python tool that checks if a module satisfy a coding standard
3 Summary(pl):    Pythonowe narzêdzie sprawdzaj±ce zgodno¶æ modu³u ze standardem kodowania
4 Name:           pylint
5 Version:        0.2
6 Release:        0.2
7 License:        GPL
8 Group:          Development/Languages/Python
9 Source0:        ftp://ftp.logilab.fr/pub/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5:  4447725b8860416264c99d656124c94d
11 URL:            http://www.logilab.org/projects/%{name}/view
12 BuildRequires:  python-modules >= 2.2.1
13 BuildRequires:  rpm-pythonprov
14 Requires:       python-logilab-common
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Python tool that checks if a module satisfy a coding standard.
20
21 %description -l pl
22 Pythonowe narzêdzie sprawdzaj±ce zgodno¶æ modu³u ze standardem
23 kodowania.
24
25 %prep
26 %setup -q -n logilab-pylint-0.2.0
27
28 %build
29 python setup.py build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sysconfdir}
34
35 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
36
37 install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/
38
39 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc ChangeLog TODO README examples/*
47 %attr(755,root,root) %{_bindir}/*
48 %config(noreplace) %verify(not mtime md5) %{_sysconfdir}/*
49 %{py_sitedir}/*
This page took 0.067955 seconds and 4 git commands to generate.