]> git.pld-linux.org Git - SPECS.git/blob - nodejs-util-extend.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / nodejs-util-extend.spec
1 %define         pkg     util-extend
2 Summary:        Node's internal object extension function
3 Name:           nodejs-%{pkg}
4 Version:        1.0.1
5 Release:        1
6 License:        MIT
7 Group:          Development/Libraries
8 Source0:        http://registry.npmjs.org/util-extend/-/%{pkg}-%{version}.tgz
9 # Source0-md5:  e14ca0f0df2bc5a1c7f06d1fb874e7a6
10 URL:            https://github.com/isaacs/util-extend
11 BuildRequires:  rpmbuild(macros) >= 1.634
12 Requires:       nodejs
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The Node object extending function that Node uses for Node!
18
19 %prep
20 %setup -qc
21 mv package/* .
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
26 cp -p extend.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
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}/%{pkg}
This page took 0.25619 seconds and 3 git commands to generate.