%{?nodejs_find_provides_and_requires} Name: nodejs-cssom Version: 0.2.5 Release: 6%{?dist} Summary: CSS Object Model implementation and CSS parser for Node.js License: MIT Group: System Environment/Libraries URL: https://github.com/NV/CSSOM Source0: http://registry.npmjs.org/cssom/-/cssom-%{version}.tgz # License added in upstream version control repository: # https://github.com/NV/CSSOM/commit/f1cc1c751e # Upstream asked to include license in npm tarball: # https://github.com/NV/CSSOM/issues/50 Source20: MIT-LICENSE.txt BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-packaging %description %{summary}. %prep %setup -q -n package cp -p %{SOURCE20} . %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/cssom cp -pr package.json lib/ \ %{buildroot}%{nodejs_sitelib}/cssom %nodejs_symlink_deps %files %doc README.mdown MIT-LICENSE.txt %{nodejs_sitelib}/cssom %changelog * Sat Jul 06 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.5-6 - fix compatible arches for f18/el6 * Fri Jul 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.5-5 - restrict to compatible arches * Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.5-4 - rebuild for missing npm(cssom) provides on EL6 * Thu Feb 21 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.5-3 - add copy of MIT-LICENSE.txt from upstream that contains license text * Mon Feb 18 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.5-2 - add comment about License availability * Thu Feb 14 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.5-1 - initial package