]> 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 2064fb72f5616d3ae49b88bc4ba783cf7b0880d3..919823f643085637ddeb19b714aa08178c8d6e56 100644 (file)
@@ -1,19 +1,25 @@
+# TODO:
+# - include examples in package
+#
 Summary:       Python tool that checks if a module satisfy a coding standard
-Summary(pl.UTF-8):   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.12.2
+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: 38333614235969f9e715c71666cc596f
-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.16.3
+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)
 
@@ -26,7 +32,7 @@ z regułami tworzenia kodu źródłowego.
 
 %package gui
 Summary:       GUI for pylint
-Summary(pl.UTF-8):   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
@@ -40,6 +46,8 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 %prep
 %setup -q
 
+%patch0 -p1
+
 %build
 python setup.py build
 
@@ -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.608023 seconds and 4 git commands to generate.