python-pocket-lint-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: python-pocket-lint
  3. Version: 0.5.14
  4. Release: 1%{?_dist_release}
  5. Summary: Pocket-lint a composite linter and style checker
  6. Summary(ja): ソースコードのコンポジットリンターとスタイルチェッカー Pocket-lint
  7. Group: Development/Languages
  8. License: MIT
  9. URL: https://launchpad.net/pocket-lint
  10. Source0: http://launchpad.net/pocket-lint/trunk/%{version}/+download/pocketlint-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: python-devel
  14. BuildRequires: python-setuptools
  15. Obsoletes: python-pocketlint
  16. %description
  17. Pocket-lint has several notable features:
  18. * Provides a consistent report of issues raised by the subordinate checkers.
  19. * Alternate Reports can be written to change the report, or integrate the report
  20. into another application.
  21. * Supports checking of multiple source types:
  22. * Python syntax and style
  23. * Python doctest style
  24. * XML/HTML style and entities
  25. * CSS style
  26. * JavaScript syntax and style
  27. * Plain text
  28. * Supports reporting:
  29. * Python doctests
  30. * CSS
  31. * XML/HTML
  32. %prep
  33. %setup -q -n pocketlint-%{version}
  34. %build
  35. %{__python} setup.py build
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING ChangeLog HACKING INSTALL PKG-INFO README
  44. %{_bindir}/pocketlint
  45. %{python_sitelib}/*
  46. %changelog
  47. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1
  48. - new upstream release
  49. - changed BuildArch to noarch
  50. * Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
  51. - new upstream release
  52. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
  53. - rebuilt with rpm-4.8.1 for pkg-config
  54. * Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
  55. - changed package name a little
  56. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
  57. - initial build for VineSeed