]> git.pld-linux.org Git - packages/nodejs-chmodr.git/blob - nodejs-chmodr.spec
URL after Sources
[packages/nodejs-chmodr.git] / nodejs-chmodr.spec
1 Summary:        Like `chmod -R`
2 Name:           nodejs-chmodr
3 Version:        0.1.0
4 Release:        1
5 License:        MIT
6 Group:          Development/Libraries
7 Source0:        http://registry.npmjs.org/chmodr/-/chmodr-%{version}.tgz
8 # Source0-md5:  6461673dd949fdf7de4be40792914931
9 URL:            https://github.com/isaacs/chmodr
10 BuildRequires:  rpmbuild(macros) >= 1.634
11 Requires:       nodejs
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Like `chmod -R`.
17
18 %prep
19 %setup -qc
20 mv package/* .
21
22 %install
23 rm -rf $RPM_BUILD_ROOT
24
25 install -d $RPM_BUILD_ROOT%{nodejs_libdir}/chmodr
26 cp -p chmodr.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/chmodr
27
28 %clean
29 rm -rf $RPM_BUILD_ROOT
30
31 %files
32 %defattr(644,root,root,755)
33 %doc README.md
34 %{nodejs_libdir}/chmodr
This page took 0.067169 seconds and 3 git commands to generate.