Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > 372afe49cf25cdb5f52e0501a51fc1a1 > files > 1

nodejs-os-homedir-1.0.2-4.mga9.src.rpm

%global npm_name os-homedir
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 1.0.2
Release: %mkrel 4
Summary: Node
License: MIT
Group: Development/Other
URL: https://github.com/sindresorhus/os-homedir#readme
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
BuildArch: noarch

%description
%{summary}

%prep
%setup -q -n package

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
%endif

%files
%{nodejs_sitelib}/%{npm_name}
%license license
%doc readme.md



%changelog
* Tue Mar 22 2022 umeabot <umeabot> 1.0.2-4.mga9
+ Revision: 1818555
- Mageia 9 Mass Rebuild

* Wed Feb 12 2020 umeabot <umeabot> 1.0.2-3.mga8
+ Revision: 1503089
- Mageia 8 Mass Rebuild

* Thu Sep 20 2018 umeabot <umeabot> 1.0.2-2.mga7
+ Revision: 1280904
- Mageia 7 Mass Rebuild

* Thu May 03 2018 kekepower <kekepower> 1.0.2-1.mga7
+ Revision: 1226030
- imported package nodejs-os-homedir