public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pepc] epel10: initial commit
@ 2026-10-01 17:18 aekoroglu
0 siblings, 0 replies; only message in thread
From: aekoroglu @ 2026-10-01 17:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pepc
Branch : epel10
Commit : c4552fdbf1a0f9574a1c05835a904372e29a6b57
Author : aekoroglu <ali.erdinc.koroglu@intel.com>
Date : 2022-07-06T08:27:21+03:00
Stats : +65/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pepc/c/c4552fdbf1a0f9574a1c05835a904372e29a6b57?branch=epel10
Log:
initial commit
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b0211a7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pepc-*.tar.gz
diff --git a/pepc.spec b/pepc.spec
new file mode 100644
index 0000000..0e9b52b
--- /dev/null
+++ b/pepc.spec
@@ -0,0 +1,63 @@
+%bcond_without tests
+
+Name: pepc
+Version: 1.3.9
+Release: %autorelease
+Summary: Power, Energy, and Performance Configurator
+
+License: BSD-3-Clause
+Url: https://github.com/intel/pepc
+Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+%if %{with tests}
+BuildRequires: python3-pytest
+%endif
+BuildRequires: python3-pyyaml
+BuildRequires: pyproject-rpm-macros
+Requires: python3-pepc = %{version}-%{release}
+Requires: python3-pyyaml
+
+%description
+Pepc stands for "Power, Energy, and Performance Configurator".
+This is a command-line tool for configuring various Linux and Hardware
+power management features.
+
+%package -n python3-%{name}
+Summary: Pepc Python libraries
+Requires: pepc = %{version}-%{release}
+
+%description -n python3-%{name}
+Pepc Python libraries
+
+%prep
+%autosetup -n %{name}-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires -r
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files pepclibs pepctool
+install -pDm644 docs/man1/pepc.1 %{buildroot}/%{_mandir}/man1/pepc.1
+
+%check
+%if %{with tests}
+%pytest -v
+%endif
+
+%files
+%doc README.md
+%license debian/copyright
+%{_bindir}/pepc
+%{_mandir}/man1/pepc.1*
+
+%files -n python3-%{name} -f %{pyproject_files}
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..9bb5f00
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pepc-1.3.9.tar.gz) = 6219a49eafb1a1d0dd0da61c53e916b03c28c40ae9ee9385ea1bd668d0583204d9b1ca7e9062f63f74ba7ca5d400aef98ab4fad0b7bd359073961299b3a3c463
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-01 17:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 17:18 [rpms/pepc] epel10: initial commit aekoroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox