Blame SPECS/nodejs-read-installed.spec

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