source: projects/specs/branches/6/p/python-pocketlint/python-pocketlint-vl.spec @ 1586

Revision 1586, 1.6 KB checked in by kudoh, 14 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-pocketlint
4Version: 0.5.4
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
15BuildRequires: python-devel
16BuildRequires: python-setuptools
17
18%description
19Pocket-lint has several notable features:
20
21* Provides a consistent report of issues raised by the subordinate checkers.
22* Alternate Reports can be written to change the report, or integrate the report
23  into another application.
24* Supports checking of multiple source types:
25  * Python syntax and style
26  * Python doctest style
27  * XML/HTML style and entities
28  * CSS style
29  * JavaScript syntax and style
30  * Plain text
31* Supports reporting:
32  * Python doctests
33  * CSS
34  * XML/HTML
35
36
37%prep
38%setup -q -n pocketlint-%{version}
39
40
41%build
42%{__python} setup.py build
43
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
48
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53
54%files
55%defattr(-,root,root,-)
56%doc AUTHORS COPYING ChangeLog HACKING INSTALL PKG-INFO README
57%{_bindir}/pocketlint
58%{python_sitelib}/*
59
60
61%changelog
62* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
63- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.