mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-17 00:50:40 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b90092202 | |||
| 3e76f8a3bf | |||
| 36ea66b8ab | |||
| 4646710613 | |||
| d132716f02 | |||
| 5b93b37584 | |||
| 99f6c6f56f | |||
| 99ba8529d3 | |||
| f2891bce82 |
@@ -29,6 +29,15 @@ jobs:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Setup build environment
|
||||
run: |
|
||||
sed -i 's/.fc%{fedora}/.fcrawhide/g' /usr/lib/rpm/macros.d/macros.dist
|
||||
cat<<EOF >> /etc/dnf/dnf.conf
|
||||
gpgcheck=1
|
||||
install_weak_deps=0
|
||||
max_parallel_downloads=20
|
||||
EOF
|
||||
|
||||
- name: Build anda-srpm-macros
|
||||
run: |
|
||||
mkdir -p anda-build/rpm/rpms
|
||||
@@ -37,7 +46,7 @@ jobs:
|
||||
dnf5 install -y ./anda-build/rpm/rpms/anda-*.rpm
|
||||
|
||||
- name: Install build dependencies
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros,appstream-helper}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
|
||||
|
||||
- name: Install Anda
|
||||
run: |
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global xurl https://files.pythonhosted.org/packages/2b/bc/36972ebb0c09effa41a1dc5f1e9c19b9fd85675cc3196f43559eeb3d0ceb/anki-25.9.4-cp39-abi3-manylinux_2_36_x86_64.whl
|
||||
%global aurl https://files.pythonhosted.org/packages/cb/8e/42e0a2e8f8e6da78571ff8e79dd65eef1602390d03349839a2f4397fdcb5/anki-25.9.4-cp39-abi3-manylinux_2_36_aarch64.whl
|
||||
%global qurl https://files.pythonhosted.org/packages/83/a1/a8e8c5bc7dda44c0decfdeb128ca308d65d7beca1a4131230e9abadef439/aqt-25.9.4-py3-none-any.whl
|
||||
%global xurl https://files.pythonhosted.org/packages/9c/a2/05729090f54c5489c79dee9177fb1d99860850d311247256eebb360ec622/anki-26.5-cp310-abi3-manylinux_2_35_x86_64.whl
|
||||
%global aurl https://files.pythonhosted.org/packages/67/ec/354efa779cb7293aa5feb460f552ff475063149523afc1099433bbe8e65f/anki-26.5-cp310-abi3-manylinux_2_35_aarch64.whl
|
||||
%global qurl https://files.pythonhosted.org/packages/2b/a1/8978e8200afcc9a9b5440366e5d579f9fb1e959147004943cb0ec97cdf0f/aqt-26.5-py3-none-any.whl
|
||||
|
||||
Name: anki-bin
|
||||
Version: 25.9.4
|
||||
Version: 26.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anki-qt5
|
||||
Version: 25.09.4
|
||||
Version: 26.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anki
|
||||
Version: 25.09.4
|
||||
Version: 26.05
|
||||
Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 1.0.1277
|
||||
Version: 1.0.1280
|
||||
Release: 1%{?dist}
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: discord-canary
|
||||
Version: 1.0.1277
|
||||
Version: 1.0.1280
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: plasma6-applet-appgrid
|
||||
Version: 1.9.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A modern fullscreen application launcher for KDE Plasma
|
||||
Release: 2%{?dist}
|
||||
Summary: A modern application launcher for KDE Plasma
|
||||
# Main code: GPL-2.0-or-later
|
||||
# dev.xarbit.appgrid.metainfo.xml: CC0-1.0
|
||||
License: GPL-2.0-or-later AND CC0-1.0
|
||||
@@ -17,23 +17,27 @@ BuildRequires: kf6-rpm-macros
|
||||
BuildRequires: cmake(Qt6Quick)
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
BuildRequires: cmake(Qt6DBus)
|
||||
BuildRequires: cmake(KF6Config)
|
||||
BuildRequires: cmake(KF6Service)
|
||||
BuildRequires: cmake(KF6I18n)
|
||||
BuildRequires: cmake(KF6CoreAddons)
|
||||
BuildRequires: cmake(KF6KIO)
|
||||
BuildRequires: cmake(KF6WindowSystem)
|
||||
BuildRequires: cmake(KF6Package)
|
||||
BuildRequires: cmake(KF6Runner)
|
||||
BuildRequires: cmake(KF6IconThemes)
|
||||
BuildRequires: cmake(KF6GlobalAccel)
|
||||
BuildRequires: cmake(KF6Svg)
|
||||
BuildRequires: cmake(Plasma)
|
||||
BuildRequires: cmake(PlasmaQuick)
|
||||
BuildRequires: cmake(LayerShellQt)
|
||||
BuildRequires: cmake(KF6IconThemes)
|
||||
BuildRequires: cmake(PlasmaActivities)
|
||||
BuildRequires: cmake(LibKWorkspace)
|
||||
BuildRequires: cmake(PlasmaActivitiesStats)
|
||||
BuildRequires: cmake(AppStreamQt)
|
||||
|
||||
Requires: plasma-workspace
|
||||
Requires: plasma-desktop
|
||||
Requires: kf6-kiconthemes
|
||||
Requires: kf6-ksvg
|
||||
|
||||
%description
|
||||
A modern application launcher for KDE Plasma. It offers unified
|
||||
@@ -41,7 +45,7 @@ search, favorites, categories, and both a panel and a centered popup
|
||||
presentation.
|
||||
|
||||
%prep
|
||||
%autosetup -n plasma6-applet-appgrid-%{version}
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%conf
|
||||
%cmake -DAPPGRID_VERSION_OVERRIDE=%{version}
|
||||
@@ -51,19 +55,20 @@ presentation.
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%find_lang dev.xarbit.appgrid --with-kde
|
||||
%find_lang dev.xarbit.appgrid
|
||||
|
||||
%files -f dev.xarbit.appgrid.lang
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/qt6/plugins/plasma/applets/dev.xarbit.appgrid.so
|
||||
%{_libdir}/qt6/plugins/plasma/applets/dev.xarbit.appgrid.panel.so
|
||||
%{_datadir}/plasma/plasmoids/dev.xarbit.appgrid/
|
||||
%{_datadir}/plasma/plasmoids/dev.xarbit.appgrid.panel/
|
||||
%{_qt6_plugindir}/plasma/applets/dev.xarbit.appgrid.so
|
||||
%{_qt6_plugindir}/plasma/applets/dev.xarbit.appgrid.panel.so
|
||||
%{_metainfodir}/dev.xarbit.appgrid.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/dev.xarbit.appgrid.svg
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.9.1-2
|
||||
- Sync with upstream
|
||||
|
||||
* Fri May 29 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.8.5-1
|
||||
- pass version to cmake, update description
|
||||
|
||||
@@ -76,5 +81,5 @@ presentation.
|
||||
* Sat Apr 25 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.7.8-1
|
||||
- Update to 1.7.8
|
||||
|
||||
* Thu Apr 24 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.2.1-1
|
||||
* Fri Apr 24 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.2.1-1
|
||||
- Initial package
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "noctalia-greeter.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
%global ver 1.0.0
|
||||
|
||||
%global commit db60c06b5f6ff5da4d5f1126eff312b2a41ef614
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260609
|
||||
|
||||
Name: noctalia-greeter
|
||||
Version: %{ver}^%{commitdate}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: A minimal login greeter for greetd that matches the look and feel of Noctalia Shell.
|
||||
|
||||
License: shortcommit
|
||||
URL: https://github.com/noctalia-dev/noctalia-greeter
|
||||
Source0: https://github.com/noctalia-dev/noctalia-greeter/archive/%{commit}/noctalia-greeter-%{commit}.tar.gz
|
||||
|
||||
BuildRequires: cage
|
||||
BuildRequires: dbus
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: greetd
|
||||
BuildRequires: just
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(glesv2)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(libwebp)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: polkit
|
||||
BuildRequires: wlr-randr
|
||||
|
||||
Requires: cage
|
||||
Requires: dbus
|
||||
Requires: greetd
|
||||
|
||||
Packager: Cypress Reed <cypress@fyralabs.com>
|
||||
|
||||
%description
|
||||
Noctalia Greeter is the screen you see before your desktop session starts.
|
||||
It lets you pick a user, enter your password, choose a Wayland session, and pick a color scheme - with the same visual language as Noctalia Shell.
|
||||
|
||||
%prep
|
||||
%autosetup -n noctalia-greeter-%{commit}
|
||||
|
||||
%conf
|
||||
export LDFLAGS="%{__global_ldflags} -Wl,-z,notext"
|
||||
%meson
|
||||
|
||||
%build
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-apply-appearance
|
||||
%{_bindir}/%{name}-print-greetd-config
|
||||
%{_bindir}/%{name}-session
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/polkit-1/actions/org.noctalia.greeter.apply-appearance.policy
|
||||
|
||||
%changelog
|
||||
* Tue Jun 09 2026 Cypress Reed <cypress@fyralabs.com>
|
||||
- Port to terra from Fedora COPR lionheartp/Hyprland
|
||||
@@ -0,0 +1,6 @@
|
||||
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-greeter/commits/main").json().sha);
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("noctalia-dev/noctalia-greeter"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
@@ -16,7 +16,7 @@
|
||||
%global __requires_exclude ^libaaudio\\.so.*|^libandroid\\.so.*|^libmediandk\\.so.*|^liblog\\.so.*|^libc\\.so.*|^libm\\.so.*|^libdl\\.so.*|^libcrypt\\.so.*|^libstdc\\+\\+\\.so.*|^libncursesw\\.so.*|^libtinfo\\.so.*|^libnsl\\.so.*|^libpanelw\\.so.*$
|
||||
|
||||
Name: android-studio
|
||||
Version: 2026.1.1.9
|
||||
Version: 2026.1.1.10
|
||||
Release: 1%{?dist}
|
||||
Summary: Official IDE for Android development
|
||||
License: Apache-2.0
|
||||
@@ -24,7 +24,7 @@ Packager: veuxit <erroor234@gmail.com>, like-engels <higashikataengels@icl
|
||||
ExclusiveArch: x86_64
|
||||
URL: https://developer.android.com/studio
|
||||
|
||||
%define suffixS quail1-patch1
|
||||
%define suffixS quail1-patch2
|
||||
|
||||
Source0: https://dl.google.com/dl/android/studio/ide-zips/%{version}/android-studio-%{suffixS}-linux.tar.gz
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "linsh.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
Name: linsh
|
||||
Version: 0.02
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux shell
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://github.com/maxskiier/linsh
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%make_build CC="%__cc %build_cflags %build_ldflags"
|
||||
|
||||
%install
|
||||
install -Dm755 linsh %{buildroot}%{_bindir}/linsh
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.txt
|
||||
%{_bindir}/linsh
|
||||
|
||||
%changelog
|
||||
* Mon Jun 15 2026 Owen Zimmerman <owen@fyralabs.com> - 0.02-1
|
||||
- Initial package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("maxskiier/linsh"));
|
||||
@@ -2,7 +2,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: glaze-devel
|
||||
Version: 7.8.1
|
||||
Version: 7.8.2
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://stephenberry.github.io/glaze
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global cuda_version 13
|
||||
|
||||
Name: cuda-cudnn
|
||||
Version: 9.23.1.3
|
||||
Version: 9.23.2.1
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
Summary: NVIDIA CUDA Deep Neural Network library (cuDNN)
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
%bcond docs 0
|
||||
|
||||
Name: LCEVCdec
|
||||
Version: 4.1.0
|
||||
Release: 2%{?dist}
|
||||
Version: 4.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: MPEG-5 LCEVC Decoder
|
||||
License: BSD-3-Clause-Clear
|
||||
URL: https://docs.v-nova.com/v-nova/lcevc/lcevc-sdk-overview
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 74db1fd4cb6f7c98b7e3fb5290d695d276ce8f9a
|
||||
%global commit 192003b8aeedf8719a5837228b1041492f624d09
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20260614
|
||||
%global commit_date 20260616
|
||||
|
||||
Name: vgmstream
|
||||
Version: 0~%{commit_date}git.%shortcommit
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
Name: taidan
|
||||
Version: 0.2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Out-Of-Box-Experience (OOBE) and Welcome App
|
||||
SourceLicense: GPL-3.0-or-later AND GPL-2.0-or-later
|
||||
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND GPL-3.0-or-later AND GPL-2.0-or-later
|
||||
URL: https://github.com/Ultramarine-Linux/taidan
|
||||
Packager: Terra Packaging Team <terra@fyralabs.com>
|
||||
Conflicts: initial-setup
|
||||
Requires: %name-configs
|
||||
Suggests: %name-default-configs
|
||||
Requires: dbus-daemon
|
||||
Requires: (glib2 or (/usr/bin/plasma-apply-colorscheme and kf6-kconfig))
|
||||
Requires: shadow-utils
|
||||
@@ -32,6 +33,14 @@ BuildRequires: glibc-all-langpacks
|
||||
Taidan is a GUI Out-Of-Box-Experience (OOBE) and Welcome App for Ultramarine
|
||||
Linux, written in Rust and the Helium toolkit.
|
||||
|
||||
%package default-configs
|
||||
Summary: Default configurations for Taidan
|
||||
Provides: %name-configs
|
||||
BuildArch: noarch
|
||||
|
||||
%description default-configs
|
||||
This package contains the default configuration files for taidan.
|
||||
|
||||
%prep
|
||||
%git_clone
|
||||
%cargo_prep_online
|
||||
@@ -51,7 +60,6 @@ DESTDIR=%buildroot ./scripts/install.sh
|
||||
%_datadir/polkit-1/rules.d/100-taidan.rules
|
||||
%_datadir/taidan/
|
||||
%_presetdir/95-taidan.preset
|
||||
%_sysconfdir/com.fyralabs.Taidan/
|
||||
%_sysconfdir/pam.d/taidan
|
||||
%_sysusersdir/taidan.conf
|
||||
%_unitdir/taidan-initial-setup.service
|
||||
@@ -59,7 +67,15 @@ DESTDIR=%buildroot ./scripts/install.sh
|
||||
%dir %_prefix/lib/taidan/
|
||||
%_prefix/lib/taidan/labwc/*
|
||||
|
||||
%files default-configs
|
||||
%config %_sysconfdir/com.fyralabs.Taidan/
|
||||
%config %_datadir/taidan/
|
||||
|
||||
%changelog
|
||||
* Tue Jun 17 2026 madonuko <mado@fyralabs.com> - 0.2.1-2
|
||||
- split config files to separate subpkg
|
||||
- remove conflict with initial-setup
|
||||
|
||||
* Sun Mar 15 2026 Tulip Blossom <tulilirockz@outlook.com>
|
||||
- Add dbus-daemon as runtime dependency
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Paskal Sitepu <rmnscnce@ya.ru>
|
||||
Date: Sat, 4 Nov 2023 09:54:38 +0700
|
||||
Subject: [PATCH] (RPM) makefile: Remove unused Makefile variables
|
||||
|
||||
Signed-off-by: Paskal Sitepu <rmnscnce@ya.ru>
|
||||
---
|
||||
makefile | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/makefile b/makefile
|
||||
index 5ca6bab..0091429 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -1,5 +1,3 @@
|
||||
-CC=gcc
|
||||
-CFLAGS=-Wall -pedantic -Wextra -std=c99 -O2
|
||||
all: amdctl
|
||||
%.o: %.c
|
||||
$(CC) -c -o $@ $< $(CFLAGS)
|
||||
--
|
||||
2.41.0
|
||||
@@ -1,34 +1,40 @@
|
||||
Name: amdctl
|
||||
Summary: Set P-State voltages and clock speeds on recent AMD CPUs on Linux
|
||||
License: GPLv3
|
||||
URL: https://github.com/kevinlekiller/%{name}
|
||||
Name: amdctl
|
||||
Summary: Set P-State voltages and clock speeds on recent AMD CPUs on Linux
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/kevinlekiller/%{name}
|
||||
Version: 0.11
|
||||
Release: 2%{?dist}
|
||||
Source0: https://github.com/kevinlekiller/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
Version: 0.11
|
||||
Release: 2%{?dist}
|
||||
Source0: https://github.com/kevinlekiller/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
# Remove hardcoded CFLAGS and CC
|
||||
Patch0: 0001-RPM-makefile-Remove-unused-Makefile-variables.patch
|
||||
|
||||
# `msr` is a builtin kernel module
|
||||
Requires: kernel-core systemd-udev coreutils
|
||||
BuildRequires: make gcc kernel-headers glibc-headers
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: kernel-headers
|
||||
BuildRequires: glibc-headers
|
||||
BuildRequires: cmake-rpm-macros
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: kernel-core
|
||||
Requires: systemd-udev
|
||||
Requires: coreutils
|
||||
|
||||
%description
|
||||
Tool for changing voltages and clock speeds for AMD processors with
|
||||
control over every power state and CPU core.
|
||||
|
||||
%prep
|
||||
%setup -qn %{name}-%{version}
|
||||
patch -p1 -i %{PATCH0}
|
||||
%autosetup
|
||||
|
||||
%conf
|
||||
%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
# install the 'amdctl' binary
|
||||
mkdir -p %{buildroot}/%{_bindir}
|
||||
install -m 0755 ./%{name} %{buildroot}/%{_bindir}/
|
||||
install -m 0755 redhat-linux-build/%{name} %{buildroot}/%{_bindir}/
|
||||
|
||||
# add modules.load.d entry
|
||||
mkdir -p %{buildroot}/%{_modulesloaddir}/
|
||||
@@ -51,12 +57,15 @@ EOF
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
/%{_bindir}/%{name}
|
||||
/%{_libexecdir}/%{name}
|
||||
/%{_modulesloaddir}/%{name}.conf
|
||||
/%{_udevrulesdir}/99-%{name}.rules
|
||||
%{_bindir}/%{name}
|
||||
%{_libexecdir}/%{name}
|
||||
%{_modulesloaddir}/%{name}.conf
|
||||
%{_udevrulesdir}/99-%{name}.rules
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2026 Owen-sz <owen@fyralabs.com> - 0.11-2
|
||||
- Clean up spec
|
||||
|
||||
* Sat Nov 4 2023 <rmnscnce@ya.ru> - 0.11-1
|
||||
- Track upstream to 0.11
|
||||
|
||||
@@ -76,4 +85,4 @@ EOF
|
||||
- Track upstream to 0.6.1
|
||||
|
||||
* Mon May 24 2021 rmnscnce <rmnscnce@ya.ru> - 0.2-2.git+gb0ffbad
|
||||
- Initial packaging
|
||||
- Initial packaging
|
||||
|
||||
Reference in New Issue
Block a user