diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8f96ae --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/github-url-from-username-repo-1.0.2.tgz diff --git a/.rh-nodejs4-nodejs-github-url-from-username-repo.metadata b/.rh-nodejs4-nodejs-github-url-from-username-repo.metadata new file mode 100644 index 0000000..4d53efc --- /dev/null +++ b/.rh-nodejs4-nodejs-github-url-from-username-repo.metadata @@ -0,0 +1 @@ +7dd79330d2abe69c10c2cef79714c97215791dfa SOURCES/github-url-from-username-repo-1.0.2.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-github-url-from-username-repo.spec b/SPECS/nodejs-github-url-from-username-repo.spec new file mode 100644 index 0000000..810e816 --- /dev/null +++ b/SPECS/nodejs-github-url-from-username-repo.spec @@ -0,0 +1,47 @@ +%{?scl:%scl_package nodejs-github-url-from-username-repo} +%{!?scl:%global pkg_name %{name}} + +%global npm_name github-url-from-username-repo +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-github-url-from-username-repo +Version: 1.0.2 +Release: 1%{?dist} +Summary: Create urls from username/repo +Url: https://github.com/robertkowalski/github-url-from-username-repo +Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: BSD-2-Clause +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Create urls from username/repo + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}/%{nodejs_sitelib}/github-url-from-username-repo +cp -pr index.js package.json %{buildroot}/%{nodejs_sitelib}/github-url-from-username-repo + +%check +%nodejs_symlink_deps --check --no-devdeps + +%files +%{nodejs_sitelib}/github-url-from-username-repo +%doc README.md LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.2-1 +- Update + +* Fri Jan 09 2015 Tomas Hrcka - 1.0.0-1 +- New upstream release 1.0.0 + +* Thu Jan 23 2014 Tomas Hrcka - 0.0.2-1 +- Package import