]> git.pld-linux.org Git - packages/pylint.git/blame - pylint.spec
- Version: 0.24.0
[packages/pylint.git] / pylint.spec
CommitLineData
bce5cba7
AF
1# TODO:
2# - include examples in package
3#
baeb5efa 4Summary: Python tool that checks if a module satisfy a coding standard
24b2f055 5Summary(pl.UTF-8): Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
baeb5efa 6Name: pylint
f5425a3b
JK
7Version: 0.24.0
8Release: 1
baeb5efa 9License: GPL
10Group: Development/Languages/Python
e5a7405a 11Source0: ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
f5425a3b 12# Source0-md5: 71df67d15f3aa1895c543b40a6955ed3
b2624a44 13URL: http://www.logilab.org/project/pylint
2ae24f33 14BuildRequires: python-devel
baeb5efa 15BuildRequires: python-modules >= 2.2.1
2ae24f33 16BuildRequires: rpm-pythonprov
7c199dbc 17BuildRequires: rpmbuild(macros) >= 1.219
07c65085 18%pyrequires_eq python-modules
87946be2
PZ
19Requires: python-logilab-astng >= 0.21.0
20Requires: python-logilab-common >= 0.53.0
93850ade 21Suggests: python-devel-src
baeb5efa 22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Python tool that checks if a module satisfy a coding standard.
27
65b81fbb
JR
28%description -l pl.UTF-8
29Narzędzie sprawdzające zgodność modułów napisanych w języku Python
30z regułami tworzenia kodu źródłowego.
c85c0a5a 31
7c199dbc
KK
32%package gui
33Summary: GUI for pylint
24b2f055 34Summary(pl.UTF-8): Graficzny interfejs użytkownika dla pylinta
7c199dbc
KK
35Group: Development/Languages/Python
36Requires: %{name} = %{version}-%{release}
37Requires: python-tkinter
38
39%description gui
40Tk based GUI for pylint.
41
65b81fbb
JR
42%description gui -l pl.UTF-8
43Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
7c199dbc 44
baeb5efa 45%prep
c38ff617 46%setup -q
baeb5efa 47
48%build
49python setup.py build
50
51%install
52rm -rf $RPM_BUILD_ROOT
4ec6f79e 53install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/man1}
baeb5efa 54
2ae24f33
KK
55python setup.py install \
56 --optimize=2 \
57 --root=$RPM_BUILD_ROOT
4efaa76d 58
4ec6f79e 59install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
0f9e6dd1 60install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc
4efaa76d 61
7c199dbc 62%py_postclean
baeb5efa 63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
bce5cba7 69%doc ChangeLog README examples/* doc/*.txt
ebaa5e6b 70%attr(755,root,root) %{_bindir}/epylint
7c199dbc 71%attr(755,root,root) %{_bindir}/pylint
ebaa5e6b 72%attr(755,root,root) %{_bindir}/pyreverse
7c199dbc 73%attr(755,root,root) %{_bindir}/symilar
b4896848 74%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pylintrc
4452dff6 75%{py_sitescriptdir}/*
4ec6f79e 76%{_mandir}/man1/*
7c199dbc
KK
77
78%files gui
79%defattr(644,root,root,755)
80%attr(755,root,root) %{_bindir}/pylint-gui
This page took 0.298987 seconds and 4 git commands to generate.