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

Revision 2367, 1.9 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.5
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
18Obsoletes: python-pocketlint
19
20%description
21Pocket-lint has several notable features:
22
23* Provides a consistent report of issues raised by the subordinate checkers.
24* Alternate Reports can be written to change the report, or integrate the report
25  into another application.
26* Supports checking of multiple source types:
27  * Python syntax and style
28  * Python doctest style
29  * XML/HTML style and entities
30  * CSS style
31  * JavaScript syntax and style
32  * Plain text
33* Supports reporting:
34  * Python doctests
35  * CSS
36  * XML/HTML
37
38
39%prep
40%setup -q -n pocketlint-%{version}
41
42
43%build
44%{__python} setup.py build
45
46
47%install
48rm -rf $RPM_BUILD_ROOT
49%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
50
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55
56%files
57%defattr(-,root,root,-)
58%doc AUTHORS COPYING ChangeLog HACKING INSTALL PKG-INFO README
59%{_bindir}/pocketlint
60%{python_sitelib}/*
61
62
63%changelog
64* Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
65- new upstream release
66
67* Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
68- rebuilt with rpm-4.8.1 for pkg-config
69
70* Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
71- changed package name a little
72
73* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
74- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.