source: projects/specs/trunk/p/python-pocket-lint/python-pocket-lint-vl.spec @ 5701

Revision 5701, 2.7 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name: python-pocket-lint
4Version: 0.5.28
5Release: 2%{?_dist_release}
6Summary: Pocket-lint a composite linter and style checker for source code
7Summary(ja): Pocket-lint はソースコードのコンポジットリンターとスタイルチェッカーです
8
9Group: Development/Languages
10License: MIT
11URL: https://launchpad.net/pocket-lint
12Source0: http://launchpad.net/pocket-lint/trunk/%{version}/+download/pocketlint-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildArch: noarch
16
17BuildRequires: python-devel
18BuildRequires: python-setuptools
19
20Obsoletes: python-pocketlint
21
22%description
23Pocket-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
50rm -rf $RPM_BUILD_ROOT
51%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
52
53
54%clean
55rm -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* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.28-2
67- rebuild with python-2.7.2
68
69* Wed Feb 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.28-1
70- new upstream release
71
72* Thu Feb 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.27-1
73- new upstream release
74
75* Sun Jan 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.23-1
76- new upstream release
77- improved Summary and Summary(ja)
78
79* Mon Sep 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.21-1
80- new upstream release
81
82* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1
83- new upstream release
84
85* Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.17-1
86- new upstream release
87
88* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1
89- new upstream release
90- changed BuildArch to noarch
91
92* Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
93- new upstream release
94
95* Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
96- rebuilt with rpm-4.8.1 for pkg-config
97
98* Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
99- changed package name a little
100
101* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
102- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.