%global npm_name @patternfly/react-tokens Name: nodejs-patternfly-react-tokens Version: 5.4.1 Release: 2%{?dist} Summary: This library provides access to the design tokens of PatternFly 4 from JavaScript License: MIT URL: https://github.com/patternfly/patternfly-react#readme Source0: https://registry.npmjs.org/@patternfly/react-tokens/-/react-tokens-%{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 dist %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr scripts %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr tests %{buildroot}%{nodejs_sitelib}/%{npm_name} %files %{nodejs_sitelib}/%{npm_name} %license LICENSE %doc CHANGELOG.md %doc README.md %changelog * Thu Jul 30 2026 Zach Huntington-Meath 5.4.1-2 - Update to 5.4.1 * Thu Aug 28 2025 Foreman Packaging Automation 5.4.1-1 - Update to 5.4.1 * Thu Jun 19 2025 MariaAga 5.2.0-1 - Add nodejs-patternfly-react-tokens generated by npm2rpm using the single strategy