python-pocket-lint-vl.spec 3.1 KB

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