]> git.pld-linux.org Git - packages/pylint.git/blob - pylint.spec
- updated to 0.8.1
[packages/pylint.git] / pylint.spec
1 Summary:        Python tool that checks if a module satisfy a coding standard
2 Summary(pl):    Pythonowe narzêdzie sprawdzaj±ce zgodno¶æ modu³u ze standardem kodowania
3 Name:           pylint
4 Version:        0.8.1
5 Release:        1
6 License:        GPL
7 Group:          Development/Languages/Python
8 Source0:        ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
9 # Source0-md5:  f04addb7496a2a3e26675d36026718d7
10 URL:            http://www.logilab.org/projects/pylint/view
11 BuildRequires:  python-devel
12 BuildRequires:  python-modules >= 2.2.1
13 BuildRequires:  rpm-pythonprov
14 %pyrequires_eq  python-modules
15 Requires:       python-logilab-astng >= 0.13.1
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 %description -l pl
23 Narzêdzie sprawdzaj±ce zgodno¶æ modu³ów napisanych w jêzyku Python
24 z regu³ami tworzenia kodu ¼ród³owego.
25
26 %prep
27 %setup -q
28
29 %build
30 python setup.py build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1}
35
36 python setup.py install \
37         --optimize=2 \
38         --root=$RPM_BUILD_ROOT
39
40 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
41 install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}
42
43 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ChangeLog TODO README examples/* doc/*.txt
51 %attr(755,root,root) %{_bindir}/*
52 %config(noreplace) %verify(not md5 mtime) %{_sysconfdir}/pylintrc
53 %{py_sitescriptdir}/*
54 %{_mandir}/man1/*
This page took 0.13216 seconds and 4 git commands to generate.