Blame SPECS/nodejs-slide.spec

35ae62
%{?scl:%scl_package nodejs-slide}
35ae62
%{!?scl:%global pkg_name %{name}}
35ae62
%{?nodejs_find_provides_and_requires}
35ae62
35ae62
Name:       %{?scl_prefix}nodejs-slide
35ae62
Version:    1.1.5
35ae62
Release:    2%{?dist}
35ae62
Summary:    A flow control library that fits in a slideshow
35ae62
License:    ISC
35ae62
URL:        https://github.com/isaacs/slide-flow-control
35ae62
Source0:    http://registry.npmjs.org/slide/-/slide-%{version}.tgz
35ae62
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
35ae62
BuildArch:  noarch
35ae62
%if 0%{?fedora} >= 19
35ae62
ExclusiveArch: %{nodejs_arches} noarch
35ae62
%else
35ae62
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
35ae62
%endif
35ae62
35ae62
BuildRequires:  %{?scl_prefix}nodejs-devel
35ae62
35ae62
%description
35ae62
Provides simple, easy callbacks for node.js.
35ae62
35ae62
%prep
35ae62
%setup -q -n package
35ae62
35ae62
%build
35ae62
#nothing to do
35ae62
35ae62
%install
35ae62
rm -rf %{buildroot}
35ae62
35ae62
mkdir -p %{buildroot}%{nodejs_sitelib}/slide
35ae62
cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/slide
35ae62
35ae62
%nodejs_symlink_deps
35ae62
35ae62
%clean
35ae62
rm -rf %{buildroot}
35ae62
35ae62
%files
35ae62
%defattr(-,root,root,-)
35ae62
%{nodejs_sitelib}/slide
35ae62
%doc LICENSE README.md
35ae62
35ae62
%changelog
35ae62
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 1.1.5-2
35ae62
- replace provides and requires with macro
35ae62
35ae62
* Tue Sep 03 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.1.5-1
35ae62
- update to upstream release 1.1.5
35ae62
- add ExclusiveArch logic
35ae62
35ae62
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
35ae62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
35ae62
35ae62
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-1
35ae62
- new upstream release 1.1.4
35ae62
35ae62
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-7
35ae62
- restrict to compatible arches
35ae62
35ae62
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-6
35ae62
- add macro for EPEL6 dependency generation
35ae62
35ae62
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.3-6
35ae62
- Add support for software collections
35ae62
35ae62
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-5
35ae62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
35ae62
35ae62
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-4
35ae62
- add missing build section
35ae62
- mention missing license
35ae62
35ae62
* Thu Apr 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-3
35ae62
- missing package.json
35ae62
35ae62
* Thu Apr 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-2
35ae62
- bring into conformance with newer library packaging standards
35ae62
- guard Requires for F17 automatic dependency generation
35ae62
35ae62
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.3-1
35ae62
- initial package