]> git.pld-linux.org Git - SPECS.git/blob - nodejs-slide-flow-control.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / nodejs-slide-flow-control.spec
1 %define         git_hash 53a6c97
2 %define         pkg     slide-flow-control
3 Summary:        A flow control library that fits in a slideshow
4 Name:           nodejs-%{pkg}
5 Version:        1.1.3
6 Release:        1
7 License:        MIT
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
14 Requires:       nodejs
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Provides simple, easy callbacks for node.js.
20
21 %prep
22 %setup -q -n isaacs-%{pkg}-e6ca2aa
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26
27 install -d $RPM_BUILD_ROOT%{nodejs_libdir}
28 cp -p lib/*.js $RPM_BUILD_ROOT%{nodejs_libdir}
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %doc README.md nodejs-controlling-flow.pdf
36 %{nodejs_libdir}/*.js
This page took 0.528408 seconds and 3 git commands to generate.