Compare commits

..

2 Commits

Author SHA1 Message Date
madonuko 9b270a8b9c stuf 2026-06-16 19:54:13 +08:00
madonuko 60f6f1291d add: ente ensu enteauth
resolves #13101
2026-06-16 19:30:58 +08:00
32 changed files with 285 additions and 220 deletions
+1 -10
View File
@@ -29,15 +29,6 @@ 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
@@ -46,7 +37,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,appstream-helper}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
- name: Install Anda
run: |
+4 -4
View File
@@ -1,9 +1,9 @@
%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
%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
Name: anki-bin
Version: 26.5
Version: 25.9.4
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 -1
View File
@@ -1,5 +1,5 @@
Name: anki-qt5
Version: 26.05
Version: 25.09.4
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 -1
View File
@@ -1,5 +1,5 @@
Name: anki
Version: 26.05
Version: 25.09.4
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.1280
Version: 1.0.1277
Release: 1%{?dist}
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -1,5 +1,5 @@
Name: discord-canary
Version: 1.0.1280
Version: 1.0.1277
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: 2%{?dist}
Summary: A modern application launcher for KDE Plasma
Release: 1%{?dist}
Summary: A modern fullscreen 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,27 +17,23 @@ 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(PlasmaActivitiesStats)
BuildRequires: cmake(AppStreamQt)
BuildRequires: cmake(LibKWorkspace)
Requires: plasma-workspace
Requires: plasma-desktop
Requires: kf6-kiconthemes
Requires: kf6-ksvg
%description
A modern application launcher for KDE Plasma. It offers unified
@@ -45,7 +41,7 @@ search, favorites, categories, and both a panel and a centered popup
presentation.
%prep
%autosetup -n %{name}-%{version}
%autosetup -n plasma6-applet-appgrid-%{version}
%conf
%cmake -DAPPGRID_VERSION_OVERRIDE=%{version}
@@ -55,20 +51,19 @@ presentation.
%install
%cmake_install
%find_lang dev.xarbit.appgrid
%find_lang dev.xarbit.appgrid --with-kde
%files -f dev.xarbit.appgrid.lang
%license LICENSE
%doc README.md
%{_qt6_plugindir}/plasma/applets/dev.xarbit.appgrid.so
%{_qt6_plugindir}/plasma/applets/dev.xarbit.appgrid.panel.so
%{_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/
%{_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
@@ -81,5 +76,5 @@ presentation.
* Sat Apr 25 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.7.8-1
- Update to 1.7.8
* Fri Apr 24 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.2.1-1
* Thu Apr 24 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.2.1-1
- Initial package
-8
View File
@@ -1,8 +0,0 @@
project pkg {
rpm {
spec = "noctalia-greeter.spec"
}
labels {
nightly = 1
}
}
@@ -1,72 +0,0 @@
%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
@@ -1,6 +0,0 @@
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.10
Version: 2026.1.1.9
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-patch2
%define suffixS quail1-patch1
Source0: https://dl.google.com/dl/android/studio/ide-zips/%{version}/android-studio-%{suffixS}-linux.tar.gz
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "linsh.spec"
}
}
-32
View File
@@ -1,32 +0,0 @@
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
-1
View File
@@ -1 +0,0 @@
rpm.version(gh_tag("maxskiier/linsh"));
+2 -2
View File
@@ -9,8 +9,8 @@
# GLIBCXX_ASSERTIONS is known to break RPCS3
%global build_cflags %(echo "%{__build_flags_lang_c}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags}
%global build_cxxflags %(echo "%{__build_flags_lang_cxx}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags}
%global commit e429f8cf05926852ed63949cad652bf1de5869a4
%global ver 0.0.41-19488
%global commit 5c4be5dd3bf261e6ee2747508df85fd14d9eb194
%global ver 0.0.41-19480
Name: rpcs3
Version: %(echo %{ver} | sed 's/-/^/g')
+1 -1
View File
@@ -2,7 +2,7 @@
%global debug_package %{nil}
Name: glaze-devel
Version: 7.8.2
Version: 7.8.1
Release: 1%{?dist}
License: MIT
URL: https://stephenberry.github.io/glaze
+1 -1
View File
@@ -5,7 +5,7 @@
%global cuda_version 13
Name: cuda-cudnn
Version: 9.23.2.1
Version: 9.23.1.3
Release: 1%{?dist}
Epoch: 1
Summary: NVIDIA CUDA Deep Neural Network library (cuDNN)
+2 -2
View File
@@ -9,8 +9,8 @@
%bcond docs 0
Name: LCEVCdec
Version: 4.2.0
Release: 1%{?dist}
Version: 4.1.0
Release: 2%{?dist}
Summary: MPEG-5 LCEVC Decoder
License: BSD-3-Clause-Clear
URL: https://docs.v-nova.com/v-nova/lcevc/lcevc-sdk-overview
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 192003b8aeedf8719a5837228b1041492f624d09
%global commit 74db1fd4cb6f7c98b7e3fb5290d695d276ce8f9a
%global shortcommit %{sub %{commit} 1 7}
%global commit_date 20260616
%global commit_date 20260614
Name: vgmstream
Version: 0~%{commit_date}git.%shortcommit
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "golang-github-ente-io-cli.spec"
}
}
@@ -0,0 +1,73 @@
# Generated by go2rpm 1.19.0
%bcond check 1
%bcond bootstrap 0
%if %{with bootstrap}
%global debug_package %{nil}
%endif
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/ente-io/ente
%global goipath github.com/ente-io/ente
%global tag cli-v0.2.3
Version: %(echo %tag | sed 's/^cli-v//')
%gometa -f
%global common_description %{expand:
The Ente CLI is a Command Line Utility for exporting data from Ente. It also does a few more things, for example, you can use it to decrypt the export from Ente Auth.}
%global golicenses LICENSE
%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md cli/README.md SECURITY.md SUPPORT.md
Name: ente
Release: %autorelease
Summary: 💚 End-to-end encrypted cloud for everything
Packager: madonuko <mado@fyralabs.com>
License: AGPL-3.0-only
URL: ente.com
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1
%if %{without bootstrap}
%build
%global gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/ente %{goipath}/cli
%endif
%install
%gopkginstall
%if %{without bootstrap}
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%endif
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%if %{without bootstrap}
%files
%license LICENSE
%doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md cli/README.md
%{_bindir}/ente
%endif
%gopkgfiles
%changelog
* Tue Jun 16 2026 madonuko <mado@fyralabs.com> - 0.2.3-1
- Initial package.
+10
View File
@@ -0,0 +1,10 @@
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
for tagobj in tagobjs {
if tagobj.name.starts_with("cli-v") {
rpm.global("tag", tagobj.name);
if rpm.changed() {
rpm.release();
break;
}
}
}
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "ensu.spec"
}
}
+9
View File
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=Ensu
Comment=Ensu Desktop App
Exec=ensu
Icon=io.ente.ensu
Terminal=false
Type=Application
Categories=Utility;
StartupNotify=true
+40
View File
@@ -0,0 +1,40 @@
%global tag ensu-v0.1.17
%global appid io.ente.ensu
%global developer "Ente"
%global org "io.ente"
%global appstream_component desktop-application
Name: ensu
Version: %(echo %tag | sed 's/^ensu-v//')
Release: 1%?dist
Summary: Private, personal LLM app that runs on your device and grows with you over time
License: AGPL-3.0-only
URL: https://ente.com/ensu
Source0: https://github.com/ente-io/ente/archive/refs/tags/%tag.tar.gz
Source1: ensu.desktop
Packager: madonuko <mado@fyralabs.com>
BuildRequires: cmake %tauri_buildrequires
%description
%summary.
%prep
%autosetup -n ente-%tag
cd rust/apps/ensu
%tauri_prep
%build
cd rust/apps/ensu
%npm_build -Bc
install -Dpm755 src-tauri/target/rpm/ensu -t %buildroot%_bindir
%desktop_file_install %{S:1}
install -Dpm644 src-tauri/icons/icon.png %buildroot%_hicolordir/1024x1024/apps/ensu.png
%terra_appstream
%files
%doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md SECURITY.md SUPPORT.md
%license LICENSE
%_bindir/ensu
%_appsdir/ensu.desktop
%_hicolordir/*/apps/ensu.png
%_metainfodir/%appid.metainfo.xml
+10
View File
@@ -0,0 +1,10 @@
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
for tagobj in tagobjs {
if tagobj.name.starts_with("ensu-v") {
rpm.global("tag", tagobj.name);
if rpm.changed() {
rpm.release();
break;
}
}
}
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "enteauth.spec"
}
labels {
mock = 1 # flutter requires root
}
}
+36
View File
@@ -0,0 +1,36 @@
%global appid io.ente.enteauth
%global tag auth-v4.4.23
Name: enteauth
Version: %(echo %tag | sed 's/^auth-v//')
Release: 1%{?dist}
Summary: 2FA app with free end-to-end encrypted backup and sync
License: AGPL-3.0-only
URL: https://ente.com
Source0: https://github.com/ente-io/ente/archive/refs/tags/%tag.tar.gz
Packager: madonuko <mado@fyralabs.com>
BuildRequires: flutter
%description
%summary.
%prep
%autosetup -n ente-%tag
%build
pushd mobile/apps/auth
flutter config --enable-linux-desktop
flutter build linux --release
%install
%terra_appstream mobile/apps/auth/linux/packaging/enteauth.appdata.xml
%desktop_file_install mobile/apps/auth/linux/packaging/enteauth.desktop
%files
%doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md README.md
%license LICENSE
%changelog
* Tue Jun 16 2026 madonuko <mado@fyralabs.com> - 4.4.23-1
- Initial package.
+10
View File
@@ -0,0 +1,10 @@
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
for tagobj in tagobjs {
if tagobj.name.starts_with("auth-v") {
rpm.global("tag", tagobj.name);
if rpm.changed() {
rpm.release();
break;
}
}
}
+3 -19
View File
@@ -1,13 +1,12 @@
Name: taidan
Version: 0.2.1
Release: 2%{?dist}
Release: 1%{?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>
Requires: %name-configs
Suggests: %name-default-configs
Conflicts: initial-setup
Requires: dbus-daemon
Requires: (glib2 or (/usr/bin/plasma-apply-colorscheme and kf6-kconfig))
Requires: shadow-utils
@@ -33,14 +32,6 @@ 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
@@ -60,6 +51,7 @@ 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
@@ -67,15 +59,7 @@ 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
@@ -0,0 +1,22 @@
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
+23 -32
View File
@@ -1,40 +1,34 @@
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
Name: amdctl
Summary: Set P-State voltages and clock speeds on recent AMD CPUs on Linux
License: GPLv3
URL: https://github.com/kevinlekiller/%{name}
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
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
%description
Tool for changing voltages and clock speeds for AMD processors with
control over every power state and CPU core.
%prep
%autosetup
%conf
%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%setup -qn %{name}-%{version}
patch -p1 -i %{PATCH0}
%build
%cmake_build
%set_build_flags
%make_build
%install
# install the 'amdctl' binary
mkdir -p %{buildroot}/%{_bindir}
install -m 0755 redhat-linux-build/%{name} %{buildroot}/%{_bindir}/
install -m 0755 ./%{name} %{buildroot}/%{_bindir}/
# add modules.load.d entry
mkdir -p %{buildroot}/%{_modulesloaddir}/
@@ -57,15 +51,12 @@ 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
@@ -85,4 +76,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