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