diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb0a9f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tar-2.2.1.tgz diff --git a/.rh-nodejs4-nodejs-tar.metadata b/.rh-nodejs4-nodejs-tar.metadata new file mode 100644 index 0000000..6922579 --- /dev/null +++ b/.rh-nodejs4-nodejs-tar.metadata @@ -0,0 +1 @@ +8e4d2a256c0e2185c6b18ad694aec968b83cb1d1 SOURCES/tar-2.2.1.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-tar.spec b/SPECS/nodejs-tar.spec new file mode 100644 index 0000000..2c93587 --- /dev/null +++ b/SPECS/nodejs-tar.spec @@ -0,0 +1,93 @@ +%{?scl:%scl_package nodejs-tar} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-tar +Version: 2.2.1 +Release: 2%{?dist} +Summary: Tar for Node.js +License: BSD +Group: System Environment/Libraries +URL: https://github.com/isaacs/node-tar +Source0: http://registry.npmjs.org/tar/-/tar-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +A Node.js module that supports reading and writing POSIX "tar" archives. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/tar +cp -pr lib tar.js package.json %{buildroot}%{nodejs_sitelib}/tar + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/tar +%doc README.md examples LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 2.2.1-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 2.2.1-1 +- New upstream release + +* Fri Jan 09 2015 Tomas Hrcka - 1.0.3-1 +- New upstream release 1.0.3 + +* Thu Jan 16 2014 Tomas Hrcka - 0.1.19-1 +- New upstream release 0.1.19 + +* Thu Oct 17 2013 Tomas Hrcka - 0.1.18-2 +- replace provides and requires with macro + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.1.18-1 +- new upstream release 0.1.18 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.1.17-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.1.17-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.1.17-2 +- Add support for software collections + +* Wed Apr 03 2013 T.C. Hollingsworth - 0.1.17-1 +- new upstream release 0.1.17 + +* Sat Feb 09 2013 T.C. Hollingsworth - 0.1.16-1 +- new upstream release 0.1.16 + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.1.14-3 +- add missing build section +- fix URL + +* Sun Jan 06 2013 T.C. Hollingsworth - 0.1.14-2 +- provide a better description and summary + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.1.14-1 +- new upstream release 0.1.14 +- clean up for submission + +* Thu Mar 15 2012 T.C. Hollingsworth - 0.1.13-1 +- new upstream release 0.1.13 + +* Sat Jan 21 2012 T.C. Hollingsworth - 0.1.12-1 +- initial package