source: projects/specs/branches/6/p/python-pocket-lint/python-pocket-lint-vl.spec @ 4095

Revision 4095, 2.2 KB checked in by kudoh, 13 years ago (diff)
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.19
5Release: 1%{?_dist_release}
6Summary: Pocket-lint a composite linter and style checker
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* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1
67- new upstream release
68
69* Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.17-1
70- new upstream release
71
72* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1
73- new upstream release
74- changed BuildArch to noarch
75
76* Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
77- new upstream release
78
79* Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
80- rebuilt with rpm-4.8.1 for pkg-config
81
82* Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
83- changed package name a little
84
85* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
86- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.