Blame nodejs-mapnik-reference.spec

08680c5
Name:           nodejs-mapnik-reference
00ff328
Version:        6.0.4
632f4c7
Release:        1%{?dist}
08680c5
Summary:        Reference for Mapnik Styling Options
08680c5
08680c5
License:        Public Domain
08680c5
URL:            https://github.com/mapnik/mapnik-reference
08680c5
Source0:        http://registry.npmjs.org/mapnik-reference/-/mapnik-reference-%{version}.tgz
08680c5
BuildArch:      noarch
08680c5
6ed22a8
BuildRequires:  nodejs-packaging
77cd57a
77cd57a
BuildRequires:  npm(mocha)
77cd57a
BuildRequires:  npm(glob)
08680c5
08680c5
%description
08680c5
Provides a parseable spec of what Mapnik can do - what main structures
08680c5
it supports (like layers, styles, and symbolizers) and the properties
08680c5
they can contain. It's useful for building parsers, tests, compilers, and
08680c5
syntax highlighting/checking for languages
08680c5
08680c5
08680c5
%prep
08680c5
%setup -q -n package
08680c5
08680c5
08680c5
%build
08680c5
08680c5
08680c5
%install
08680c5
mkdir -p %{buildroot}/%{nodejs_sitelib}/mapnik-reference
08680c5
cp -pr package.json index.js %{buildroot}/%{nodejs_sitelib}/mapnik-reference
08680c5
mkdir -p %{buildroot}/%{_datadir}/%{name}
77cd57a
for dir in 2.* 3.*
6ed22a8
do
6ed22a8
  cp -pr ${dir} %{buildroot}/%{_datadir}/%{name}
6ed22a8
  ln -sf %{_datadir}/%{name}/${dir} %{buildroot}/%{nodejs_sitelib}/mapnik-reference
6ed22a8
done
08680c5
%nodejs_symlink_deps
08680c5
08680c5
6ed22a8
%check
77cd57a
%nodejs_symlink_deps --check
77cd57a
%{nodejs_sitelib}/mocha/bin/mocha -R spec --timeout 50000
6ed22a8
6ed22a8
08680c5
%files
6ed22a8
%doc README.md LICENSE.md CHANGELOG.md
08680c5
%{nodejs_sitelib}/mapnik-reference
08680c5
%{_datadir}/%{name}
08680c5
08680c5
08680c5
%changelog
00ff328
* Thu Nov 20 2014 Tom Hughes <tom@compton.nu> - 6.0.4-1
00ff328
- Update to 6.0.4 upstream release
00ff328
250c579
* Wed Oct  1 2014 Tom Hughes <tom@compton.nu> - 6.0.3-1
250c579
- Update to 6.0.3 upstream release
250c579
9a197bd
* Sat Sep 27 2014 Tom Hughes <tom@compton.nu> - 6.0.2-1
9a197bd
- Update to 6.0.2 upstream release
9a197bd
77cd57a
* Fri Sep 26 2014 Tom Hughes <tom@compton.nu> - 6.0.1-1
77cd57a
- Update to 6.0.1 upstream release
77cd57a
2e75f51
* Wed Sep 24 2014 Tom Hughes <tom@compton.nu> - 5.1.1-1
2e75f51
- Update to 5.1.1 upstream release
2e75f51
191f826
* Fri Sep  5 2014 Tom Hughes <tom@compton.nu> - 5.1.0-1
191f826
- Update to 5.1.0 upstream release
191f826
e0fad54
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.9-2
e0fad54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0fad54
070c8bd
* Sun Apr 27 2014 Tom Hughes <tom@compton.nu> - 5.0.9-1
070c8bd
- Update to 5.0.9 upstream release
070c8bd
dec9fe4
* Mon Apr 14 2014 Tom Hughes <tom@compton.nu> - 5.0.8-1
dec9fe4
- Update to 5.0.8 upstream release
dec9fe4
6809da1
* Wed Oct 30 2013 Tom Hughes <tom@compton.nu> - 5.0.7-1
6809da1
- Update to 5.0.7 upstream release
6809da1
8b37e1e
* Fri Sep 27 2013 Tom Hughes <tom@compton.nu> - 5.0.6-1
8b37e1e
- Update to 5.0.6 upstream release
8b37e1e
6ed22a8
* Fri Sep 20 2013 Tom Hughes <tom@compton.nu> - 5.0.5-1
6ed22a8
- Update to 5.0.5 upstream release
6ed22a8
- Update to latest nodejs packaging standards
6ed22a8
6e423f5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.4-3
6e423f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6e423f5
08680c5
* Sat Mar  2 2013 Tom Hughes <tom@compton.nu> - 5.0.4-2
08680c5
- Use %%{__python} instead of %%{__python2}
08680c5
- Run tests against an unpatched copy of the package
08680c5
- Removed hyphen from parseable in description
08680c5
08680c5
* Sun Feb 10 2013 Tom Hughes <tom@compton.nu> - 5.0.4-1
08680c5
- Initial build of 5.0.4