2015-11-23 14:42:50 +00:00
|
|
|
#
|
|
|
|
# spec file for package nodejs-negotiator
|
|
|
|
#
|
2018-06-04 09:55:01 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-11-23 14:42:50 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define base_name negotiator
|
|
|
|
Name: nodejs-negotiator
|
2018-06-04 09:55:01 +00:00
|
|
|
Version: 0.6.1
|
2015-11-23 14:42:50 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: HTTP content negotiation
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Other
|
2018-06-04 09:55:01 +00:00
|
|
|
URL: https://github.com/Pita/async-stacktrace
|
2015-11-23 14:42:50 +00:00
|
|
|
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
|
|
|
|
BuildRequires: nodejs-packaging
|
|
|
|
BuildArch: noarch
|
2018-06-04 09:55:01 +00:00
|
|
|
%{nodejs_find_provides_and_requires}
|
2015-11-23 14:42:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
An HTTP content negotiator for Node.js
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n package
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
|
|
|
|
cp -pr package.json lib *.js \
|
|
|
|
%{buildroot}%{nodejs_modulesdir}/%{base_name}/
|
|
|
|
|
|
|
|
%files
|
2018-06-04 09:55:01 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc *.md
|
|
|
|
%{_libexecdir}/node_modules
|
2015-11-23 14:42:50 +00:00
|
|
|
|
|
|
|
%changelog
|