mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9bb6213295 |
@@ -1,6 +1,6 @@
|
||||
name: Bootstrap Andaman and Subatomic
|
||||
permissions:
|
||||
contents: write
|
||||
contents: read
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -19,46 +19,22 @@ jobs:
|
||||
- name: Install repositories
|
||||
run: |
|
||||
dnf5 swap -y --setopt=install_weak_deps=False systemd-standalone-sysusers systemd
|
||||
dnf5 install -y --repo=rawhide --setopt=install_weak_deps=False curl wget git-core openssl-devel cargo podman fuse-overlayfs dnf5-plugins rpmbuild script
|
||||
dnf5 install -y --setopt=install_weak_deps=False curl wget git-core openssl-devel cargo podman fuse-overlayfs dnf5-plugins rpmbuild script
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Fetch new keys
|
||||
run: |
|
||||
export releasever="${{ matrix.version }}"
|
||||
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever ] && curl -s https://repos.fyralabs.com/terra$releasever/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-source ] && curl -s https://repos.fyralabs.com/terra$releasever-source/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-source
|
||||
if [[ $releasever != el* ]]; then
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-extras ] && curl -s https://repos.fyralabs.com/terra$releasever-extras/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-extras
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-extras-source ] && curl -s https://repos.fyralabs.com/terra$releasever-extras-source/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-extras-source
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-mesa ] && curl -s https://repos.fyralabs.com/terra$releasever-mesa/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-mesa
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-mesa-source ] && curl -s https://repos.fyralabs.com/terra$releasever-mesa-source/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-mesa-source
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-multimedia ] && curl -s https://repos.fyralabs.com/terra$releasever-multimedia/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-multimedia
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-multimedia-source ] && curl -s https://repos.fyralabs.com/terra$releasever-multimedia-source/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-multimedia-source
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-nvidia ] && curl -s https://repos.fyralabs.com/terra$releasever-nvidia/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-nvidia
|
||||
[ ! -f anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-nvidia-source ] && curl -s https://repos.fyralabs.com/terra$releasever-nvidia-source/key.asc > anda/terra/gpg-keys/RPM-GPG-KEY-terra$releasever-nvidia-source
|
||||
fi
|
||||
- name: Build terra-gpg-keys
|
||||
run: |
|
||||
mkdir -p anda-build/rpm/rpms
|
||||
rpmbuild -bb anda/terra/gpg-keys/pkg/*.spec --undefine=_disable_source_fetch -D "vendor Terra" -D "_sourcedir $(pwd)/anda/terra/gpg-keys/" -D "_rpmdir $(pwd)/anda-build/rpm/rpms/"
|
||||
mv ./anda-build/rpm/rpms/*/anda-*.rpm ./anda-build/rpm/rpms/
|
||||
- name: Install terra-gpg-keys
|
||||
run: dnf5 install -y anda-build/rpm/rpms/terra-gpg-keys*.rpm
|
||||
|
||||
- name: Build anda-srpm-macros
|
||||
run: |
|
||||
rpmbuild -bb anda/terra/srpm-macros/*.spec --undefine=_disable_source_fetch -D "vendor Terra" -D "_sourcedir $(pwd)/anda/terra/srpm-macros/" -D "_rpmdir $(pwd)/anda-build/rpm/rpms/"
|
||||
mkdir -p anda-build/rpm/rpms
|
||||
rpmbuild -bb anda/terra/srpm-macros/*.spec --undefine=_disable_source_fetch -D "_sourcedir $(pwd)/anda/terra/srpm-macros/" -D "_rpmdir $(pwd)/anda-build/rpm/rpms/"
|
||||
mv ./anda-build/rpm/rpms/*/anda-*.rpm ./anda-build/rpm/rpms/
|
||||
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/tools/buildsys/{anda,subatomic}/*.spec anda/terra/appstream-helper/*.spec
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/tools/buildsys/{anda,subatomic}/*.spec
|
||||
|
||||
- name: Install Anda
|
||||
run: |
|
||||
@@ -79,7 +55,7 @@ jobs:
|
||||
run: anda build -D "vendor Terra" -rrpmbuild anda/terra/release/pkg
|
||||
|
||||
- name: Build terra-appstream-helper
|
||||
run: anda build -D "vendor Terra" -rrpmbuild anda/terra/appstream-helper/pkg
|
||||
run: anda build -D "vendor Terra" -D "__python %{__python3}" -rrpmbuild anda/terra/appstream-helper/pkg
|
||||
|
||||
- name: Build Subatomic
|
||||
run: anda build -D "vendor Terra" -rrpmbuild anda/tools/buildsys/subatomic/pkg
|
||||
@@ -87,27 +63,7 @@ jobs:
|
||||
run: dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm
|
||||
|
||||
- name: Tidy up output directory
|
||||
run: |
|
||||
rmdir anda-build/rpm/rpms/{noarch,aarch64,x86_64} | true
|
||||
rm anda-build/rpm/rpms/terra-gpg-keys* | true
|
||||
|
||||
- name: Update terra-gpg-keys
|
||||
run: anda update --filters keys=1 --labels branch=${{ matrix.version }}
|
||||
|
||||
- name: Commit terra-gpg-keys update
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
msg="bump(bootstrap): terra-gpg-keys"
|
||||
git commit -S -a -m "$msg"
|
||||
git add anda/terra/gpg-keys
|
||||
git push -u origin
|
||||
run: rmdir anda-build/rpm/rpms/{noarch,aarch64,x86_64} | true
|
||||
|
||||
- name: Upload packages to subatomic
|
||||
run: |
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
|
||||
|
||||
%global ver 13.3.0
|
||||
%global commit c2cae0301bb850235f9b6efed86e5c4d33a8842b
|
||||
%global commit 3ef8f093d35518cc22880154d0c0e774e6403b24
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260220
|
||||
%global devel_name QtColorWidgets
|
||||
%global _distro_extra_cflags -fuse-ld=mold
|
||||
%global _distro_extra_cxxflags -fuse-ld=mold
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit cf7edb2e7e7733a808b8340cc0598cdf7224bce8
|
||||
%global commit_date 20260222
|
||||
%global commit 018467f2ea1f558052ef2c4046b517eaa94ae2dd
|
||||
%global commit_date 20260218
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global debug_package %nil
|
||||
%global __strip /bin/true
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global pypi_name protontricks
|
||||
|
||||
Name: terra-%{pypi_name}
|
||||
Version: 1.14.0
|
||||
Version: 1.13.1
|
||||
Release: 1%?dist
|
||||
Summary: Simple wrapper that does winetricks things for Proton enabled games
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2026-02-22
|
||||
%global ver 2026-02-20
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Fedora sometimes sources the snapshots under stable versions and just bumps release
|
||||
# For user clarity I have separated these into different packages
|
||||
%global commit b792287f5bec9086916aa9b81788e0ea38f02c24
|
||||
%global commit 02af8ba21a6d2648f72b5601f8b8b73a1eeb9e64
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 20260125
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260219
|
||||
|
||||
Name: winetricks-git
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 1e380e8bf132b1993275e8e365aa6d46adb9cd8c
|
||||
%global commit 5db9f03f6282141f084a8a4c8c9cb3d752b0ae9e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2026-02-21
|
||||
%global fulldate 2026-02-20
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global ver 1.3.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit bb368ce1fe974cfef409d08a4415f4c0fd048ab0
|
||||
%global commit 57725ca98210db244ff0a17f5ba08f3dd8116340
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260221
|
||||
%global ver 0.226.0
|
||||
|
||||
%bcond_with check
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
%global name_pretty %{quote:Prism Launcher (Nightly)}
|
||||
%global appid org.prismlauncher.PrismLauncher-nightly
|
||||
|
||||
%global commit 574b75fac0433a0ce9c13bdf2a5cea633c53a791
|
||||
%global commit eac55d849c7ab44a3310a9c5c822a850331c3160
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260220
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
|
||||
@@ -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 f5cf818bcc02ce940e38cfd772ca1681f5b66054
|
||||
%global ver 0.0.39-18816
|
||||
%global commit 6bfb33279f6989f3ff9ea2dc40ef45d6aeb57ef8
|
||||
%global ver 0.0.39-18811
|
||||
|
||||
Name: rpcs3
|
||||
Version: %(echo %{ver} | sed 's/-/^/g')
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%bcond test 0
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 3.0.2
|
||||
Version: 3.0.1
|
||||
Release: 1%?dist
|
||||
Summary: Material You color generation algorithms in pure python!
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9cd342875775f30d2b2ed17314a415ba960fb445
|
||||
%global commit_date 20260222
|
||||
%global commit 9e6b58fad088ca14346e6f7ffd80b9d84b83aed1
|
||||
%global commit_date 20260221
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global pypi_name types-colorama
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global pname carla
|
||||
%global ver 2.5.10
|
||||
%global commit 294a80145e39c0755ab9073d90fd8b9524fbfc84
|
||||
%global commit 011867b6bcd592a510b4ec157c032fcdac23d6ef
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260104
|
||||
|
||||
Name: Carla-nightly
|
||||
Version: %(echo %ver | tr -d 'v')^%commit_date.git~%shortcommit
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit e6ec99e32a9ed6949a7e180241c20dbc1f7a334c
|
||||
%global commit e92914a06c68daba5b7f69ea2755adf051c30d60
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260219
|
||||
|
||||
Name: vgmstream
|
||||
Version: 0~%{commit_date}git.%shortcommit
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9ab01f06fe4cf15d2e9583e605217e61468ec5ea
|
||||
%global commit_date 20260222
|
||||
%global commit 6c3206b7a7f5241fbd12bfe30cc78a4593e582cd
|
||||
%global commit_date 20260203
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "openrazer.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
#? https://github.com/openrazer/OBS-packaging/blob/80f039ee374bc2254a22aca19af572d4993e9893/openrazer.spec
|
||||
|
||||
Name: openrazer
|
||||
Version: 3.10.0
|
||||
Release: 1%?dist
|
||||
Summary: Open source driver and user-space daemon for managing Razer devices
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://openrazer.github.io
|
||||
Source0: https://github.com/openrazer/openrazer/releases/download/v%{version}/openrazer-%{version}.tar.gz
|
||||
Requires: %name-dkms
|
||||
Requires: %name-daemon
|
||||
Requires: python3-%name
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
|
||||
%package common
|
||||
Summary: Common files for OpenRazer packages
|
||||
BuildArch: noarch
|
||||
|
||||
%description common
|
||||
%summary.
|
||||
|
||||
This package provides all common files for the openrazer-* packages.
|
||||
|
||||
%files common
|
||||
%doc README.md
|
||||
%license LICENSES/GPL-2.0-or-later.txt
|
||||
|
||||
|
||||
%package dkms
|
||||
Summary: OpenRazer Driver DKMS package
|
||||
Requires: dkms
|
||||
BuildArch: noarch
|
||||
|
||||
%description dkms
|
||||
%summary.
|
||||
|
||||
Linux kernel driver for OpenRazer.
|
||||
|
||||
#? https://github.com/openrazer/OBS-packaging/blob/80f039ee374bc2254a22aca19af572d4993e9893/openrazer.spec#L181C1-L185C41
|
||||
# I officially have no idea what I'm doing -- mado
|
||||
%files dkms
|
||||
%defattr(-,root,root,-)
|
||||
%{_udevrulesdir}/../razer_mount
|
||||
%{_udevrulesdir}/99-razer.rules
|
||||
%{_usrsrc}/%{dkms_name}-%{dkms_version}/
|
||||
|
||||
|
||||
%package daemon
|
||||
Summary: OpenRazer Service package
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: (%name-dkms or akmod-%name)
|
||||
Requires: python3
|
||||
Requires: python3-dbus
|
||||
Requires: python3-gobject
|
||||
Requires: python3-setproctitle
|
||||
Requires: python3-pyudev
|
||||
Requires: python3-daemonize
|
||||
Requires: xautomation
|
||||
|
||||
%description daemon
|
||||
%summary.
|
||||
|
||||
Userspace daemon that abstracts access to the kernel driver. Provides a DBus service for applications to use.
|
||||
|
||||
%files daemon
|
||||
%{_bindir}/openrazer-daemon
|
||||
%{python3_sitelib}/openrazer_daemon/
|
||||
%{python3_sitelib}/openrazer_daemon-*.egg-info/
|
||||
%{_datadir}/openrazer/
|
||||
%{_datadir}/dbus-1/services/org.razer.service
|
||||
%{_prefix}/lib/systemd/user/openrazer-daemon.service
|
||||
%{_mandir}/man5/razer.conf.5*
|
||||
%{_mandir}/man8/openrazer-daemon.8*
|
||||
|
||||
|
||||
%package -n python3-%name
|
||||
Summary: OpenRazer Python library
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: %name-daemon
|
||||
Requires: python3
|
||||
Requires: python3-dbus
|
||||
Requires: python3-gobject
|
||||
Requires: python3-numpy
|
||||
|
||||
%description -n python3-openrazer
|
||||
%summary.
|
||||
|
||||
Python library for accessing the daemon from Python.
|
||||
|
||||
%files -n python3-openrazer
|
||||
%{python3_sitelib}/openrazer/
|
||||
%{python3_sitelib}/openrazer-*.egg-info/
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n openrazer-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
# FIXME: follow PG?
|
||||
%make_build setup_dkms udev_install daemon_install python_library_install
|
||||
|
||||
|
||||
%pre dkms
|
||||
getent group plugdev >/dev/null || groupadd -r plugdev
|
||||
|
||||
%posttrans dkms
|
||||
dkms install %{dkms_name}/%{dkms_version}
|
||||
|
||||
echo -e "\e[31m********************************************"
|
||||
echo -e "\e[31m* To complete installation, please run: *"
|
||||
echo -e "\e[31m* # sudo gpasswd -a <yourUsername> plugdev *"
|
||||
echo -e "\e[31m********************************************"
|
||||
echo -e -n "\e[39m"
|
||||
|
||||
%preun dkms
|
||||
if [ "$(dkms status -m %{dkms_name} -v %{dkms_version})" ]; then
|
||||
dkms remove -m %{dkms_name} -v %{dkms_version} --all
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("openrazer/openrazer"));
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit df28455f68f2282b2244b51e575ca1a2828523b7
|
||||
%global commit 383c3fe7552112abcd4bc62904bdefbc3e55e25e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20260222
|
||||
%global commit_date 20260221
|
||||
%global ver 0.6.6.2
|
||||
|
||||
# We aren't using Mono but RPM expected Mono
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit f234490dad85e04676008b35876efed8f012ae9f
|
||||
%global commit 5b6458f9fdcf2d06c5e9fae3fa3ace67417dcdab
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20260222
|
||||
%global commitdate 20260221
|
||||
%global ver 1.0.20
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%define debug_package %nil
|
||||
Name: sops
|
||||
Version: 3.12.1
|
||||
Version: 3.11.0
|
||||
Release: 1%?dist
|
||||
Summary: Simple and flexible tool for managing secrets
|
||||
License: MPL-2.0
|
||||
|
||||
Reference in New Issue
Block a user