|
 |
fef9d8 |
%{?scl:%scl_package nodejs-asn1}
|
|
 |
fef9d8 |
%{!?scl:%global pkg_name %{name}}
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%global enable_tests 0
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%{?nodejs_find_provides_and_requires}
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
Name: %{?scl_prefix}nodejs-asn1
|
|
 |
fef9d8 |
Version: 0.2.3
|
|
 |
fef9d8 |
Release: 1%{?dist}
|
|
 |
fef9d8 |
Summary: Contains parsers and serializers for ASN.1 (currently BER only)
|
|
 |
fef9d8 |
BuildArch: noarch
|
|
 |
fef9d8 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
 |
fef9d8 |
License: MIT
|
|
 |
fef9d8 |
URL: https://github.com/mcavage/node-asn1
|
|
 |
fef9d8 |
Source0: http://registry.npmjs.org/asn1/-/asn1-%{version}.tgz
|
|
 |
fef9d8 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%if 0%{?enable_tests}
|
|
 |
fef9d8 |
BuildRequires: %{?scl_prefix}npm(tap)
|
|
 |
fef9d8 |
%endif
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%description
|
|
 |
fef9d8 |
nodejs-asn1 is a library for encoding and decoding Abstract Syntax Notation One
|
|
 |
fef9d8 |
(ASN.1) datatypes in pure JavaScript. ASN.1 is is a standard and notation that
|
|
 |
fef9d8 |
describes rules and structures for representing, encoding, transmitting, and
|
|
 |
fef9d8 |
decoding data in telecommunications and computer networking.
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
Currently Basic Encoding Rules (BER) encoding is supported; at some point
|
|
 |
fef9d8 |
Distinguished Encoding Rules (DER) will likely also be supported.
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%prep
|
|
 |
fef9d8 |
%setup -q -n package
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%build
|
|
 |
fef9d8 |
#nothing to do
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%install
|
|
 |
fef9d8 |
mkdir -p %{buildroot}%{nodejs_sitelib}/asn1
|
|
 |
fef9d8 |
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/asn1
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%nodejs_symlink_deps
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%if 0%{enable_tests}
|
|
 |
fef9d8 |
%check
|
|
 |
fef9d8 |
%nodejs_symlink_deps --check
|
|
 |
fef9d8 |
tap ./tst
|
|
 |
fef9d8 |
%endif
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%files
|
|
 |
fef9d8 |
%{nodejs_sitelib}/asn1
|
|
 |
fef9d8 |
%doc LICENSE README.md
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
%changelog
|
|
 |
fef9d8 |
* Tue Sep 06 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.3-1
|
|
 |
fef9d8 |
- Update
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.11-5.1
|
|
 |
fef9d8 |
- Use macro in -runtime dependency
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.11-4.1
|
|
 |
fef9d8 |
- Rebuilt with updated metapackage
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Wed Dec 11 2013 Tomas Hrcka <thrcka@redhat.com> - 0.1.11-3.1
|
|
 |
fef9d8 |
- enable scl support
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.11-3
|
|
 |
fef9d8 |
- restrict to compatible arches
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Fri Jun 21 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.11-2
|
|
 |
fef9d8 |
- improve description
|
|
 |
fef9d8 |
|
|
 |
fef9d8 |
* Thu Jun 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.11-1
|
|
 |
fef9d8 |
- initial package
|