31af97f
Name:           nodejs-xml2js
c18e828
Version:        0.4.19
b09451b
Release:        3%{?dist}
31af97f
Summary:        Simple XML to JavaScript object converter
31af97f
31af97f
License:        MIT
31af97f
URL:            https://github.com/Leonidas-from-XIV/node-xml2js
cc048b4
Source0:        https://github.com/Leonidas-from-XIV/node-xml2js/archive/%{version}/%{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
cc048b4
%autosetup -p 1 -n node-xml2js-%{version}
e0c048e
%nodejs_fixdep sax "~0.5"
cc048b4
%nodejs_fixdep xmlbuilder "^4.2.1"
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
b09451b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.19-3
b09451b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b09451b
4b4067e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.19-2
4b4067e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4b4067e
c18e828
* Tue Aug 22 2017 Tom Hughes <tom@compton.nu> - 0.4.19-1
c18e828
- Update to 0.4.19 upstream release
c18e828
cc048b4
* Tue Aug 15 2017 Tom Hughes <tom@compton.nu> - 0.4.18-1
cc048b4
- Update to 0.4.18 upstream release
cc048b4
0b830c5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.17-3
0b830c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0b830c5
4e3efd4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.17-2
4e3efd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4e3efd4
0ba98e1
* Wed Jul  6 2016 Tom Hughes <tom@compton.nu> - 0.4.17-1
0ba98e1
- Update to 0.4.17 upstream release
0ba98e1
6ecb8b9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.16-2
6ecb8b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6ecb8b9
b219a41
* Sat Jan 16 2016 Tom Hughes <tom@compton.nu> - 0.4.16-1
b219a41
- Update to 0.4.16 upstream release
b219a41
815a9f3
* Sat Oct 31 2015 Tom Hughes <tom@compton.nu> - 0.4.15-1
815a9f3
- Update to 0.4.15 upstream release
815a9f3
7cdbe76
* Thu Oct 15 2015 Tom Hughes <tom@compton.nu> - 0.4.13-1
7cdbe76
- Update to 0.4.13 upstream release
7cdbe76
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