mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
117 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bb44f52035 | |||
| 104649b9b6 | |||
| edf5afdf64 | |||
| 653cecb541 | |||
| 80ec5a283a | |||
| 8362d456d7 | |||
| 916807dd1c | |||
| 73a69ba191 | |||
| 7cc959367b | |||
| 304225ef47 | |||
| e7b497a0ba | |||
| 9d140cb1dc | |||
| 9518b973a1 | |||
| 98b7ee21f9 | |||
| 69a9e1f524 | |||
| ef6483fa86 | |||
| 9a6fe9f57e | |||
| 3fd07693e6 | |||
| 5cfe593d1d | |||
| eddd7240b4 | |||
| 16dbadf1a4 | |||
| fdc5244db0 | |||
| a12b82bbb5 | |||
| 09c6ba0999 | |||
| f3498d185a | |||
| 0b7a345cbb | |||
| 4b29b0c0ef | |||
| 18d19b8ccb | |||
| b5643ea653 | |||
| c046cb96fc | |||
| 2e91e34c7c | |||
| 50ef7655ad | |||
| a04ab29762 | |||
| 564b4b5efc | |||
| af59966289 | |||
| 14c23573d5 | |||
| a775aba05b | |||
| c0ea496361 | |||
| a139fd1b10 | |||
| 380da4c1b0 | |||
| 9ea4014217 | |||
| a4e0d6a2f9 | |||
| 19ccd20030 | |||
| ea32fbf0ef | |||
| 610516759f | |||
| 4a0e3883ab | |||
| d0116a7eff | |||
| 93d7fc4b14 | |||
| 410caee026 | |||
| 422eac13f8 | |||
| 161a27551d | |||
| 0e9768cc48 | |||
| 5fb6a3c9d2 | |||
| f73145e260 | |||
| b3c05575cc | |||
| 2c23b5d553 | |||
| 705cf8d550 | |||
| c4ef2f0908 | |||
| 2673998f05 | |||
| 4caf46c9c0 | |||
| b39cb906e6 | |||
| c2fd47dc4b | |||
| 90ef67272b | |||
| 2896419ba2 | |||
| e97321b001 | |||
| 3d13c6521f | |||
| 2ff68b65cf | |||
| 653ebfec28 | |||
| f1b6c8eab7 | |||
| fad47a0a17 | |||
| 40ff359758 | |||
| fe65f7962d | |||
| bdd838ab49 | |||
| 2fe3cad675 | |||
| a5c6f2c900 | |||
| 4bdf867a1d | |||
| d79a708327 | |||
| c9038d1468 | |||
| f9af700e96 | |||
| 9b563fe4a4 | |||
| 76b2aa8373 | |||
| 60abf7f890 | |||
| bdf4f734a4 | |||
| 03d46a7c93 | |||
| b526c32a1d | |||
| 883fe6a7bb | |||
| 074b8c33ad | |||
| 3a449f40ab | |||
| 465855e0b7 | |||
| 45f7aef913 | |||
| b32c423413 | |||
| 7649c4f9a0 | |||
| 1550e1680e | |||
| f2316d4539 | |||
| 5cf637d780 | |||
| b3f15ace72 | |||
| da487763ac | |||
| 4b3ce85752 | |||
| 9738e02139 | |||
| 8f937512cf | |||
| 2be39debad | |||
| 40e5d36c5b | |||
| 872a56a20e | |||
| dad004ff7e | |||
| 3544bda352 | |||
| da31334a9f | |||
| 72b0e21a7b | |||
| 97fc431c8a | |||
| 4ec3738aee | |||
| 8dd1182743 | |||
| a852bed7b1 | |||
| cfb0589ce0 | |||
| 09b232ef00 | |||
| eb0c11c2ff | |||
| 8f41fe442f | |||
| eb4076a3a1 | |||
| 8d7336f919 |
@@ -7,11 +7,6 @@ URL: https://apps.ankiweb.net/
|
||||
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes)
|
||||
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson
|
||||
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine
|
||||
BuildRequires: python3-qt5 python3-qt5-devel python3-pyqt6 python3-pyqt6-devel protobuf-compiler protobuf-devel
|
||||
BuildRequires: python3dist(pyqt5)
|
||||
BuildRequires: python3dist(pyqt5-sip)
|
||||
BuildRequires: python3dist(pyqt6)
|
||||
BuildRequires: python3dist(pyqt6-sip)
|
||||
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt6-webengine
|
||||
Recommends: (mpv or mpv-nightly)
|
||||
@@ -34,7 +29,7 @@ git checkout %{version}
|
||||
|
||||
%build
|
||||
export RELEASE=1
|
||||
export PYTHONPATH="%{python3_sitelib}:%{python3_sitearch}:%{buildroot}%{python3_sitelib}:%{buildroot}%{python3_sitearch}:$PYTHONPATH"
|
||||
export PYTHONPATH=%_libdir/python3/dist-packages
|
||||
cargo update
|
||||
mold -run ./tools/build
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: chdig
|
||||
Version: 25.11.2
|
||||
Version: 25.12.1
|
||||
Release: 1%?dist
|
||||
Summary: Dig into ClickHouse with TUI interface
|
||||
URL: https://github.com/azat/chdig
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.814
|
||||
Version: 0.0.819
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.814
|
||||
Version: 0.0.819
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.116
|
||||
Version: 0.0.117
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.116
|
||||
Version: 0.0.117
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.21.2
|
||||
Version: 0.22.0
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
|
||||
|
||||
%global ver 13.3.0
|
||||
%global commit e9a8aed8ac33d455da40cac004250f710a167b1a
|
||||
%global commit 7ed3cfc83eda4bd33f5044041075689bb517a314
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20251129
|
||||
%global commit_date 20251130
|
||||
%global devel_name QtColorWidgets
|
||||
%global _distro_extra_cflags -fuse-ld=mold
|
||||
%global _distro_extra_cxxflags -fuse-ld=mold
|
||||
|
||||
@@ -18,6 +18,7 @@ BuildRequires: alsa-lib-devel
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
|
||||
|
||||
%description
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Disable X11 for RHEL 10+
|
||||
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
|
||||
|
||||
%global commit 23f9381b8053ad7fcba11b61607497ce43eaebc7
|
||||
%global commit 72dbcf119a9ed5082be2f226593194e20f611eea
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251129
|
||||
%global commit_date 20251201
|
||||
%global ver 0.40.0
|
||||
|
||||
Name: mpv-nightly
|
||||
@@ -188,7 +188,6 @@ sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf
|
||||
-Dsdl2-audio=enabled \
|
||||
-Dsdl2-gamepad=enabled \
|
||||
-Dsdl2-video=enabled \
|
||||
-Dsdl2=enabled \
|
||||
-Dshaderc=disabled \
|
||||
-Dsndio=disabled \
|
||||
-Dspirv-cross=disabled \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2025-11-29
|
||||
%global ver 2025-12-03
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||
%global major_version 49
|
||||
%global minor_version 1
|
||||
%global minor_version 2
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global portal_helper 0
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
Name: gnome-shell
|
||||
Version: %{major_version}.%{minor_version}
|
||||
Release: 6%{?dist}.switcheroo
|
||||
Release: 2%{?dist}.switcheroo
|
||||
Summary: Window management and application launching for GNOME
|
||||
|
||||
Provides: gnome-shell.switcheroo = %version-%release
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
%global realname hyprutils
|
||||
%global ver 0.10.4
|
||||
|
||||
%global commit a64517c23613b302a3ecc5f4608f3919e8e29830
|
||||
%global commit_date 20251129
|
||||
%global commit 2f2413801beee37303913fc3c964bbe92252a963
|
||||
%global commit_date 20251202
|
||||
%global shortcommit %{sub %commit 1 7}
|
||||
|
||||
Name: %realname.nightly
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 54e10292fdecc42d2f5b296209d5b67f8ae90423
|
||||
%global commit 4652fb4fb04569bea5102e9e52c23ca66a131435
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit 4111d119b21d58754f8b4bcaa7665cab7263be00
|
||||
%global commit 4789df7ca73f4d945279d6c28dab8c5efbac4b18
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
Version: 1.3.5110
|
||||
Release: 2%?dist
|
||||
Version: 1.3.5900
|
||||
Release: 1%?dist
|
||||
Summary: QML components to ease the creation of beautiful applications in QML for Lomiri
|
||||
|
||||
License: LGPL-3.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: mangowc
|
||||
Version: 0.10.6
|
||||
Version: 0.10.7
|
||||
Release: 1%?dist
|
||||
Summary: wayland compositor base wlroots and scenefx (dwm but wayland)
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 9baf37a9b2a1119c697b0eabf32391bfb41ef287
|
||||
%global commit b4a48303ed9ea74d326ba450ddf5f1514dca76d0
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2025-11-28
|
||||
%global fulldate 2025-12-01
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global ver 1.3.0
|
||||
@@ -180,6 +180,19 @@ BuildArch: noarch
|
||||
%description terminfo
|
||||
Ghostty's terminfo. Needed for basic terminal function.
|
||||
|
||||
%package -n libghostty-vt-nightly
|
||||
Summary: The libghostty-vt libraries
|
||||
|
||||
%description -n libghostty-vt-nightly
|
||||
This package contains the libghostty-vt libraries, the first of many linghostty libaries in development.
|
||||
|
||||
%package -n libghostty-vt-nightly-devel
|
||||
Summary: Development files for libghostty-vt
|
||||
Requires: libghostty-vt-nightly = %{evr}
|
||||
|
||||
%description -n libghostty-vt-nightly-devel
|
||||
This package contains the libraries and header files that are needed for developing with libghostty-vt.
|
||||
|
||||
%prep
|
||||
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key}
|
||||
%autosetup -n %{base_name}-%{ver}-main+%{shortcommit}
|
||||
@@ -240,8 +253,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/ghostty/
|
||||
%{_libdir}/libghostty-vt.so
|
||||
%{_datadir}/pkgconfig/libghostty-vt.pc
|
||||
|
||||
%files kio
|
||||
%{_datadir}/kio/servicemenus/%{appid}.desktop
|
||||
@@ -279,6 +290,13 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
|
||||
%endif
|
||||
%{_datadir}/terminfo/x/xterm-%{base_name}
|
||||
|
||||
%files -n libghostty-vt-nightly
|
||||
%{_libdir}/libghostty-vt.so.*
|
||||
|
||||
%files -n libghostty-vt-nightly-devel
|
||||
%{_libdir}/libghostty-vt.so
|
||||
%{_datadir}/pkgconfig/libghostty-vt.pc
|
||||
|
||||
%post
|
||||
%systemd_user_post app-%{appid}.service
|
||||
|
||||
@@ -289,6 +307,8 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
|
||||
%systemd_user_postun app-%{appid}.service
|
||||
|
||||
%changelog
|
||||
* Sat Nov 29 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251128git9baf37a-1
|
||||
- Initial libghostty-vt packages
|
||||
* Tue Oct 28 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251027gitd40321a-2
|
||||
- Disabled bundled themes
|
||||
* This is necessary to address licensing issues in the themes repo Ghostty uses
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
# Naming variable as something other than "commit" is necessary
|
||||
# to stop %%gometa from putting commit hash in release
|
||||
%global commit_hash 70dfc7fcb4d0f53e155fa0d8ac5ea200d8736d16
|
||||
%global commit_date 20251128
|
||||
%global commit_hash 118f5a3e357f026b455fb60a48e124c2ce2910d1
|
||||
%global commit_date 20251203
|
||||
%global shortcommit %{sub %{commit_hash} 1 7}
|
||||
%global ver 2.0.14
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
rpm.version(find("([\\d.]+)", gh("yarnpkg/berry"), 1));
|
||||
rpm.version(npm("@yarnpkg/cli"));
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: yarnpkg-berry
|
||||
Version: 4.12.0
|
||||
Release: 3%?dist
|
||||
Release: 4%?dist
|
||||
Summary: Active development version of Yarn
|
||||
License: BSD-2-Clause
|
||||
URL: https://yarnpkg.com
|
||||
@@ -17,7 +17,7 @@ BuildRequires: yarnpkg
|
||||
BuildRequires: %{name}
|
||||
%endif
|
||||
Provides: yarn-berry
|
||||
Provides: yarnpkg = %{evr}
|
||||
Conflicts: yarnpkg
|
||||
BuildArch: noarch
|
||||
Packager: Gilver E. <rockgrub@disroot.org>
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop-application">
|
||||
<!-- the terra appstream builder will auto-fill this, this is a quirk of terra-appstream-builder -->
|
||||
<name>Zed</name>
|
||||
<id>dev.zed.Zed</id>
|
||||
<icon>dev.zed.Zed-nightly</icon>
|
||||
</component>
|
||||
@@ -1,16 +1,22 @@
|
||||
%global commit 200a4a5c786cf23dedf0f9f38d86af764b69f8ea
|
||||
%global commit 2bf47879dee6dc8c21613b83e058a1dd4b9bde29
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251129
|
||||
%global commit_date 20251203
|
||||
%global ver 0.216.0
|
||||
|
||||
%bcond_with check
|
||||
%bcond_with debug_no_build
|
||||
%bcond nightly 1
|
||||
|
||||
%if 0%{?with_debug_no_build}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed-Nightly
|
||||
%global appid dev.zed.Zed-nightly
|
||||
%global appstream_component desktop-application
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
@@ -22,6 +28,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
|
||||
URL: https://zed.dev/
|
||||
Source0: https://github.com/zed-industries/zed/archive/%{commit}.tar.gz
|
||||
Source1: override.xml
|
||||
|
||||
Conflicts: zed
|
||||
Conflicts: zed-preview
|
||||
@@ -69,9 +76,12 @@ Supplements: (%name unless zfs)
|
||||
%description cli
|
||||
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
|
||||
%files cli
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zed
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -83,21 +93,26 @@ RemovePathPostFixes: .zeditor
|
||||
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
|
||||
The normal package is %name-cli.
|
||||
%files rename-zeditor
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zeditor
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{commit} -p1
|
||||
%if %{without debug_no_build}
|
||||
%if %{with nightly}
|
||||
%rustup_nightly
|
||||
%endif
|
||||
%cargo_prep_online
|
||||
%endif
|
||||
|
||||
export DO_STARTUP_NOTIFY="true"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_ID="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_NAME="Zed Nightly"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
@@ -107,35 +122,40 @@ export ZED_RELEASE_CHANNEL=nightly
|
||||
export BRANDING_LIGHT="#e9aa6a"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
|
||||
%build
|
||||
%if %{without debug_no_build}
|
||||
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Nightly from Terra."
|
||||
echo "nightly" > crates/zed/RELEASE_CHANNEL
|
||||
|
||||
%cargo_build -- --package zed --package cli
|
||||
ALLOW_MISSING_LICENSES=1 script/generate-licenses
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without debug_no_build}
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
%endif
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
|
||||
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
|
||||
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
|
||||
# Zed also needs a special approach to fetch the dep licenses
|
||||
%if %{without debug_no_build}
|
||||
%{__cargo} tree \
|
||||
-Z avoid-dev-deps \
|
||||
--workspace \
|
||||
@@ -148,17 +168,21 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
|
||||
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
|
||||
| sort -u \
|
||||
> LICENSE.dependencies
|
||||
%endif
|
||||
mv assets/icons/LICENSES LICENSE.icons
|
||||
mv assets/themes/LICENSES LICENSE.themes
|
||||
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
|
||||
%terra_appstream -o %{SOURCE1}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -166,13 +190,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
%license LICENSE-AGPL
|
||||
%license LICENSE-APACHE
|
||||
%license LICENSE-GPL
|
||||
%if %{without debug_no_build}
|
||||
%license LICENSE.dependencies
|
||||
%endif
|
||||
%license LICENSE.fonts
|
||||
%license LICENSE.icons
|
||||
%license LICENSE.themes
|
||||
%if %{without debug_no_build}
|
||||
%license assets/licenses.md
|
||||
%endif
|
||||
%if %{without debug_no_build}
|
||||
%{_libexecdir}/zed-editor
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop-application">
|
||||
<name>Zed (Preview)</name>
|
||||
<id>dev.zed.Zed-preview</id>
|
||||
<icon>dev.zed.Zed-preview</icon>
|
||||
</component>
|
||||
@@ -1,11 +1,17 @@
|
||||
%bcond_with check
|
||||
%bcond_with debug_no_build
|
||||
|
||||
%global ver 0.215.2-pre
|
||||
%if 0%{?with_debug_no_build}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%global ver 0.216.0-pre
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed-Preview
|
||||
%global appid dev.zed.Zed-preview
|
||||
%global appstream_component desktop-application
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
@@ -17,6 +23,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
|
||||
URL: https://zed.dev/
|
||||
Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{ver}.tar.gz
|
||||
Source1: override.xml
|
||||
|
||||
Conflicts: zed
|
||||
Conflicts: zed-nightly
|
||||
@@ -61,9 +68,12 @@ Supplements: (%name unless zfs)
|
||||
%description cli
|
||||
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
|
||||
%files cli
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zed
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -75,18 +85,23 @@ RemovePathPostFixes: .zeditor
|
||||
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
|
||||
The normal package is %name-cli.
|
||||
%files rename-zeditor
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zeditor
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{ver} -p1
|
||||
%if %{without debug_no_build}
|
||||
%cargo_prep_online
|
||||
%endif
|
||||
|
||||
export DO_STARTUP_NOTIFY="true"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_ID="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_NAME="Zed Preview"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
@@ -96,35 +111,40 @@ export ZED_RELEASE_CHANNEL=preview
|
||||
export BRANDING_LIGHT="#99c1f1"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
|
||||
%build
|
||||
%if %{without debug_no_build}
|
||||
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra."
|
||||
echo "preview" > crates/zed/RELEASE_CHANNEL
|
||||
|
||||
%cargo_build -- --package zed --package cli
|
||||
ALLOW_MISSING_LICENSES=1 script/generate-licenses
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without debug_no_build}
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
%endif
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
|
||||
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
|
||||
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
|
||||
# Zed also needs a special approach to fetch the dep licenses
|
||||
%if %{without debug_no_build}
|
||||
%{__cargo} tree \
|
||||
-Z avoid-dev-deps \
|
||||
--workspace \
|
||||
@@ -137,17 +157,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
|
||||
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
|
||||
| sort -u \
|
||||
> LICENSE.dependencies
|
||||
%endif
|
||||
mv assets/icons/LICENSES LICENSE.icons
|
||||
mv assets/themes/LICENSES LICENSE.themes
|
||||
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
|
||||
|
||||
%terra_appstream -o %{SOURCE1}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -155,13 +180,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
%license LICENSE-AGPL
|
||||
%license LICENSE-APACHE
|
||||
%license LICENSE-GPL
|
||||
%if %{without debug_no_build}
|
||||
%license LICENSE.dependencies
|
||||
%endif
|
||||
%license LICENSE.fonts
|
||||
%license LICENSE.icons
|
||||
%license LICENSE.themes
|
||||
%if %{without debug_no_build}
|
||||
%license assets/licenses.md
|
||||
%endif
|
||||
%if %{without debug_no_build}
|
||||
%{_libexecdir}/zed-editor
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop-application">
|
||||
<name>Zed</name>
|
||||
<id>dev.zed.Zed</id>
|
||||
<icon>dev.zed.Zed</icon>
|
||||
</component>
|
||||
@@ -1,21 +1,28 @@
|
||||
%bcond_with check
|
||||
%bcond_with debug_no_build
|
||||
|
||||
%if %{with debug_no_build}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed
|
||||
%global appid dev.zed.Zed
|
||||
%global appstream_component desktop-application
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
Name: zed
|
||||
Version: 0.214.6
|
||||
Version: 0.215.3
|
||||
Release: 1%?dist
|
||||
Summary: Zed is a high-performance, multiplayer code editor
|
||||
SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR MIT) 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib
|
||||
URL: https://zed.dev/
|
||||
Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{version}.tar.gz
|
||||
Source1: override.xml
|
||||
|
||||
Conflicts: zed-nightly
|
||||
Conflicts: zed-preview
|
||||
@@ -61,9 +68,12 @@ Supplements: (%name unless zfs)
|
||||
%description cli
|
||||
This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead.
|
||||
%files cli
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zed
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -75,19 +85,23 @@ RemovePathPostFixes: .zeditor
|
||||
This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package.
|
||||
The normal package is %name-cli.
|
||||
%files rename-zeditor
|
||||
%if %{without debug_no_build}
|
||||
%_bindir/zeditor
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%if %{without debug_no_build}
|
||||
%cargo_prep_online
|
||||
%endif
|
||||
|
||||
export DO_STARTUP_NOTIFY="true"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_NAME="Zed Editor"
|
||||
export APP_ID="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_NAME="Zed"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
export APP_ARGS="%U"
|
||||
@@ -96,35 +110,40 @@ export ZED_RELEASE_CHANNEL=stable
|
||||
export BRANDING_LIGHT="#e9aa6a"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in
|
||||
envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
|
||||
%build
|
||||
%if %{without debug_no_build}
|
||||
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed from Terra."
|
||||
echo "stable" > crates/zed/RELEASE_CHANNEL
|
||||
|
||||
%cargo_build -- --package zed --package cli
|
||||
ALLOW_MISSING_LICENSES=1 script/generate-licenses
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without debug_no_build}
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
%endif
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor
|
||||
install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor
|
||||
install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/
|
||||
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
|
||||
# The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses
|
||||
# Zed also needs a special approach to fetch the dep licenses
|
||||
%if %{without debug_no_build}
|
||||
%{__cargo} tree \
|
||||
-Z avoid-dev-deps \
|
||||
--workspace \
|
||||
@@ -137,17 +156,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo
|
||||
| sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \
|
||||
| sort -u \
|
||||
> LICENSE.dependencies
|
||||
%endif
|
||||
mv assets/icons/LICENSES LICENSE.icons
|
||||
mv assets/themes/LICENSES LICENSE.themes
|
||||
mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts
|
||||
|
||||
%terra_appstream -o %{SOURCE1}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -155,13 +179,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
%license LICENSE-AGPL
|
||||
%license LICENSE-APACHE
|
||||
%license LICENSE-GPL
|
||||
%if %{without debug_no_build}
|
||||
%license LICENSE.dependencies
|
||||
%license assets/licenses.md
|
||||
%endif
|
||||
%license LICENSE.fonts
|
||||
%license LICENSE.icons
|
||||
%license LICENSE.themes
|
||||
%license assets/licenses.md
|
||||
%if %{without debug_no_build}
|
||||
%{_libexecdir}/zed-editor
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
%global name_pretty %{quote:Prism Launcher (Nightly)}
|
||||
%global appid org.prismlauncher.PrismLauncher-nightly
|
||||
|
||||
%global commit 5c8b18098faf43a73a7f2a2db913da82d45f7678
|
||||
%global commit fbe239eb3d8e4f7cb437cb7f6772b9953efaeec3
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 20251129
|
||||
%global commit_date 20251203
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
|
||||
+31
-37
@@ -1,9 +1,8 @@
|
||||
%global _distro_extra_cflags -Wno-uninitialized
|
||||
%global _distro_extra_cxxflags -include %_includedir/c++/*/cstdint
|
||||
# Define which LLVM/Clang version RPCS3 needs
|
||||
%if %{?fedora} >= 43
|
||||
%global llvm_major 20
|
||||
%bcond llvm_compat 1
|
||||
%if 0%{?fedora} >= 45
|
||||
%global llvm_major 21
|
||||
%endif
|
||||
# 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}
|
||||
@@ -11,8 +10,8 @@
|
||||
# Need to get rid of everything Clang can't use and undefine -Wunused-command-line-argument where possible due to the project's build flags
|
||||
%global build_cflags %(echo %{build_cflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
|
||||
%global build_cxxflags %(echo %{build_cxxflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
|
||||
%global commit 7b560e5ffaf3504b590db69309bd8290125920e4
|
||||
%global ver 0.0.38-18406
|
||||
%global commit e3f5f2d14e44a44eec9f8c0f79f53893ff04fdbc
|
||||
%global ver 0.0.38-18442
|
||||
|
||||
Name: rpcs3
|
||||
Version: %(echo %{ver} | sed 's/-/^/g')
|
||||
@@ -68,40 +67,35 @@ BuildRequires: qt6-qtbase-private-devel vulkan-devel jack-audio-connection-kit-
|
||||
|
||||
%build
|
||||
# Looking at the CMakeLists.txt, this is the intended compiler and there are no fixes for GCC on aarch64
|
||||
%if %{with llvm_compat}
|
||||
%if %{defined llvm_major}
|
||||
export LLVM_DIR=%{_libdir}/llvm%{?llvm_major}/%{_lib}/cmake
|
||||
%endif
|
||||
%cmake -DDISABLE_LTO=TRUE \
|
||||
-DZSTD_BUILD_STATIC=ON \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DUSE_NATIVE_INSTRUCTIONS=OFF \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DSTATIC_LINK_LLVM=OFF \
|
||||
-DUSE_SYSTEM_FAUDIO=ON \
|
||||
-DUSE_SDL=ON \
|
||||
-DUSE_SYSTEM_SDL=ON \
|
||||
-DBUILD_LLVM=OFF \
|
||||
-DUSE_PRECOMPILED_HEADERS=OFF \
|
||||
-DUSE_DISCORD_RPC=ON \
|
||||
-DUSE_SYSTEM_FFMPEG=ON \
|
||||
-DUSE_SYSTEM_LIBPNG=ON \
|
||||
-DUSE_SYSTEM_ZLIB=ON \
|
||||
-DUSE_SYSTEM_OPENCV=ON \
|
||||
-DUSE_SYSTEM_CURL=ON \
|
||||
-DUSE_SYSTEM_FLATBUFFERS=OFF \
|
||||
-DUSE_SYSTEM_PUGIXML=OFF \
|
||||
-DUSE_SYSTEM_WOLFSSL=OFF \
|
||||
%if %{with llvm_compat}
|
||||
-DCMAKE_C_COMPILER=clang-%{?llvm_major} \
|
||||
-DCMAKE_CXX_COMPILER=clang++-%{?llvm_major} \
|
||||
%else
|
||||
-DCMAKE_C_COMPILER=clang \
|
||||
-DCMAKE_CXX_COMPILER=clang++ \
|
||||
%endif
|
||||
-DCMAKE_LINKER=mold \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" \
|
||||
%cmake -DDISABLE_LTO=TRUE \
|
||||
-DZSTD_BUILD_STATIC=ON \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DUSE_NATIVE_INSTRUCTIONS=OFF \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DSTATIC_LINK_LLVM=OFF \
|
||||
-DUSE_SYSTEM_FAUDIO=ON \
|
||||
-DUSE_SDL=ON \
|
||||
-DUSE_SYSTEM_SDL=ON \
|
||||
-DBUILD_LLVM=OFF \
|
||||
-DUSE_PRECOMPILED_HEADERS=OFF \
|
||||
-DUSE_DISCORD_RPC=ON \
|
||||
-DUSE_SYSTEM_FFMPEG=ON \
|
||||
-DUSE_SYSTEM_LIBPNG=ON \
|
||||
-DUSE_SYSTEM_ZLIB=ON \
|
||||
-DUSE_SYSTEM_OPENCV=ON \
|
||||
-DUSE_SYSTEM_CURL=ON \
|
||||
-DUSE_SYSTEM_FLATBUFFERS=OFF \
|
||||
-DUSE_SYSTEM_PUGIXML=OFF \
|
||||
-DUSE_SYSTEM_WOLFSSL=OFF \
|
||||
-DCMAKE_C_COMPILER=clang%{?llvm_major:-%{llvm_major}} \
|
||||
-DCMAKE_CXX_COMPILER=clang++%{?llvm_major:-%{llvm_major}} \
|
||||
-DCMAKE_LINKER=mold \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold"
|
||||
%cmake_build
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.10.2
|
||||
Version: 3.10.3
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
# https://github.com/nektos/act
|
||||
%global goipath github.com/nektos/act
|
||||
Version: 0.2.82
|
||||
Version: 0.2.83
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy-docs
|
||||
Version: 5.0.2
|
||||
Version: 5.0.3
|
||||
Release: 1%?dist
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy
|
||||
Version: 5.0.2
|
||||
Version: 5.0.3
|
||||
Release: 1%?dist
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit 66560840043d2ea8a96b4ce46ab55f0faed37349
|
||||
%global commit 2d0b62aa515c9d1b4132a5c83713d7d1e68840a0
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.3.1
|
||||
%global commit_date 20251128
|
||||
%global commit_date 20251203
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nightly
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Colour your text / terminal to be more gay
|
||||
License: MIT
|
||||
URL: https://github.com/ms-jpq/gay
|
||||
@@ -44,8 +44,6 @@ Provides: gay
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/gay
|
||||
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
|
||||
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
|
||||
%python3_sitelib/gay-1.3.4.dist-info/*
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global _desc python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.3.1
|
||||
Version: 1.3.2
|
||||
Release: 1%?dist
|
||||
Summary: python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML
|
||||
License: LGPL-2.1
|
||||
|
||||
@@ -10,7 +10,6 @@ URL: https://github.com/memory/PGPy
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PGPy13/pgpy13-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3.10
|
||||
BuildRequires: python3-build
|
||||
BuildRequires: python3-installer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 148b8e631d9a76f7bdcc5478d36692ff79e16227
|
||||
%global commit_date 20251129
|
||||
%global commit 5e3a96dcaa378d0937134b0fc5ae23fb3928e1f5
|
||||
%global commit_date 20251203
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global pypi_name types-colorama
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
%global altdiffname cococonscious-%{crate}
|
||||
|
||||
Name: rust-koji
|
||||
Version: 3.2.0
|
||||
Release: 1%{?dist}
|
||||
Version: 3.3.1
|
||||
Release: 1%?dist
|
||||
Summary: Interactive CLI for creating conventional commits
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%global crate typst
|
||||
|
||||
Name: rust-typst
|
||||
Version: 0.14.0
|
||||
Version: 0.14.1
|
||||
Release: 1%?dist
|
||||
Summary: New markup-based typesetting system that is powerful and easy to learn
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: xwayland-satellite
|
||||
Version: 0.7
|
||||
Version: 0.8
|
||||
Release: 1%?dist
|
||||
Summary: Xwayland outside your Wayland.
|
||||
License: MPL-2.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
||||
%global commit 6665f7708ef15baa5538f5582b81ceb75a104a24
|
||||
%global commit aea4ea398b7c75494f23f5e5bdb4f495d615059f
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*.tar.xz
|
||||
*.tar.xz.minisig
|
||||
@@ -0,0 +1,2 @@
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
sh(`./setup.sh fetch`, #{ "cwd": dir });
|
||||
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
version=0.16.0-dev.1484+d0ba6642b
|
||||
|
||||
mirrors=()
|
||||
|
||||
for m in $(curl -s https://ziglang.org/download/community-mirrors.txt); do
|
||||
mirrors+=($m)
|
||||
done
|
||||
|
||||
|
||||
# Self explanatory
|
||||
function randomize_mirrors() {
|
||||
number=${#mirrors[@]}
|
||||
index=$(( RANDOM % number ))
|
||||
mirror=${mirrors[$index]}
|
||||
}
|
||||
|
||||
if [ "$1" == "fetch" ]; then
|
||||
until curl -If ${mirror}/zig-${version}.tar.xz &>/dev/null && curl -If ${mirror}/zig-${version}.tar.xz.minisig &>/dev/null; do
|
||||
randomize_mirrors
|
||||
done
|
||||
echo -e "\033[0;32mNote:\033[0m Selected mirror $mirror"
|
||||
curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz
|
||||
curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz.minisig
|
||||
elif [ "$1" == "version" ]; then
|
||||
echo $version
|
||||
# Grab a random mirror. For debugging purposes.
|
||||
elif [ "$1" == "mirror" ]; then
|
||||
randomize_mirrors
|
||||
echo "Your random mirror is $mirror"
|
||||
elif [ "$1" == "mirrors" ]; then
|
||||
echo "$mirrors"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -2,6 +2,10 @@ let url = `https://ziglang.org/download/index.json`;
|
||||
let json = get(url).json();
|
||||
let v = json.master.version;
|
||||
rpm.global("ver", v);
|
||||
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
// Update the Zig version in the script
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
sh(`sed -i 's|version=.*|version=${v}|' setup.sh`, #{ "cwd": dir });
|
||||
}
|
||||
|
||||
@@ -36,17 +36,15 @@
|
||||
%global zig_install_options %zig_build_options %{shrink: \
|
||||
--prefix "%{_prefix}" \
|
||||
}
|
||||
%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev")
|
||||
%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]})
|
||||
|
||||
Name: zig-master-bootstrap
|
||||
Name: zig-master
|
||||
Version: %(echo %{ver} | sed 's/-/~/g')
|
||||
Release: 1%?dist
|
||||
Summary: Boostrap builds for Zig.
|
||||
Summary: Bootstrapped build of Zig from master.
|
||||
License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
|
||||
URL: https://ziglang.org
|
||||
Source0: %{mirror_url}/zig-%{ver}.tar.xz
|
||||
Source1: %{mirror_url}/zig-%{ver}.tar.xz.minisig
|
||||
Source0: zig-%{version_no_tilde}.tar.xz
|
||||
Source1: zig-%{version_no_tilde}.tar.xz.minisig
|
||||
Patch0: 0000-remove-native-lib-directories-from-rpath.patch
|
||||
Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch
|
||||
BuildRequires: cmake
|
||||
@@ -63,11 +61,14 @@ BuildRequires: help2man
|
||||
BuildRequires: minisign
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: %{name} = %{version}
|
||||
Obsoletes: %{name}-bootstrap < %{version}
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
BuildRequires: libstdc++-static
|
||||
%endif
|
||||
# For the version_no_tilde macro
|
||||
BuildRequires: rust-srpm-macros
|
||||
Requires: %{name}-libs = %{version}
|
||||
# Apache-2.0 WITH LLVM-exception OR NCSA OR MIT
|
||||
Provides: bundled(compiler-rt) = %{llvm_version}
|
||||
@@ -91,7 +92,7 @@ Packager: Gilver E. <rockgrub@disroot.org>
|
||||
|
||||
%description
|
||||
Zig is an open source alternative to C.
|
||||
This package provides the bootstrap to build full "prerelease"/master builds of Zig.
|
||||
This package provides the bootstrapped build to build full "prerelease"/master builds of Zig.
|
||||
It is not recommended to use this build on its own.
|
||||
|
||||
# The Zig stdlib only contains uncompiled code
|
||||
@@ -198,6 +199,8 @@ install -Dpm644 zig.1 -t %{buildroot}%{_mandir}/man1/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Nov 24 2025 Gilver E. <rockgrub@disroot.org> - 0.16.0~dev.1456+16fc083f2-2
|
||||
- Moved to new method of bootstrapping, deprecated zig-master-bootstrap
|
||||
* Sat May 10 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.482+2c241b263-2
|
||||
- Added GCC runtime dependency to pass system information to Zig
|
||||
* Fri Apr 25 2025 Gilver E. <rockgrub@disroot.org> - 0.15.0~dev.384+c06fecd46-2
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*.tar.xz
|
||||
*.tar.xz.minisig
|
||||
@@ -0,0 +1,2 @@
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
sh(`../bootstrap/setup.sh fetch`, #{ "cwd": dir });
|
||||
@@ -1,3 +1,8 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch));
|
||||
rpm.version(bump::madoguchi("zig-master", labels.branch));
|
||||
|
||||
if rpm.changed {
|
||||
let r = bump::madoguchi_json("zig-master", labels.branch).rel;
|
||||
rpm.release(r + 1);
|
||||
}
|
||||
|
||||
@@ -11,17 +11,15 @@
|
||||
%bcond docs %{without bootstrap}
|
||||
%bcond test 1
|
||||
%global zig_cache_dir %{builddir}/zig-cache
|
||||
%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev")
|
||||
%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]})
|
||||
|
||||
Name: zig-master
|
||||
Version: 0.16.0~dev.1484+d0ba6642b
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Master builds of the Zig language
|
||||
License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
|
||||
URL: https://ziglang.org
|
||||
Source0: %{mirror_url}/zig-%{version_no_tilde}.tar.xz
|
||||
Source1: %{mirror_url}/zig-%{version_no_tilde}.tar.xz.minisig
|
||||
Source0: zig-%{version_no_tilde}.tar.xz
|
||||
Source1: zig-%{version_no_tilde}.tar.xz.minisig
|
||||
Patch0: 0000-remove-native-lib-directories-from-rpath.patch
|
||||
Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch
|
||||
BuildRequires: cmake
|
||||
@@ -37,7 +35,8 @@ BuildRequires: help2man
|
||||
# for signature verification
|
||||
BuildRequires: minisign
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: %{name}-bootstrap = %{version}
|
||||
BuildRequires: %{name} = %{version}
|
||||
Obsoletes: %{name}-bootstrap < %{version}
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
|
||||
@@ -276,10 +276,11 @@ make -C utils check
|
||||
%{_bindir}/aa-exec
|
||||
%{_bindir}/aa-features-abi
|
||||
%{_sbindir}/aa-load
|
||||
%{_sbindir}/aa-teardown
|
||||
%{_unitdir}/apparmor.service
|
||||
%{_sbindir}/aa-show-usage
|
||||
%dnl %{_sbindir}/aa-teardown
|
||||
%dnl %{_unitdir}/apparmor.service
|
||||
%{_presetdir}/70-apparmor.preset
|
||||
%{_prefix}/lib/apparmor
|
||||
%dnl %{_prefix}/lib/apparmor
|
||||
%dir %{_sysconfdir}/apparmor
|
||||
# FIXME: the confusion…? how did this happen
|
||||
%config(noreplace) %{_sysconfdir}/apparmor/default_unconfined.template
|
||||
@@ -293,7 +294,8 @@ make -C utils check
|
||||
%{_mandir}/man7/apparmor.7.gz
|
||||
%{_mandir}/man7/apparmor_xattrs.7.gz
|
||||
%{_mandir}/man8/aa-load.8.gz
|
||||
%{_mandir}/man8/aa-teardown.8.gz
|
||||
%{_mandir}/man8/aa-show-usage.8.gz
|
||||
%dnl %{_mandir}/man8/aa-teardown.8.gz
|
||||
%{_mandir}/man8/apparmor_parser.8.gz
|
||||
|
||||
%files utils -f apparmor-utils.lang
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: libusermetrics
|
||||
Version: 1.3.3
|
||||
Version: 1.4.0
|
||||
Release: 1%?dist
|
||||
Summary: library for retrieving anonymous metrics about users
|
||||
License: GPLv3 AND LGPLv3 AND LGPLv2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global _major 1
|
||||
|
||||
Name: libnvidia-container
|
||||
Version: 1.18.0
|
||||
Version: 1.18.1
|
||||
Release: 1%?dist
|
||||
Summary: NVIDIA container runtime library
|
||||
License: BSD-3-Clause AND Apache-2.0 AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND GPL-2.0-only
|
||||
@@ -25,20 +25,15 @@ BuildRequires: rpcgen
|
||||
The nvidia-container library provides an interface to configure containers using NVIDIA hardware.
|
||||
|
||||
%prep
|
||||
rm -rf ./*
|
||||
### Must be built this way because the Makefile expects be to in a Git directory.
|
||||
git clone https://github.com/NVIDIA/%{name}.git
|
||||
cd %{name}
|
||||
git checkout v%{version}
|
||||
%git_clone %{url}.git v%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
cd %{name}
|
||||
make distclean
|
||||
%make_build REVISION=%{version} WITH_LIBELF=yes
|
||||
|
||||
%install
|
||||
cd %{name}
|
||||
make install DESTDIR=%{buildroot} REVISION=%{version} WITH_LIBELF=yes \
|
||||
LDCONFIG=/bin/true \
|
||||
prefix=%{_prefix} \
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
project pkg {
|
||||
arches = ["x86_64", "aarch64", "i386"]
|
||||
rpm {
|
||||
spec = "openh264.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "multimedia"
|
||||
mock = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,107 +1,107 @@
|
||||
# ref: https://src.fedoraproject.org/rpms/openh264
|
||||
# To get the commit:
|
||||
# git clone https://github.com/cisco/openh264.git
|
||||
# cd openh264
|
||||
# rm -rf gmp-api; make gmp-bootstrap; cd gmp-api
|
||||
# git rev-parse HEAD
|
||||
%global commit1 1f5a2f07a565a9465c14d3a8b12f3202f83c775e
|
||||
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
||||
|
||||
# Makefile expects V=Yes instead of V=1:
|
||||
%global _make_verbose V=Yes
|
||||
|
||||
Name: openh264
|
||||
Version: 2.6.0
|
||||
# Also bump the Release tag for gstreamer1-plugin-openh264 down below
|
||||
Release: 2%?dist
|
||||
Summary: H.264 codec library
|
||||
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Open Source H.264 Codec
|
||||
License: BSD
|
||||
URL: https://www.openh264.org/
|
||||
Source0: https://github.com/cisco/openh264/archive/v%version/openh264-%version.tar.gz
|
||||
|
||||
Source0: https://github.com/cisco/%{name}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
||||
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gstreamer1-devel
|
||||
BuildRequires: gstreamer1-plugins-base-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: nasm
|
||||
|
||||
Obsoletes: noopenh264 < 1:0
|
||||
Obsoletes: %{name}-libs < %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-libs = %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
|
||||
%description
|
||||
OpenH264 is a codec library which supports H.264 encoding and decoding. It is
|
||||
suitable for use in real time applications such as WebRTC.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Obsoletes: noopenh264-devel < 1:0
|
||||
Requires: %{name}%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package -n mozilla-openh264
|
||||
Summary: H.264 codec support for Mozilla browsers
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: mozilla-filesystem%{?_isa}
|
||||
%package -n mozilla-%{name}
|
||||
Summary: H.264 codec support for Mozilla browsers
|
||||
Requires: %{name}%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
Requires: mozilla-filesystem%{?_isa}
|
||||
|
||||
%description -n mozilla-openh264
|
||||
The mozilla-openh264 package contains a H.264 codec plugin for Mozilla
|
||||
browsers.
|
||||
|
||||
The mozilla-openh264 package contains a H.264 codec plugin for Mozilla browsers.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
# Extract gmp-api archive
|
||||
tar -xf %{S:1}
|
||||
mv gmp-api-%{commit1} gmp-api
|
||||
|
||||
|
||||
%build
|
||||
# Update the makefile with our build options
|
||||
# Must be done in %%build in order to pick up correct LDFLAGS.
|
||||
sed -i -e 's|^CFLAGS_OPT=.*$|CFLAGS_OPT=%{optflags}|' Makefile
|
||||
sed -i -e 's|^PREFIX=.*$|PREFIX=%{_prefix}|' Makefile
|
||||
sed -i -e 's|^LIBDIR_NAME=.*$|LIBDIR_NAME=%{_lib}|' Makefile
|
||||
sed -i -e 's|^SHAREDLIB_DIR=.*$|SHAREDLIB_DIR=%{_libdir}|' Makefile
|
||||
sed -i -e '/^CFLAGS_OPT=/i LDFLAGS=%{__global_ldflags}' Makefile
|
||||
|
||||
# First build the openh264 libraries
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# ... then build the mozilla plugin
|
||||
make plugin %{?_smp_mflags}
|
||||
|
||||
sed -i \
|
||||
-e 's@PREFIX=/usr/local@PREFIX=%{_prefix}@g' \
|
||||
-e 's@SHAREDLIB_DIR=$(PREFIX)/lib@SHAREDLIB_DIR=%{_libdir}@g' \
|
||||
-e 's@LIBDIR_NAME=lib@LIBDIR_NAME=%{_lib}@g' \
|
||||
-e 's@CFLAGS_OPT=-O3@CFLAGS_OPT=%{optflags}@g' \
|
||||
-e '/^CFLAGS_OPT=/i LDFLAGS=%{__global_ldflags}' \
|
||||
Makefile
|
||||
%make_build
|
||||
%make_build plugin
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -name "*.a" -delete
|
||||
|
||||
# Install mozilla plugin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
cp -a libgmpopenh264.so* gmpopenh264.info $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed/
|
||||
mkdir -p %{buildroot}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
cp -a libgmpopenh264.so* gmpopenh264.info %{buildroot}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed/
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref
|
||||
cat > $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref/gmpopenh264.js << EOF
|
||||
mkdir -p %{buildroot}%{_libdir}/firefox/defaults/pref
|
||||
cat > %{buildroot}%{_libdir}/firefox/defaults/pref/gmpopenh264.js << EOF
|
||||
pref("media.gmp-gmpopenh264.autoupdate", false);
|
||||
pref("media.gmp-gmpopenh264.version", "system-installed");
|
||||
pref("media.gmp-gmpopenh264.enabled", true);
|
||||
pref("media.gmp-gmpopenh264.provider.enabled", true);
|
||||
pref("media.peerconnection.video.h264_enabled", true);
|
||||
EOF
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/gmpopenh264.sh << EOF
|
||||
MOZ_GMP_PATH="${MOZ_GMP_PATH}${MOZ_GMP_PATH:+:}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed"
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
||||
cat > %{buildroot}%{_sysconfdir}/profile.d/gmpopenh264.sh << EOF
|
||||
MOZ_GMP_PATH="%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed"
|
||||
export MOZ_GMP_PATH
|
||||
EOF
|
||||
|
||||
# Remove static libraries
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libopenh264.so.*
|
||||
%doc README.md CONTRIBUTORS
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/wels/
|
||||
%{_libdir}/libopenh264.so
|
||||
%{_libdir}/pkgconfig/openh264.pc
|
||||
%{_includedir}/*
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files -n mozilla-openh264
|
||||
%files -n mozilla-%{name}
|
||||
%{_sysconfdir}/profile.d/gmpopenh264.sh
|
||||
%dir %{_libdir}/firefox
|
||||
%dir %{_libdir}/firefox/defaults
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "zlib.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("madler/zlib"));
|
||||
@@ -0,0 +1,45 @@
|
||||
Name: zlib
|
||||
Version: 1.3.1
|
||||
Release: 1%?dist
|
||||
License: Zlib
|
||||
URL: https://zlib.net
|
||||
Source: https://github.com/madler/zlib/archive/v%{version}.tar.gz
|
||||
Summary: A massively spiffy yet delicately unobtrusive compression library
|
||||
Conflicts: zlib-ng-compat
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%package devel
|
||||
%pkg_devel_files
|
||||
|
||||
%package static
|
||||
%pkg_static_files
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
export CFLAGS="%optflags"
|
||||
export LDFLAGS="%build_ldflags"
|
||||
./configure --libdir=%_libdir \
|
||||
--includedir=%_includedir \
|
||||
--sysconfdir=%_sysconfdir \
|
||||
--localstatedir=%_localstatedir \
|
||||
--prefix=%_prefix
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README
|
||||
%_mandir/man3/zlib.3.*
|
||||
%_libdir/libz.so.*
|
||||
|
||||
%changelog
|
||||
* Wed Nov 26 2025 metcya <metcya@gmail.com>
|
||||
- package zlib
|
||||
@@ -1,8 +1,11 @@
|
||||
rpm.global("commit", gh_commit("ad-oliviero/uwufetch"));
|
||||
let json = get(`https://api.github.com/repos/ad-oliviero/uwufetch/commits/development`).json();
|
||||
let c = json.sha;
|
||||
let d = json.commit.author.date;
|
||||
rpm.global("commit", c);
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
rpm.global("fulldate", d);
|
||||
d.truncate(10);
|
||||
let ver = gh_tag("ad-oliviero/uwufetch");
|
||||
ver.crop(1);
|
||||
rpm.global("ver", ver);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
%global commit f3d4503e72fa5b7dff466e527453cfbf2c95cc01
|
||||
%global commit 9417838c91aab6088778089b9a3e8330bca53fbd
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251128
|
||||
%global ver .1
|
||||
%global fulldate 2024-02-14T09:28:02Z
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global ver 2.1
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: uwufetch
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
rpm.version(gh("v-novaltd/LCEVCdec"));
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
rpm.version(find(`\s+VERSION ([\d.]+)`, gh_rawfile("v-novaltd/LCEVCdec", "main", "CMakeLists.txt"), 1));
|
||||
|
||||
open_file("anda/multimedia/LCEVCdec/VERSION_ffmpeg.txt", "w").write(bump::madoguchi("ffmpeg", labels.branch));
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
1.6.0
|
||||
@@ -0,0 +1 @@
|
||||
4.0.0
|
||||
@@ -1,4 +1,4 @@
|
||||
%bcond bootstrap 1
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%bcond chromaprint 0
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
// rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
|
||||
rpm.version(bump::bodhi("ffmpeg", bump::as_bodhi_ver(labels.branch)));
|
||||
@@ -6,12 +7,14 @@ rpm.version(bump::bodhi("ffmpeg", bump::as_bodhi_ver(labels.branch)));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_x264.txt", "w").write(bump::madoguchi("x264", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_x265.txt", "w").write(bump::madoguchi("x265", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_tesseract.txt", "w").write(bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch)));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_rubberband.txt", "w").write(bump::bodhi("rubberband", bump::as_bodhi_ver(labels.branch)));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_libbluray.txt", "w").write(bump::bodhi("libbluray", bump::as_bodhi_ver(labels.branch)));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_libchromaprint.txt", "w").write(bump::bodhi("libchromaprint", bump::as_bodhi_ver(labels.branch)));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_vvenc.txt", "w").write(bump::madoguchi("vvenc-libs", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_xeve.txt", "w").write(bump::madoguchi("xeve", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_xevd.txt", "w").write(bump::madoguchi("xevd", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_LCEVCdec.txt", "w").write(bump::madoguchi("LCEVCdec", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_svt-av1.txt", "w").write(bump::bodhi("svt-av1", labels.branch));
|
||||
open_file("anda/multimedia/ffmpeg/VERSION_svt-av1.txt", "w").write(bump::bodhi("svt-av1", bump::as_bodhi_ver(labels.branch)));
|
||||
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: gstreamer1-plugin-libav
|
||||
Version: 1.26.8
|
||||
Version: 1.26.9
|
||||
Release: 1%?dist
|
||||
Epoch: 1
|
||||
Summary: GStreamer Libav plugin
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let vr = bump::bodhi_vr("gstreamer1-plugin-libav", bump::as_bodhi_ver(labels.branch));
|
||||
rpm.version(vr[1]);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2.6.0
|
||||
@@ -1,9 +1,9 @@
|
||||
%define _legacy_common_support 1
|
||||
%global __brp_check_rpaths %{nil}
|
||||
%undefine __brp_check_rpaths
|
||||
%global majorminor 1.0
|
||||
|
||||
Name: gstreamer1-plugins-bad
|
||||
Version: 1.26.8
|
||||
Version: 1.26.9
|
||||
Release: 1%?dist
|
||||
Epoch: 2
|
||||
Summary: GStreamer streaming media framework "bad" plugins
|
||||
@@ -42,6 +42,9 @@ Provides: gstreamer1-plugin-openh264%{?_isa} = %{?epoch}:%{version}-%{rele
|
||||
Obsoletes: gstreamer1-svt-hevc < %{?epoch}:%{version}-%{release}
|
||||
Provides: gstreamer1-svt-hevc = %{?epoch}:%{version}-%{release}
|
||||
Provides: gstreamer1-svt-hevc%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
Obsoletes: %{name}-free-libs < %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-free-libs = %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-free-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
Obsoletes: gstreamer1-plugin-vaapi < %{?epoch}:%{version}-%{release}
|
||||
Provides: gstreamer1-plugin-vaapi = %{?epoch}:%{version}-%{release}
|
||||
Provides: gstreamer1-plugin-vaapi%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
@@ -234,17 +237,6 @@ Provides: %{name}-free-fluidsynth%{?_isa} = %{?epoch}:%{version}-%{release
|
||||
%description fluidsynth
|
||||
This package contains the GStreamer Fluidsynth plugin.
|
||||
|
||||
|
||||
%package libs
|
||||
Summary: Runtime libraries for the GStreamer "bad" plugins
|
||||
Obsoletes: %{name}-free-libs < %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-free-libs = %{?epoch}:%{version}-%{release}
|
||||
Provides: %{name}-free-libs%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
Requires: %{name} = %{?epoch}:%{version}-%{release}
|
||||
|
||||
%description libs
|
||||
%summary.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the GStreamer "bad" plugins
|
||||
Requires: %{name}%{?_isa} = %{?epoch}:%{version}-%{release}
|
||||
@@ -502,6 +494,32 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_metainfodir}/gstreamer-bad.metain
|
||||
%doc AUTHORS NEWS README.md RELEASE REQUIREMENTS
|
||||
%{_bindir}/gst-transcoder-1.0
|
||||
%{_metainfodir}/gstreamer-bad.metainfo.xml
|
||||
%{_libdir}/girepository-%{majorminor}/CudaGst-%{majorminor}.typelib
|
||||
%{_libdir}/girepository-%{majorminor}/Gst*-%{majorminor}.typelib
|
||||
%{_libdir}/libgstadaptivedemux-%{majorminor}.so.*
|
||||
%{_libdir}/libgstanalytics-%{majorminor}.so.*
|
||||
%{_libdir}/libgstbadaudio-%{majorminor}.so.*
|
||||
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcodecparsers-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcodecs-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcuda-%{majorminor}.so.*
|
||||
%{_libdir}/libgstdxva-%{majorminor}.so.*
|
||||
%{_libdir}/libgstinsertbin-%{majorminor}.so.*
|
||||
%{_libdir}/libgstisoff-%{majorminor}.so.*
|
||||
%{_libdir}/libgstmpegts-%{majorminor}.so.*
|
||||
%{_libdir}/libgstmse-%{majorminor}.so.*
|
||||
%{_libdir}/libgstopencv-%{majorminor}.so.*
|
||||
%{_libdir}/libgstphotography-%{majorminor}.so.*
|
||||
%{_libdir}/libgstplayer-%{majorminor}.so.*
|
||||
%{_libdir}/libgstplay-%{majorminor}.so.*
|
||||
%{_libdir}/libgstsctp-%{majorminor}.so.*
|
||||
%{_libdir}/libgsttranscoder-%{majorminor}.so.*
|
||||
%{_libdir}/libgsturidownloader-%{majorminor}.so.*
|
||||
%{_libdir}/libgstva-%{majorminor}.so.*
|
||||
%{_libdir}/libgstvulkan-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwayland-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwebrtc-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwebrtcnice-%{majorminor}.so.*
|
||||
# Encoder profiles
|
||||
%dir %{_datadir}/gstreamer-%{majorminor}/encoding-profiles/
|
||||
%dir %{_datadir}/gstreamer-%{majorminor}/encoding-profiles/device/
|
||||
@@ -682,36 +700,6 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_metainfodir}/gstreamer-bad.metain
|
||||
|
||||
%files fluidsynth
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstfluidsynthmidi.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstmidi.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so
|
||||
|
||||
%files libs
|
||||
%{_libdir}/girepository-%{majorminor}/CudaGst-%{majorminor}.typelib
|
||||
%{_libdir}/girepository-%{majorminor}/Gst*-%{majorminor}.typelib
|
||||
%{_libdir}/libgstadaptivedemux-%{majorminor}.so.*
|
||||
%{_libdir}/libgstanalytics-%{majorminor}.so.*
|
||||
%{_libdir}/libgstbadaudio-%{majorminor}.so.*
|
||||
%{_libdir}/libgstbasecamerabinsrc-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcodecparsers-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcodecs-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcuda-%{majorminor}.so.*
|
||||
%{_libdir}/libgstdxva-%{majorminor}.so.*
|
||||
%{_libdir}/libgstinsertbin-%{majorminor}.so.*
|
||||
%{_libdir}/libgstisoff-%{majorminor}.so.*
|
||||
%{_libdir}/libgstmpegts-%{majorminor}.so.*
|
||||
%{_libdir}/libgstmse-%{majorminor}.so.*
|
||||
%{_libdir}/libgstopencv-%{majorminor}.so.*
|
||||
%{_libdir}/libgstphotography-%{majorminor}.so.*
|
||||
%{_libdir}/libgstplayer-%{majorminor}.so.*
|
||||
%{_libdir}/libgstplay-%{majorminor}.so.*
|
||||
%{_libdir}/libgstsctp-%{majorminor}.so.*
|
||||
%{_libdir}/libgsttranscoder-%{majorminor}.so.*
|
||||
%{_libdir}/libgsturidownloader-%{majorminor}.so.*
|
||||
%{_libdir}/libgstva-%{majorminor}.so.*
|
||||
%{_libdir}/libgstvulkan-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwayland-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwebrtc-%{majorminor}.so.*
|
||||
%{_libdir}/libgstwebrtcnice-%{majorminor}.so.*
|
||||
|
||||
%files devel
|
||||
%{_datadir}/gir-%{majorminor}/CudaGst-%{majorminor}.gir
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let bodhi_branch = bump::as_bodhi_ver(labels.branch);
|
||||
|
||||
@@ -11,6 +12,7 @@ rpm.version(vr[1]);
|
||||
|
||||
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/OPENCV_VERSION.txt", "w").write(bump::bodhi("opencv", bodhi_branch));
|
||||
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/LCEVCdec_VERSION.txt", "w").write(bump::madoguchi("LCEVCdec", labels.branch));
|
||||
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/OPENH264_VERSION.txt", "w").write(bump::madoguchi("openh264", labels.branch));
|
||||
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global majorminor 1.0
|
||||
|
||||
Name: gstreamer1-plugins-ugly
|
||||
Version: 1.26.8
|
||||
Version: 1.26.9
|
||||
Release: 1%?dist
|
||||
Epoch: 2
|
||||
Summary: GStreamer streaming media framework "ugly" plugins
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let vr = bump::bodhi_vr("gstreamer1-plugins-ugly-free", bump::as_bodhi_ver(labels.branch));
|
||||
rpm.version(vr[1]);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: gstreamer1-plugin-vaapi
|
||||
Version: 1.26.8
|
||||
Release: 1%?dist
|
||||
Version: 1.26.9
|
||||
Release: 2%?dist
|
||||
Epoch: 1
|
||||
Summary: GStreamer VA-API integration
|
||||
License: LGPLv2+
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let vr = bump::bodhi_vr("gstreamer1-vaapi", bump::as_bodhi_ver(labels.branch));
|
||||
rpm.version(vr[1]);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: tdf
|
||||
Version: 0.4.3
|
||||
Version: 0.5.0
|
||||
Release: 1%?dist
|
||||
Summary: A tui-based PDF viewer
|
||||
URL: https://github.com/itsjunetime/tdf
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit daba5cd9726706e49ef81bbd682042796ba3e368
|
||||
%global commit 04daf5141b90ee67c7dec3ef56ff4efa10e9944d
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20251127
|
||||
%global commit_date 20251201
|
||||
|
||||
Name: vgmstream
|
||||
Version: 0~%{commit_date}git.%shortcommit
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 8ad02b636690170adbd4279fe3fc8265088cbcc2
|
||||
%global commit_date 20240726
|
||||
%global commit c278020dc78587e887f91377a882b50d0b009c50
|
||||
%global commit_date 20251130
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 0c8bfb91e8ca32a4895f858067334ed265517309
|
||||
%global commit_date 20240822
|
||||
%global commit af38adafe7491498c48905b77518f8a6e9541f67
|
||||
%global commit_date 20251202
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 01c666f472457ef6230c9d2fd5a289d0a64ce5c2
|
||||
%global commit_date 20241230
|
||||
%global commit 5abca9d613fac7861803319b3191061b2d8ce067
|
||||
%global commit_date 20251130
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit afbf6109398794791ffb30317712d742143fd08a
|
||||
%global commit_date 20240831
|
||||
%global commit 529e13b59b6a888b2bc1c3afb1576204b8e51d9b
|
||||
%global commit_date 20251202
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
%global commit 0914dd3df54a5e6258dfc0a02d65af1c0fc0fc90
|
||||
%global commit_date 20240920
|
||||
%global commit 77215fe4a69398b94d343f85d8925b1a49d470fc
|
||||
%global commit_date 20251202
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
Name: stardust-xr-flatland
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 2%?dist
|
||||
Release: 1%?dist
|
||||
Summary: Flatland for Stardust XR
|
||||
URL: https://github.com/StardustXR/flatland
|
||||
Source0: %url/archive/%commit/flatland-%commit.tar.gz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit eca5e835cd3abee69984ce6312610644801457a9
|
||||
%global commit_date 20241230
|
||||
%global commit 3283bf8b352cdcb04ef3e0edb5155c4ca8c5c97c
|
||||
%global commit_date 20251130
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 5ac7f04f6876097aa8c3cf9af033d609a8a49944
|
||||
%global commit_date 20240824
|
||||
%global commit 3a586815e1c057580674c147e27c3a4909b3b4c6
|
||||
%global commit_date 20251130
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9b73eb1e128b49a6d40a27a4cde7715d8cbd2674
|
||||
%global commit_date 20241230
|
||||
%global commit 11bf3972f261f93dd78c688ea282ce2fb89ee505
|
||||
%global commit_date 20251202
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
@@ -4,5 +4,6 @@ project pkg {
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
large = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 3e31905b5bc9bd78e285099ed94a4b31fdc6810b
|
||||
%global commit_date 20250402
|
||||
%global commit 2eecce5f05678460e99daa771448c5ce19dfc740
|
||||
%global commit_date 20251203
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
@@ -12,12 +12,31 @@ URL: https://github.com/StardustXR/server
|
||||
Source0: %url/archive/%commit/server-%commit.tar.gz
|
||||
License: GPL-2.0-only
|
||||
|
||||
BuildRequires: cargo cmake anda-srpm-macros cargo-rpm-macros gcc-c++ mold
|
||||
BuildRequires: glx-utils fontconfig-devel glibc libxcb-devel wayland-devel
|
||||
BuildRequires: openxr-devel libglvnd-devel libglvnd-gles mesa-libgbm-devel
|
||||
BuildRequires: libwayland-egl libX11-devel libXfixes-devel
|
||||
BuildRequires: mesa-libEGL-devel libxkbcommon-devel
|
||||
BuildRequires: cargo
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: mold
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cargo-rpm-macros
|
||||
|
||||
BuildRequires: glx-utils
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: glibc
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: openxr-devel
|
||||
BuildRequires: libglvnd-devel
|
||||
BuildRequires: libglvnd-gles
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
BuildRequires: libwayland-egl
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: mesa-libEGL-devel
|
||||
|
||||
Provides: stardust-server
|
||||
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
|
||||
%description
|
||||
@@ -28,18 +47,22 @@ Usable Linux display server that reinvents human-computer interaction for all ki
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
export CXXFLAGS=""
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
install -Dm755 target/rpm/stardust-xr-server %buildroot%_bindir/stardust-xr-server
|
||||
|
||||
install -Dm755 target/rpm/stardust-xr-server %{buildroot}%{_bindir}/stardust-xr-server
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%files
|
||||
%_bindir/stardust-xr-server
|
||||
%{_bindir}/stardust-xr-server
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Tue Dec 02 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Update spec to reflect upstream changes, add LICENSE.dependencies
|
||||
|
||||
* Sat Sep 14 2024 Owen-sz <owen@fyralabs.com>
|
||||
- Package StardustXR Server
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
%define debug_package %nil
|
||||
|
||||
%global commit e33764c69179e35b60ad03931544a87357e1e81f
|
||||
%global commit_date 20250413
|
||||
%global commit 2c514175efc53be985d7d092601f158b38dc29b4
|
||||
%global commit_date 20251201
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: stardust-xr-telescope
|
||||
Version: %commit_date.git~%shortcommit
|
||||
Release: 2%?dist
|
||||
Release: 1%?dist
|
||||
Summary: See the stars! Easy stardust setups to run on your computer
|
||||
License: MIT
|
||||
URL: https://github.com/StardustXR/telescope
|
||||
@@ -39,9 +37,11 @@ See the stars! Easy stardust setups to run on your computer.
|
||||
%install
|
||||
install -Dm755 scripts/telescope %buildroot%_bindir/telescope
|
||||
install -Dm755 scripts/_telescope_startup %buildroot%_bindir/_telescope_startup
|
||||
install -Dm644 org.stardustxr.png %buildroot%_iconsdir/hicolor/512x512/apps/org.stardustxr.png
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/telescope
|
||||
%_bindir/_telescope_startup
|
||||
%_iconsdir/hicolor/512x512/apps/org.stardustxr.png
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: asusctl
|
||||
Version: 6.1.22
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops
|
||||
URL: https://gitlab.com/asus-linux/asusctl
|
||||
Source0: %url/-/archive/%version/asusctl-%version.tar.gz
|
||||
@@ -18,6 +18,7 @@ BuildRequires: pkgconfig(libseat)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
Packager: Metcya <metcya@gmail.com>
|
||||
@@ -76,6 +77,18 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_docdir}/%{name}/
|
||||
%{_datadir}/asusd/
|
||||
|
||||
%post
|
||||
%systemd_post asusd.service
|
||||
%systemd_user_post asusd-user.service
|
||||
|
||||
%preun
|
||||
%systemd_preun asusd.service
|
||||
%systemd_user_preun asusd-user.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart asusd.service
|
||||
%systemd_user_postun_with_restart asusd-user.service
|
||||
|
||||
%files rog-gui
|
||||
%{_bindir}/rog-control-center
|
||||
%{_datadir}/applications/rog-control-center.desktop
|
||||
@@ -83,6 +96,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d
|
||||
%{_datadir}/rog-gui
|
||||
|
||||
%changelog
|
||||
* Mon Dec 1 2025 Metcya <metcya@gmail.com>
|
||||
- Add systemd scriptlets
|
||||
|
||||
* Tue Nov 18 2025 Metcya <metcya@gmail.com>
|
||||
- Remove unnecessary patch
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "dracut-strip-trigger.spec"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
Name: dracut-strip-trigger
|
||||
Version: 0
|
||||
Release: 6%?dist
|
||||
Release: 7%?dist
|
||||
Summary: Strip initramfs aggressively
|
||||
License: GPL-3.0-only
|
||||
Requires: dracut installonlypkg(kernel)
|
||||
Conflicts: dracut-config-generic
|
||||
Source0: LICENSE
|
||||
Source1: 01-aggressive-strip.conf
|
||||
BuildArch: noarch
|
||||
|
||||
%global _desc %{expand:
|
||||
Strip initramfs automatically for each kernel update using --hostonly --aggressive-strip.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: limine
|
||||
Version: 10.3.2
|
||||
Version: 10.4.0
|
||||
Release: 1%?dist
|
||||
Summary: Modern, advanced, portable, multiprotocol bootloader
|
||||
License: BSD-2-Clause
|
||||
@@ -26,10 +26,9 @@ cp %{S:1} .
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md 3RDPARTY.md FAQ.md CONFIG.md PROTOCOL.md COPYING USAGE.md
|
||||
%doc README.md 3RDPARTY.md FAQ.md CONFIG.md COPYING USAGE.md
|
||||
%license %_datadir/doc/limine/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt
|
||||
%license COPYING
|
||||
%_bindir/limine
|
||||
%_includedir/limine.h
|
||||
%_datadir/limine/
|
||||
%_mandir/man1/limine.1.gz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: nvidia-container-toolkit
|
||||
Version: 1.18.0
|
||||
Version: 1.18.1
|
||||
Release: 1%?dist
|
||||
Summary: NVIDIA Container Toolkit
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: nvidia-kmod-common
|
||||
Version: 580.105.08
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Common file for NVIDIA's proprietary driver kernel modules
|
||||
Epoch: 3
|
||||
License: NVIDIA License
|
||||
@@ -65,16 +65,15 @@ install -p -m 644 -D %{SOURCE20} %{buildroot}%{_udevrulesdir}/60-nvidia.rules
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/firmware/nvidia/%{version}/
|
||||
install -p -m 644 firmware/* %{buildroot}%{_prefix}/lib/firmware/nvidia/%{version}
|
||||
|
||||
%post
|
||||
%{_bindir}/nvidia-boot-update post
|
||||
|
||||
# Old kernel.conf rewritten as a doc file.
|
||||
cp %{SOURCE18} .
|
||||
cp %{SOURCE16} .
|
||||
|
||||
# Fallback service. Fall back to Nouveau if NVIDIA drivers fail.
|
||||
# This is actually from RPM Fusion.
|
||||
%dnl install -Dm644 %{SOURCE22} -t %{buildroot}%{_unitdir}
|
||||
%dnl install -Dm644 %{SOURCE23} -t %{buildroot}%{_udevrulesdir}
|
||||
%post
|
||||
%{_bindir}/nvidia-boot-update post
|
||||
|
||||
%pre
|
||||
# Remove the kernel command line adjustments one last time when doing an upgrade
|
||||
@@ -88,6 +87,7 @@ fi ||:
|
||||
dracut --regenerate-all --force
|
||||
|
||||
%files
|
||||
%doc MODULE_VARIANT.txt
|
||||
%{_dracut_conf_d}/99-nvidia.conf
|
||||
%{_modprobedir}/nvidia.conf
|
||||
%dir %{_prefix}/lib/firmware
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit 365d85d48f4315e94562cd307223234e71b161b8
|
||||
%global commit 6b742c524a3ae033ad65462c373142b8ca2222ce
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20251128
|
||||
%global ver 1.0.18
|
||||
%global commitdate 20251203
|
||||
%global ver 1.0.19
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: scx-scheds-nightly
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: scx-scheds
|
||||
Version: 1.0.18
|
||||
Release: 2%?dist
|
||||
Version: 1.0.19
|
||||
Release: 1%?dist
|
||||
Summary: sched_ext schedulers
|
||||
SourceLicense: GPL-2.0-only
|
||||
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit b60b6a95bdee4419634e60978db0597f2a9ca710
|
||||
%global commit 97f335eea7c39f958b6dca2a19836e17a46e3b09
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20251129
|
||||
%global commitdate 20251202
|
||||
%global ver 1.0.18
|
||||
%global appid com.sched_ext.scx
|
||||
%global developer "sched-ext Contributors"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
%global org "com.sched_ext"
|
||||
|
||||
Name: scx-tools
|
||||
Version: 1.0.18
|
||||
Release: 1%{?dist}
|
||||
Version: 1.0.19
|
||||
Release: 1%?dist
|
||||
Summary: Sched_ext Tools
|
||||
License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND GPL-2.0-only AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND MIT AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
|
||||
SourceLicense: GPL-2.0-only
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: wine-staging
|
||||
Version: 10.19
|
||||
Version: 10.20
|
||||
Release: 1%?dist
|
||||
Epoch: 1
|
||||
Summary: WINE Is Not An Emulator - runs MS Windows programs
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
Name: wluma
|
||||
Version: 4.10.0
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Automatic brightness adjustment based on screen contents and ALS
|
||||
URL: https://github.com/max-baz/wluma
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
License: ISC
|
||||
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold v4l-utils libv4l-devel rust-libudev-devel vulkan-loader-devel dbus-devel clang
|
||||
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold v4l-utils libv4l-devel rust-libudev-devel vulkan-loader-devel dbus-devel clang systemd-rpm-macros
|
||||
Packager: Its-J
|
||||
|
||||
%description
|
||||
@@ -22,13 +22,31 @@ Packager: Its-J
|
||||
%cargo_install
|
||||
%cargo_license_summary_online
|
||||
%{cargo_license_online -a} > LICENSE.dependencies
|
||||
install -Dm 644 %{name}.service %{buildroot}%{_userunitdir}/%{name}.service
|
||||
install -Dm 644 90-%{name}-backlight.rules %{buildroot}%{_udevrulesdir}/90-%{name}-backlight.rules
|
||||
install -Dm 644 config.toml %{buildroot}%{_datadir}/%{name}/config.toml
|
||||
|
||||
%post
|
||||
%systemd_user_post %{name}.service
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%systemd_user_postun_with_restart %{name}.service
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%{_bindir}/wluma
|
||||
%{_userunitdir}/%{name}.service
|
||||
%{_udevrulesdir}/90-%{name}-backlight.rules
|
||||
%{_datadir}/%{name}/config.toml
|
||||
|
||||
%changelog
|
||||
* Sat Nov 29 2025 metcya <metcya@gmail.com>
|
||||
- Package systemd service, example config, and udev rules
|
||||
|
||||
* Fri Nov 28 2025 Its-J
|
||||
- Package wluma
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: terra-appstream-helper
|
||||
Version: 0.1.7
|
||||
Version: 0.1.8
|
||||
Release: 1%?dist
|
||||
Summary: Scripts and RPM macros to help with AppStream metadata generation for Terra
|
||||
License: GPL-3.0-or-Later
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user