1 %define git_hash 53a6c97
2 %define pkg slide-flow-control
3 Summary: A flow control library that fits in a slideshow
8 Group: Development/Libraries
9 URL: https://github.com/isaacs/slide-flow-control
10 # download from https://github.com/isaacs/slide-flow-control/tarball/%{version}
11 Source0: isaacs-%{pkg}-%{version}-0-g%{git_hash}.tar.gz
12 # Source0-md5: 03d66fb16e99c26b472d96b48572bf47
13 BuildRequires: rpmbuild(macros) >= 1.634
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Provides simple, easy callbacks for node.js.
22 %setup -q -n isaacs-%{pkg}-e6ca2aa
25 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT%{nodejs_libdir}
28 cp -p lib/*.js $RPM_BUILD_ROOT%{nodejs_libdir}
31 rm -rf $RPM_BUILD_ROOT
34 %defattr(644,root,root,755)
35 %doc README.md nodejs-controlling-flow.pdf