From 63d0d66ecf744b023d1dbf129ca896928fa7ebb2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:30:51 +0000 Subject: import rh-nodejs6-nodejs-form-data-2.0.0-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..09476f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/form-data-2.0.0.tgz diff --git a/.rh-nodejs6-nodejs-form-data.metadata b/.rh-nodejs6-nodejs-form-data.metadata new file mode 100644 index 0000000..69ba4d0 --- /dev/null +++ b/.rh-nodejs6-nodejs-form-data.metadata @@ -0,0 +1 @@ +6f0aebadcc5da16c13e1ecc11137d85f9b883b25 SOURCES/form-data-2.0.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-form-data.spec b/SPECS/nodejs-form-data.spec new file mode 100644 index 0000000..f536751 --- /dev/null +++ b/SPECS/nodejs-form-data.spec @@ -0,0 +1,106 @@ +%{?scl:%scl_package nodejs-form-data} +%{!?scl:%global pkg_name %{name}} +%global enable_tests 0 +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-form-data +Version: 2.0.0 +Release: 1%{?dist} +Summary: A module to create readable "multipart/form-data" streams + +License: MIT +URL: https://github.com/form-data/form-data +Source0: http://registry.npmjs.org/form-data/-/form-data-%{version}.tgz + +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 +mkdir -p %{buildroot}%{nodejs_sitelib}/form-data +cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/form-data +%nodejs_symlink_deps + +%if 0%{enable_tests} +%check +%nodejs_symlink_deps --check + +%endif + + +%files +%{nodejs_sitelib}/form-data +%doc License README.md + +%changelog +* Thu Jan 05 2017 Zuzana Svetlikova - 2.0.0-1 +- Updated with script + +* Wed Sep 07 2016 Zuzana Svetlikova +- Updated with script, change URL + +* 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