diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9d31a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/read-installed-4.0.3.tgz diff --git a/.rh-nodejs6-nodejs-read-installed.metadata b/.rh-nodejs6-nodejs-read-installed.metadata new file mode 100644 index 0000000..cb6de0e --- /dev/null +++ b/.rh-nodejs6-nodejs-read-installed.metadata @@ -0,0 +1 @@ +ff9b8b67f187d1e4c29b9feb31f6b223acd19067 SOURCES/read-installed-4.0.3.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-read-installed.spec b/SPECS/nodejs-read-installed.spec new file mode 100644 index 0000000..54ea808 --- /dev/null +++ b/SPECS/nodejs-read-installed.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package nodejs-read-installed} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-read-installed +Version: 4.0.3 +Release: 2%{?dist} +Summary: Returns a tree structure of all installed packages in a folder + +License: ISC +URL: https://github.com/isaacs/read-installed +Source0: http://registry.npmjs.org/read-installed/-/read-installed-%{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 +Reads all the installed packages in a folder, and returns a tree structure with +all the data. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/read-installed +cp -pr package.json read-installed.js %{buildroot}%{nodejs_sitelib}/read-installed + +%nodejs_symlink_deps + + +%files +%{nodejs_sitelib}/read-installed +%doc LICENSE README.md + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 4.0.3-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 4.0.3-1 +- New upstream release + +* Fri Jan 09 2015 Tomas Hrcka - 2.0.5-1 +- New upstream release 2.0.5 + +* Thu Oct 17 2013 Tomas Hrcka - 0.2.4-2 +- replace provides and requires with macro + +* Sat Sep 07 2013 Jamie Nguyen - 0.2.4-1 +- update to upstream release 0.2.4 +- change License from BSD to ISC +- add ExclusiveArch logic + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.2.3-1 +- new upstream release 0.2.3 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.2.2-1 +- new upstream release 0.2.2 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.1.1-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.1.1-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.1.1-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 0.1.1-1 +- new upstream release 0.1.1 + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.4-2 +- add missing build section +- fix URL + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.4-1 +- initial package generated by npm2rpm