]> git.pld-linux.org Git - packages/pylint.git/blobdiff - pylint.spec
- verbose files/package pylint-gui(1) man in proper package
[packages/pylint.git] / pylint.spec
index 1c77f911b81890cf7754f36659e683443ac67b65..919823f643085637ddeb19b714aa08178c8d6e56 100644 (file)
@@ -1,32 +1,38 @@
+# TODO:
+# - include examples in package
+#
 Summary:       Python tool that checks if a module satisfy a coding standard
-Summary(pl):   Pythonowe narzêdzie sprawdzaj±ce zgodno¶æ modu³u ze standardem kodowania
+Summary(pl.UTF-8):     Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
 Name:          pylint
-Version:       0.8.1
+Version:       0.25.1
 Release:       1
 License:       GPL
 Group:         Development/Languages/Python
 Source0:       ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
-# Source0-md5: f04addb7496a2a3e26675d36026718d7
-URL:           http://www.logilab.org/projects/pylint/view
+# Source0-md5: 44270f052bd10c9ad735f509f79717f2
+Patch0:                %{name}-type_error.patch
+URL:           http://www.logilab.org/project/pylint
 BuildRequires: python-devel
 BuildRequires: python-modules >= 2.2.1
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
 %pyrequires_eq python-modules
-Requires:      python-logilab-astng >= 0.13.1
+Requires:      python-logilab-astng >= 0.21.0
+Requires:      python-logilab-common >= 0.53.0
+Suggests:      python-devel-src
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Python tool that checks if a module satisfy a coding standard.
 
-%description -l pl
-Narzêdzie sprawdzaj±ce zgodno¶æ modu³ów napisanych w jêzyku Python
-z regu³ami tworzenia kodu ¼ród³owego.
+%description -l pl.UTF-8
+Narzędzie sprawdzające zgodność modułów napisanych w języku Python
+z regułami tworzenia kodu źródłowego.
 
 %package gui
 Summary:       GUI for pylint
-Summary:       Graficzny interfejs u¿ytkownika dla pylinta
+Summary(pl.UTF-8):     Graficzny interfejs użytkownika dla pylinta
 Group:         Development/Languages/Python
 Requires:      %{name} = %{version}-%{release}
 Requires:      python-tkinter
@@ -34,12 +40,14 @@ Requires:   python-tkinter
 %description gui
 Tk based GUI for pylint.
 
-%description gui -l pl
-Oparty na bibliotece Tk graficzny interfejs u¿ytkownika dla pylinta.
+%description gui -l pl.UTF-8
+Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 
 %prep
 %setup -q
 
+%patch0 -p1
+
 %build
 python setup.py build
 
@@ -52,7 +60,7 @@ python setup.py install \
        --root=$RPM_BUILD_ROOT
 
 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
-tail -n 320 examples/pylintrc > $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc
+install examples/pylintrc $RPM_BUILD_ROOT%{_sysconfdir}/pylintrc
 
 %py_postclean
 
@@ -61,13 +69,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog TODO README examples/* doc/*.txt
+%doc ChangeLog README examples/* doc/*.txt
+%attr(755,root,root) %{_bindir}/epylint
 %attr(755,root,root) %{_bindir}/pylint
+%attr(755,root,root) %{_bindir}/pyreverse
 %attr(755,root,root) %{_bindir}/symilar
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pylintrc
-%{py_sitescriptdir}/*
-%{_mandir}/man1/*
+%{py_sitescriptdir}/pylint
+%{py_sitescriptdir}/pylint-%{version}-py*.egg-info
+%{_mandir}/man1/epylint.1*
+%{_mandir}/man1/pylint.1*
+%{_mandir}/man1/pyreverse.1*
+%{_mandir}/man1/symilar.1*
 
 %files gui
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pylint-gui
+%{_mandir}/man1/pylint-gui.1*
This page took 0.071438 seconds and 4 git commands to generate.