Skip to content

Commit ee33281

Browse files
MariaAgaogajduse
authored andcommitted
Add nodejs-patternfly-react-templates package
1 parent f97e846 commit ee33281

File tree

5 files changed

+72
-10
lines changed

5 files changed

+72
-10
lines changed

comps/comps-foreman-el9.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
<packagereq type="default">nodejs-patternfly-react-icons</packagereq>
107107
<packagereq type="default">nodejs-patternfly-react-styles</packagereq>
108108
<packagereq type="default">nodejs-patternfly-react-table</packagereq>
109+
<packagereq type="default">nodejs-patternfly-react-templates</packagereq>
109110
<packagereq type="default">nodejs-patternfly-react-tokens</packagereq>
110111
<packagereq type="default">nodejs-performance-now</packagereq>
111112
<packagereq type="default">nodejs-prop-types</packagereq>

package_manifest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ foreman_nodejs_packages:
444444
nodejs-patternfly-react-extensions: {}
445445
nodejs-patternfly-react-icons: {}
446446
nodejs-patternfly-react-styles: {}
447+
nodejs-patternfly-react-templates: {}
447448
nodejs-patternfly-react-tokens: {}
448449
nodejs-patternfly-react-table: {}
449450
nodejs-performance-now: {}

packages/foreman/foreman/foreman.spec

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%global dynflow_sidekiq_service_name dynflow-sidekiq@
55
%global rake /usr/bin/rake
66

7-
%global release 4
7+
%global release 5
88
%global prereleasesource develop
99
%global prerelease %{?prereleasesource}
1010

@@ -240,11 +240,12 @@ Requires: (npm(@module-federation/utilities) >= 1.7.0 with npm(@module-federatio
240240
Requires: npm(@novnc/novnc) = 1.3.0
241241
Requires: (npm(@patternfly/patternfly) >= 5.4.2 with npm(@patternfly/patternfly) < 6.0.0)
242242
Requires: (npm(@patternfly/react-charts) >= 7.4.5 with npm(@patternfly/react-charts) < 7.5.0)
243-
Requires: (npm(@patternfly/react-core) >= 5.2.0 with npm(@patternfly/react-core) < 6.0.0)
244-
Requires: (npm(@patternfly/react-icons) >= 5.2.0 with npm(@patternfly/react-icons) < 6.0.0)
245-
Requires: (npm(@patternfly/react-styles) >= 5.2.0 with npm(@patternfly/react-styles) < 6.0.0)
246-
Requires: (npm(@patternfly/react-table) >= 5.2.0 with npm(@patternfly/react-table) < 6.0.0)
247-
Requires: (npm(@patternfly/react-tokens) >= 5.2.0 with npm(@patternfly/react-tokens) < 6.0.0)
243+
Requires: (npm(@patternfly/react-core) >= 5.4.8 with npm(@patternfly/react-core) < 6.0.0)
244+
Requires: (npm(@patternfly/react-icons) >= 5.4.2 with npm(@patternfly/react-icons) < 6.0.0)
245+
Requires: (npm(@patternfly/react-styles) >= 5.4.1 with npm(@patternfly/react-styles) < 6.0.0)
246+
Requires: (npm(@patternfly/react-table) >= 5.4.8 with npm(@patternfly/react-table) < 6.0.0)
247+
Requires: (npm(@patternfly/react-templates) >= 1.1.8 with npm(@patternfly/react-templates) < 2.0.0)
248+
Requires: (npm(@patternfly/react-tokens) >= 5.4.1 with npm(@patternfly/react-tokens) < 6.0.0)
248249
Requires: (npm(@reduxjs/toolkit) >= 1.6.0 with npm(@reduxjs/toolkit) < 2.0.0)
249250
Requires: (npm(@scalprum/core) >= 0.8.1 with npm(@scalprum/core) < 1.0.0)
250251
Requires: (npm(@scalprum/react-core) >= 0.9.3 with npm(@scalprum/react-core) < 1.0.0)
@@ -261,7 +262,7 @@ Requires: (npm(core-js) >= 2.5.7 with npm(core-js) < 3.0.0)
261262
Requires: npm(datatables.net) = 1.13.5
262263
Requires: npm(datatables.net-bs) = 1.13.5
263264
Requires: npm(datatables.net-dt) = 1.13.5
264-
Requires: (npm(diff) >= 5.1.0 with npm(diff) < 6.0.0)
265+
Requires: npm(diff) = 5.2.0
265266
Requires: (npm(dsmorse-gridster) >= 0.8.0 with npm(dsmorse-gridster) < 1.0.0)
266267
Requires: (npm(file-saver) >= 2.0.1 with npm(file-saver) < 3.0.0)
267268
Requires: (npm(formik) >= 1.5.8 with npm(formik) < 2.0.0)
@@ -287,13 +288,11 @@ Requires: (npm(prop-types) >= 15.6.0 with npm(prop-types) < 16.0.0)
287288
Requires: (npm(rc-input-number) >= 6.0.0 with npm(rc-input-number) < 7.0.0)
288289
Requires: (npm(react) >= 16.9.0 with npm(react) < 17.0.0)
289290
Requires: (npm(react-ace) >= 9.5.0 with npm(react-ace) < 10.0.0)
290-
Requires: (npm(react-bootstrap) >= 0.32.0 with npm(react-bootstrap) < 1.0.0)
291291
Requires: (npm(react-debounce-input) >= 3.2.0 with npm(react-debounce-input) < 4.0.0)
292292
Requires: (npm(react-diff-view) >= 2.6.0 with npm(react-diff-view) < 3.0.0)
293293
Requires: (npm(react-dnd) >= 14.0.2 with npm(react-dnd) < 15.0.0)
294294
Requires: (npm(react-dnd-html5-backend) >= 14.0.0 with npm(react-dnd-html5-backend) < 15.0.0)
295295
Requires: (npm(react-dom) >= 16.8.1 with npm(react-dom) < 17.0.0)
296-
Requires: (npm(react-ellipsis-with-tooltip) >= 1.0.8 with npm(react-ellipsis-with-tooltip) < 2.0.0)
297296
Requires: (npm(react-helmet) >= 6.1.0 with npm(react-helmet) < 7.0.0)
298297
Requires: (npm(react-intl) >= 2.8.0 with npm(react-intl) < 3.0.0)
299298
Requires: (npm(react-loading-skeleton) >= 1.1.2 with npm(react-loading-skeleton) < 2.0.0)
@@ -306,7 +305,7 @@ Requires: (npm(react-router-dom) >= 5.1.2 with npm(react-router-dom) < 6.0.0)
306305
Requires: (npm(redux) >= 4.0.4 with npm(redux) < 5.0.0)
307306
Requires: (npm(redux-logger) >= 2.8.1 with npm(redux-logger) < 3.0.0)
308307
Requires: (npm(redux-thunk) >= 2.2.0 with npm(redux-thunk) < 3.0.0)
309-
Requires: (npm(regenerator-runtime) >= 0.13.3 with npm(regenerator-runtime) < 1.0.0)
308+
Requires: npm(regenerator-runtime) = 0.14.1
310309
Requires: (npm(reselect) >= 3.0.1 with npm(reselect) < 4.0.0)
311310
Requires: npm(sanitize-html) = 2.3.2
312311
Requires: (npm(seamless-immutable) >= 7.1.2 with npm(seamless-immutable) < 8.0.0)
@@ -839,6 +838,9 @@ exit 0
839838
%systemd_postun %{name}.socket
840839

841840
%changelog
841+
* Wed Jan 14 2026 MariaAga - 3.18.0-0.5.develop
842+
- Add nodejs-patternfly-react-templates package
843+
842844
* Thu Jan 08 2026 Adam Lazik - 3.18.0-0.4.develop
843845
- Require NodeJS 22
844846

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
%{?scl:%scl_package nodejs-%{npm_name}}
2+
%{!?scl:%global pkg_name %{name}}
3+
4+
%global npm_name @patternfly/react-templates
5+
6+
Name: %{?scl_prefix}nodejs-patternfly-react-templates
7+
Version: 1.1.8
8+
Release: 1%{?dist}
9+
Summary: This package provides wrapped component demos for ease of use
10+
License: MIT
11+
Group: Development/Libraries
12+
URL: https://github.com/patternfly/patternfly-react/tree/main/packages/react-templates#readme
13+
Source0: https://registry.npmjs.org/@patternfly/react-templates/-/react-templates-%{version}.tgz
14+
%if 0%{?!scl:1}
15+
BuildRequires: nodejs-packaging
16+
%endif
17+
Requires: npm(@patternfly/react-core) >= 5.4.8
18+
Requires: npm(@patternfly/react-core) < 6.0.0
19+
Requires: npm(@patternfly/react-icons) >= 5.4.2
20+
Requires: npm(@patternfly/react-icons) < 6.0.0
21+
Requires: npm(@patternfly/react-styles) >= 5.4.1
22+
Requires: npm(@patternfly/react-styles) < 6.0.0
23+
Requires: npm(@patternfly/react-tokens) >= 5.4.1
24+
Requires: npm(@patternfly/react-tokens) < 6.0.0
25+
Requires: npm(tslib) >= 2.7.0
26+
Requires: npm(tslib) < 3.0.0
27+
BuildArch: noarch
28+
ExclusiveArch: %{nodejs_arches} noarch
29+
Provides: %{?scl_prefix}npm(%{npm_name}) = %{version}
30+
31+
%description
32+
%{summary}
33+
34+
%prep
35+
%setup -q -n package
36+
37+
%install
38+
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
39+
cp -pfr components %{buildroot}%{nodejs_sitelib}/%{npm_name}
40+
cp -pfr dist %{buildroot}%{nodejs_sitelib}/%{npm_name}
41+
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
42+
cp -pfr rollup.config.mjs %{buildroot}%{nodejs_sitelib}/%{npm_name}
43+
cp -pfr single-packages.config.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
44+
cp -pfr src %{buildroot}%{nodejs_sitelib}/%{npm_name}
45+
cp -pfr subpaths.config.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
46+
47+
48+
%files
49+
%{nodejs_sitelib}/%{npm_name}
50+
%license LICENSE
51+
%doc CHANGELOG.md
52+
%doc README.md
53+
54+
%changelog
55+
* Wed Jan 07 2026 MariaAga <[email protected]> 1.1.8-1
56+
- Add nodejs-patternfly-react-templates generated by npm2rpm using the single strategy
57+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../.git/annex/objects/8f/87/SHA256E-s176638--6a1d249a2ec1e9263414f61acec7bf9a71f77a66d6b016d3e8c8821b263e78a2.8.tgz/SHA256E-s176638--6a1d249a2ec1e9263414f61acec7bf9a71f77a66d6b016d3e8c8821b263e78a2.8.tgz

0 commit comments

Comments
 (0)