%{?scl:%scl_package nodejs-form-data} %{!?scl:%global pkg_name %{name}} %{?nodejs_find_provides_and_requires} Name: %{?scl_prefix}nodejs-form-data Version: 0.1.1 Release: 4%{?dist} Summary: A module to create readable "multipart/form-data" streams Group: System Environment/Libraries License: MIT URL: https://github.com/felixge/node-form-data Source0: http://registry.npmjs.org/form-data/-/form-data-%{version}.tgz BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}nodejs-devel BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif %description A module to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/form-data cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/form-data %nodejs_symlink_deps %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/form-data %doc License Readme.md %changelog * Sun Feb 14 2016 Zuzana Svetlikova - 0.1.1-4 - rebuilt * Tue Mar 04 2014 Tomas Hrcka - 0.1.1-3 - Add missing nodejs_symlink_deps macro * Thu Oct 17 2013 Tomas Hrcka - 0.1.1-2 - replace provides and requires with macro * Mon Aug 26 2013 Jamie Nguyen - 0.1.1-1 - update to upstream release 0.1.1 - add ExclusiveArch logic * Tue Jul 30 2013 T.C. Hollingsworth - 0.1.0-1 - new upstream release 0.1.0 * Sat Jun 22 2013 T.C. Hollingsworth - 0.0.10-1 - new upstream release 0.0.10 * Sat Jun 22 2013 T.C. Hollingsworth - 0.0.7-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 0.0.7-2 - add macro for EPEL6 dependency generation * Fri Apr 12 2013 Stanislav Ochotnicky - 0.0.7-2 - Add support for software collections * Wed Feb 13 2013 T.C. Hollingsworth - 0.0.7-1 - new upstream release 0.0.7 - combined-stream dep good now * Sat Feb 09 2013 T.C. Hollingsworth - 0.0.6-4 - fix combined-stream dep for 0.0.4 * Sat Feb 09 2013 T.C. Hollingsworth - 0.0.6-3 - fix async dep for new version * Mon Jan 14 2013 T.C. Hollingsworth - 0.0.6-2 - add missing dist macro to Release * Thu Jan 10 2013 T.C. Hollingsworth - 0.0.6-1 - new upstream release 0.0.6 * Tue Jan 08 2013 T.C. Hollingsworth - 0.0.5-2 - add missing build section * Mon Dec 31 2012 T.C. Hollingsworth - 0.0.5-1 - initial package generated by npm2rpm