]> git.pld-linux.org Git - packages/closure-linter.git/blame - closure-linter.spec
BR: rpmbuild(macros) >= 1.710
[packages/closure-linter.git] / closure-linter.spec
CommitLineData
8b93e0d3
ER
1Summary: Closure Linter - a style checker for JavaScript
2Name: closure-linter
3Version: 2.3
e0faf96f 4Release: 1
8b93e0d3
ER
5License: Apache v2.0
6Group: Applications/WWW
7Source0: https://closure-linter.googlecode.com/files/closure_linter-%{version}.tar.gz
8# Source0-md5: fcf40eba81428d2d1e92cc97d2f66fde
9URL: https://code.google.com/intl/en/closure/utilities/
10BuildRequires: rpm-pythonprov
6911ed89 11BuildRequires: rpmbuild(macros) >= 1.710
8b93e0d3
ER
12# distribute module for for pkg_resources
13Requires: python-distribute
e0faf96f 14Requires: python-gflags
8b93e0d3
ER
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The Closure Linter is a utility that checks JavaScript files for style
20issues such as operator placement, missing semicolons, spacing, the
21presence of JsDoc annotations, and more.
22
23%prep
24%setup -qn closure_linter-%{version}
25
26%build
dd249d0c 27%py_build
8b93e0d3
ER
28
29%install
30rm -rf $RPM_BUILD_ROOT
dd249d0c 31%py_install
8b93e0d3
ER
32
33%py_postclean
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
40# fixjsstyle - tries to fix errors automatically
41%attr(755,root,root) %{_bindir}/fixjsstyle
42# gjslint - runs the linter and checks for errors
43%attr(755,root,root) %{_bindir}/gjslint
44
45%{py_sitescriptdir}/closure_linter
46# egg always installed, even in py 2.4
47%{py_sitescriptdir}/closure_linter-%{version}-py*.egg-info
This page took 0.082279 seconds and 4 git commands to generate.