python-pocket-lint-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.30
  4. Release: 1%{?_dist_release}
  5. Summary: Pocket-lint a composite linter and style checker for source code
  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. * Sat Mar 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.30-1
  48. - new upstream release
  49. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.28-2
  50. - rebuild with python-2.7.2
  51. * Wed Feb 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.28-1
  52. - new upstream release
  53. * Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.27-1
  54. - new upstream release
  55. * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.23-1
  56. - new upstream release
  57. - improved Summary and Summary(ja)
  58. * Mon Sep 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.21-1
  59. - new upstream release
  60. * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1
  61. - new upstream release
  62. * Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.17-1
  63. - new upstream release
  64. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1
  65. - new upstream release
  66. - changed BuildArch to noarch
  67. * Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
  68. - new upstream release
  69. * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
  70. - rebuilt with rpm-4.8.1 for pkg-config
  71. * Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
  72. - changed package name a little
  73. * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
  74. - initial build for VineSeed