31af97f
Name:           nodejs-xml2js
27d2e6b
Version:        0.4.12
366b4d0
Release:        1%{?dist}
31af97f
Summary:        Simple XML to JavaScript object converter
31af97f
31af97f
License:        MIT
31af97f
URL:            https://github.com/Leonidas-from-XIV/node-xml2js
366b4d0
Source0:        https://github.com/Leonidas-from-XIV/node-xml2js/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
7f930fe
31af97f
BuildArch:      noarch
7f930fe
ExclusiveArch:  %{nodejs_arches} noarch
31af97f
1958ee8
BuildRequires:  nodejs-packaging
31af97f
31af97f
BuildRequires:  npm(zap)
31af97f
BuildRequires:  npm(coffee-script)
31af97f
BuildRequires:  npm(sax)
1958ee8
BuildRequires:  npm(diff)
b7ec6aa
BuildRequires:  npm(xmlbuilder) >= 2.4.6
31af97f
31af97f
%description
31af97f
Ever had the urge to parse XML? And wanted to access the data in
31af97f
some sane, easy way? Don't want to compile a C parser, for whatever
31af97f
reason? Then xml2js is what you're looking for!
31af97f
31af97f
31af97f
%prep
366b4d0
%setup -q -n node-xml2js-%{version}
e0c048e
%nodejs_fixdep sax "~0.5"
31af97f
rm -rf node_modules
31af97f
31af97f
31af97f
%build
31af97f
31af97f
31af97f
%install
31af97f
mkdir -p %{buildroot}/%{nodejs_sitelib}/xml2js
31af97f
cp -pr package.json lib %{buildroot}/%{nodejs_sitelib}/xml2js
31af97f
%nodejs_symlink_deps
31af97f
31af97f
836f501
%check
836f501
%nodejs_symlink_deps --check
836f501
%{nodejs_sitelib}/zap/bin/zap
836f501
836f501
31af97f
%files
40aa5c1
%doc README.md
40aa5c1
%license LICENSE
31af97f
%{nodejs_sitelib}/xml2js
31af97f
31af97f
31af97f
%changelog
27d2e6b
* Sun Sep  6 2015 Tom Hughes <tom@compton.nu> - 0.4.12-1
27d2e6b
- Update to 0.4.12 upstream release
27d2e6b
6042bd6
* Tue Sep  1 2015 Tom Hughes <tom@compton.nu> - 0.4.11-1
6042bd6
- Update to 0.4.11 upstream release
6042bd6
366b4d0
* Sun Aug  9 2015 Tom Hughes <tom@compton.nu> - 0.4.10-1
366b4d0
- Update to 0.4.10 upstream release
366b4d0
f157c74
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-2
f157c74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f157c74
40aa5c1
* Sat May 30 2015 Tom Hughes <tom@compton.nu> - 0.4.9-1
40aa5c1
- Update to 0.4.9 upstream release
40aa5c1
- Switch to %%license for the license file
40aa5c1
c1257dd
* Sat Apr 18 2015 Tom Hughes <tom@compton.nu> - 0.4.8-1
c1257dd
- Update to 0.4.8 upstream release
c1257dd
35a3f41
* Sun Mar 15 2015 Tom Hughes <tom@compton.nu> - 0.4.6-1
35a3f41
- Update to 0.4.6 upstream release
35a3f41
b7ec6aa
* Wed Feb 11 2015 Tom Hughes <tom@compton.nu> - 0.4.5-2
35a3f41
- Patch test result for xmlbuilder 2.4.6 support
b7ec6aa
d187d51
* Wed Feb 11 2015 Tom Hughes <tom@compton.nu> - 0.4.5-1
d187d51
- Update to 0.4.5 upstream release
d187d51
b94254d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
b94254d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b94254d
4b07c26
* Wed May 28 2014 Tom Hughes <tom@compton.nu> - 0.4.4-1
4b07c26
- Update to 0.4.4 upstream release
4b07c26
680ec92
* Fri May 23 2014 Tom Hughes <tom@compton.nu> - 0.4.3-1
680ec92
- Update to 0.4.3 upstream release
680ec92
e0c048e
* Sat Apr 19 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.2-2
e0c048e
- fix version of npm(sax) dependency
e0c048e
c63b0f0
* Sun Mar 30 2014 Tom Hughes <tom@compton.nu> - 0.4.2-1
c63b0f0
- Update to 0.4.2 upstream release
c63b0f0
- Switch to using github as source so we get tests
c63b0f0
50e1c6d
* Fri Jan  3 2014 Tom Hughes <tom@compton.nu> - 0.4.1-1
50e1c6d
- Update to 0.4.1 upstream release
50e1c6d
1958ee8
* Mon Nov 25 2013 Tom Hughes <tom@compton.nu> - 0.4.0-1
1958ee8
- Update to 0.4.0 upstream release
1958ee8
- Update to latest nodejs packaging standards
1958ee8
7afaa6a
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-2
7afaa6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7afaa6a
7f930fe
* Wed Jun 19 2013 Tom Hughes <tom@compton.nu> - 0.2.8-1
7f930fe
- Update to 0.2.8 upstream release
7f930fe
836f501
* Tue May  7 2013 Tom Hughes <tom@compton.nu> - 0.2.7-1
836f501
- Update to 0.2.7 upstream release
836f501
901c6cf
* Wed Mar  6 2013 Tom Hughes <tom@compton.nu> - 0.2.6-2
901c6cf
- Update sax dependency
901c6cf
31af97f
* Mon Mar  4 2013 Tom Hughes <tom@compton.nu> - 0.2.6-1
31af97f
- Update to 0.2.6 release
31af97f
- Add tests, which are now separate
31af97f
- BuildRequire coffee-script and sax for tests
31af97f
31af97f
* Sun Feb 10 2013 Tom Hughes <tom@compton.nu> - 0.2.4-1
31af97f
- Initial build of 0.2.4