1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | |
---|
3 | Name: python-pocket-lint |
---|
4 | Version: 0.5.30 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Pocket-lint a composite linter and style checker for source code |
---|
7 | Summary(ja): Pocket-lint はソースコードのコンポジットリンターとスタイルチェッカーです |
---|
8 | |
---|
9 | Group: Development/Languages |
---|
10 | License: MIT |
---|
11 | URL: https://launchpad.net/pocket-lint |
---|
12 | Source0: http://launchpad.net/pocket-lint/trunk/%{version}/+download/pocketlint-%{version}.tar.gz |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: python-devel |
---|
18 | BuildRequires: python-setuptools |
---|
19 | |
---|
20 | Obsoletes: python-pocketlint |
---|
21 | |
---|
22 | %description |
---|
23 | Pocket-lint has several notable features: |
---|
24 | |
---|
25 | * Provides a consistent report of issues raised by the subordinate checkers. |
---|
26 | * Alternate Reports can be written to change the report, or integrate the report |
---|
27 | into another application. |
---|
28 | * Supports checking of multiple source types: |
---|
29 | * Python syntax and style |
---|
30 | * Python doctest style |
---|
31 | * XML/HTML style and entities |
---|
32 | * CSS style |
---|
33 | * JavaScript syntax and style |
---|
34 | * Plain text |
---|
35 | * Supports reporting: |
---|
36 | * Python doctests |
---|
37 | * CSS |
---|
38 | * XML/HTML |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q -n pocketlint-%{version} |
---|
43 | |
---|
44 | |
---|
45 | %build |
---|
46 | %{__python} setup.py build |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc AUTHORS COPYING ChangeLog HACKING INSTALL PKG-INFO README |
---|
61 | %{_bindir}/pocketlint |
---|
62 | %{python_sitelib}/* |
---|
63 | |
---|
64 | |
---|
65 | %changelog |
---|
66 | * Sat Mar 03 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.30-1 |
---|
67 | - new upstream release |
---|
68 | |
---|
69 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.28-2 |
---|
70 | - rebuild with python-2.7.2 |
---|
71 | |
---|
72 | * Wed Feb 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.28-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.27-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.23-1 |
---|
79 | - new upstream release |
---|
80 | - improved Summary and Summary(ja) |
---|
81 | |
---|
82 | * Mon Sep 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.21-1 |
---|
83 | - new upstream release |
---|
84 | |
---|
85 | * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.17-1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1 |
---|
92 | - new upstream release |
---|
93 | - changed BuildArch to noarch |
---|
94 | |
---|
95 | * Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3 |
---|
99 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
100 | |
---|
101 | * Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2 |
---|
102 | - changed package name a little |
---|
103 | |
---|
104 | * Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1 |
---|
105 | - initial build for VineSeed |
---|