%{?nodejs_find_provides_and_requires} Name: nodejs-mime Version: 1.3.4 Release: 2%{?dist} Summary: A comprehensive library for mime-type mapping Group: System Environment/Libraries License: MIT URL: https://github.com/broofa/node-mime Source0: http://registry.npmjs.org/mime/-/mime-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-packaging %description Comprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/mime cp -pr *.json build/ *.js %{buildroot}%{nodejs_sitelib}/mime %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/mime %doc LICENSE README.md %changelog * Thu Nov 05 2015 Jared Smith - 1.3.4-2 - Fix missing types.json file * Thu Oct 08 2015 Jared Smith - 1.3.4-1 - Update to upstream 1.3.4 release * Wed Jun 17 2015 Fedora Release Engineering - 1.2.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Aug 26 2013 Jamie Nguyen - 1.2.11-1 - update to upstream release 1.2.11 - add ExclusiveArch logic * Tue Jul 30 2013 T.C. Hollingsworth - 1.2.10-1 - new upstream release 1.2.10 * Sat Jun 22 2013 T.C. Hollingsworth - 1.2.9-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 1.2.9-2 - add macro for EPEL6 dependency generation * Sat Feb 09 2013 T.C. Hollingsworth - 1.2.9-1 - new upstream release 1.2.9 * Tue Jan 08 2013 T.C. Hollingsworth - 1.2.7-2 - add missing build section - fix URL * Mon Dec 31 2012 T.C. Hollingsworth - 1.2.7-1 - initial package generated by npm2rpm