Search
SailfishOS Open Build Service
>
Projects
>
home:ol
:
nodejs
>
nodejs-abbrev
> nodejs-abbrev.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nodejs-abbrev.spec of Package nodejs-abbrev
%{?nodejs_find_provides_and_requires} Name: nodejs-abbrev Version: 1.0.7 Release: 3%{?dist} Summary: Abbreviation calculator for Node.js License: MIT URL: https://github.com/isaacs/abbrev-js Source0: https://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz BuildArch: noarch ExclusiveArch: %{?nodejs_arches}%{!?nodejs_arches:%{ix86} x86_64 %{arm} aarch64} noarch BuildRequires: nodejs-packaging %description Calculate the set of unique abbreviations for a given set of strings. %prep %setup -q -n package %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/abbrev cp -pr abbrev.js package.json %{buildroot}%{nodejs_sitelib}/abbrev %nodejs_symlink_deps %check node abbrev.js %files %{nodejs_sitelib}/abbrev %doc README.md %doc LICENSE