%global npm_name jed Name: nodejs-jed Version: 1.1.1 Release: 5%{?dist} Summary: Gettext Style i18n for Modern JavaScript Apps License: MIT URL: https://github.com/SlexAxton/Jed#readme Source0: https://registry.npmjs.org/jed/-/jed-%{version}.tgz BuildRequires: nodejs-packaging %if 0%{?rhel} == 10 # https://issues.redhat.com/browse/RHEL-137712 is fixed in RHEL 10.3 BuildRequires: /usr/bin/node %endif BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch Provides: npm(%{npm_name}) = %{version} %description %{summary} %prep %setup -q -n package %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr Makefile %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr jed.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr plurals.jison %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr test %{buildroot}%{nodejs_sitelib}/%{npm_name} %nodejs_symlink_deps %check %{nodejs_symlink_deps} --check %files %{nodejs_sitelib}/%{npm_name} %doc README.md %changelog * Thu Jul 30 2026 Zach Huntington-Meath 1.1.1-5 - Update to 1.1.1 * Tue Mar 17 2020 Zach Huntington-Meath - 1.1.1-4 - Bump packages to build for el8 * Tue Oct 22 2019 Eric D. Helms - 1.1.1-3 - Build for SCL * Fri Oct 04 2019 Eric D. Helms - 1.1.1-2 - Update specs to handle SCL * Thu Apr 26 2018 Ewoud Kohl van Wijngaarden 1.1.1-1 - Add nodejs-jed generated by npm2rpm using the single strategy