Blame SPECS/nodejs-read-installed.spec

827f21
%{?scl:%scl_package nodejs-read-installed}
827f21
%{!?scl:%global pkg_name %{name}}
827f21
%{?nodejs_find_provides_and_requires}
827f21
827f21
Name:           %{?scl_prefix}nodejs-read-installed
827f21
Version:        4.0.3
827f21
Release:        2%{?dist}
827f21
Summary:        Returns a tree structure of all installed packages in a folder
827f21
827f21
License:        ISC
827f21
URL:            https://github.com/isaacs/read-installed
827f21
Source0:        http://registry.npmjs.org/read-installed/-/read-installed-%{version}.tgz
827f21
BuildRequires:  %{?scl_prefix}nodejs-devel
827f21
BuildArch:  noarch
827f21
%if 0%{?fedora} >= 19
827f21
ExclusiveArch: %{nodejs_arches} noarch
827f21
%else
827f21
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
827f21
%endif
827f21
827f21
%description
827f21
Reads all the installed packages in a folder, and returns a tree structure with
827f21
all the data.
827f21
827f21
%prep
827f21
%setup -q -n package
827f21
827f21
%build
827f21
#nothing to do
827f21
827f21
%install
827f21
mkdir -p %{buildroot}%{nodejs_sitelib}/read-installed
827f21
cp -pr package.json read-installed.js %{buildroot}%{nodejs_sitelib}/read-installed
827f21
827f21
%nodejs_symlink_deps
827f21
827f21
827f21
%files
827f21
%{nodejs_sitelib}/read-installed
827f21
%doc LICENSE README.md
827f21
827f21
%changelog
827f21
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 4.0.3-2
827f21
- rebuilt
827f21
827f21
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 4.0.3-1
827f21
- New upstream release
827f21
827f21
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 2.0.5-1
827f21
- New upstream release 2.0.5
827f21
827f21
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.2.4-2
827f21
- replace provides and requires with macro
827f21
827f21
* Sat Sep 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.2.4-1
827f21
- update to upstream release 0.2.4
827f21
- change License from BSD to ISC
827f21
- add ExclusiveArch logic
827f21
827f21
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.3-1
827f21
- new upstream release 0.2.3
827f21
827f21
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.2-1
827f21
- new upstream release 0.2.2
827f21
827f21
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.1-3
827f21
- restrict to compatible arches
827f21
827f21
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.1-2
827f21
- add macro for EPEL6 dependency generation
827f21
827f21
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.1.1-2
827f21
- Add support for software collections
827f21
827f21
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.1-1
827f21
- new upstream release 0.1.1
827f21
827f21
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-2
827f21
- add missing build section
827f21
- fix URL
827f21
827f21
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-1
827f21
- initial package generated by npm2rpm