mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e14850c64 | |||
| ca1dfbb4b7 | |||
| 5596acd76b | |||
| 96dc963c94 | |||
| 27d1986228 | |||
| 4f9550d40b | |||
| 34d5da758e | |||
| e2eba7be16 | |||
| b0b810e11d | |||
| c75069dedc | |||
| 0651ff7238 | |||
| 02e4c7223d | |||
| 0f0cb91836 | |||
| 2a3cfb3c83 | |||
| f4d4aa7ab4 | |||
| 7b52db52c0 | |||
| 40af563bdc | |||
| 7e73ea1818 | |||
| cb2a49f916 | |||
| a8b7d6be60 |
@@ -7,6 +7,11 @@ 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)
|
||||
@@ -29,7 +34,7 @@ git checkout %{version}
|
||||
|
||||
%build
|
||||
export RELEASE=1
|
||||
export PYTHONPATH=%_libdir/python3/dist-packages
|
||||
export PYTHONPATH="%{python3_sitelib}:%{python3_sitearch}:%{buildroot}%{python3_sitelib}:%{buildroot}%{python3_sitearch}:$PYTHONPATH"
|
||||
cargo update
|
||||
mold -run ./tools/build
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.22.0
|
||||
Version: 0.21.2
|
||||
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 7ed3cfc83eda4bd33f5044041075689bb517a314
|
||||
%global commit e9a8aed8ac33d455da40cac004250f710a167b1a
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20251130
|
||||
%global commit_date 20251129
|
||||
%global devel_name QtColorWidgets
|
||||
%global _distro_extra_cflags -fuse-ld=mold
|
||||
%global _distro_extra_cxxflags -fuse-ld=mold
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2025-11-30
|
||||
%global ver 2025-11-29
|
||||
%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 2
|
||||
%global minor_version 1
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global portal_helper 0
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
Name: gnome-shell
|
||||
Version: %{major_version}.%{minor_version}
|
||||
Release: 2%{?dist}.switcheroo
|
||||
Release: 6%{?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 7e6346f84be8918e3eca405546c45fb37d74bdfe
|
||||
%global commit_date 20251130
|
||||
%global commit a64517c23613b302a3ecc5f4608f3919e8e29830
|
||||
%global commit_date 20251129
|
||||
%global shortcommit %{sub %commit 1 7}
|
||||
|
||||
Name: %realname.nightly
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 3754a94cb5b0d2997df692333e151442d22a72e5
|
||||
%global commit 9baf37a9b2a1119c697b0eabf32391bfb41ef287
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2025-11-29
|
||||
%global fulldate 2025-11-28
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global ver 1.3.0
|
||||
@@ -180,19 +180,6 @@ 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}
|
||||
@@ -253,6 +240,8 @@ 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
|
||||
@@ -290,13 +279,6 @@ 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
|
||||
|
||||
@@ -307,8 +289,6 @@ 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
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
<?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,22 +1,16 @@
|
||||
%global commit 450cd3d42ba90f8658f260560b69cdc8a52f061b
|
||||
%global commit 200a4a5c786cf23dedf0f9f38d86af764b69f8ea
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251130
|
||||
%global commit_date 20251129
|
||||
%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 appid dev.zed.Zed-nightly
|
||||
%global appstream_component desktop-application
|
||||
%global app_id dev.zed.Zed-Nightly
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
@@ -28,7 +22,6 @@ 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
|
||||
@@ -76,12 +69,9 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -93,26 +83,21 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.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="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_NAME="Zed Nightly"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
@@ -122,40 +107,35 @@ export ZED_RELEASE_CHANNEL=nightly
|
||||
export BRANDING_LIGHT="#e9aa6a"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
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
|
||||
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
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
|
||||
@@ -168,21 +148,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
|
||||
| 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}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -190,18 +166,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
|
||||
%endif
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<?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,17 +1,11 @@
|
||||
%bcond_with check
|
||||
%bcond_with debug_no_build
|
||||
|
||||
%if 0%{?with_debug_no_build}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%global ver 0.215.3-pre
|
||||
%global ver 0.215.2-pre
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
|
||||
%global crate zed
|
||||
%global appid dev.zed.Zed-preview
|
||||
%global appstream_component desktop-application
|
||||
%global app_id dev.zed.Zed-Preview
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
@@ -23,7 +17,6 @@ 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
|
||||
@@ -68,12 +61,9 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -85,23 +75,18 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.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="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_NAME="Zed Preview"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
@@ -111,40 +96,35 @@ export ZED_RELEASE_CHANNEL=preview
|
||||
export BRANDING_LIGHT="#99c1f1"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
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
|
||||
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
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
|
||||
@@ -157,22 +137,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
|
||||
| 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}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -180,18 +155,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
|
||||
%endif
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<?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,28 +1,21 @@
|
||||
%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 appid dev.zed.Zed
|
||||
%global appstream_component desktop-application
|
||||
%global app_id dev.zed.Zed
|
||||
|
||||
%global rustflags_debuginfo 0
|
||||
|
||||
Name: zed
|
||||
Version: 0.214.7
|
||||
Version: 0.214.6
|
||||
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
|
||||
@@ -68,12 +61,9 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%{_datadir}/applications/%appid.desktop
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%{_datadir}/applications/%app_id.desktop
|
||||
%{_metainfodir}/%app_id.metainfo.xml
|
||||
|
||||
%package rename-zeditor
|
||||
Summary: Rename zed to zeditor to prevent collision with zfs
|
||||
@@ -85,23 +75,19 @@ 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
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
|
||||
%_datadir/applications/%appid.desktop.zeditor
|
||||
%{_metainfodir}/%appid.metainfo.xml
|
||||
%_datadir/applications/%app_id.desktop.zeditor
|
||||
%{_metainfodir}/%app_id.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="%appid"
|
||||
export APP_ICON="%appid"
|
||||
export APP_NAME="Zed"
|
||||
export APP_ID="%app_id"
|
||||
export APP_ICON="%app_id"
|
||||
export APP_NAME="Zed Editor"
|
||||
export APP_CLI="zed"
|
||||
export APP="%{_libexecdir}/zed-editor"
|
||||
export APP_ARGS="%U"
|
||||
@@ -110,40 +96,35 @@ export ZED_RELEASE_CHANNEL=stable
|
||||
export BRANDING_LIGHT="#e9aa6a"
|
||||
export BRANDING_DARK="#1a5fb4"
|
||||
|
||||
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
|
||||
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
|
||||
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
|
||||
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
|
||||
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
|
||||
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
|
||||
@@ -156,22 +137,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
|
||||
| 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}/%appid.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
|
||||
%if %{without debug_no_build}
|
||||
%cargo_test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
@@ -179,17 +155,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
|
||||
%if %{without debug_no_build}
|
||||
%license assets/licenses.md
|
||||
%{_libexecdir}/zed-editor
|
||||
%endif
|
||||
|
||||
%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
%global name_pretty %{quote:Prism Launcher (Nightly)}
|
||||
%global appid org.prismlauncher.PrismLauncher-nightly
|
||||
|
||||
%global commit 603da29f28b56d7f36f258b0ae318071f8bc6a66
|
||||
%global commit 5c8b18098faf43a73a7f2a2db913da82d45f7678
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 20251130
|
||||
%global commit_date 20251129
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit e80d84d98a88a75eac0e346fcdc4c4010cf91ec8
|
||||
%global commit_date 20251130
|
||||
%global commit 148b8e631d9a76f7bdcc5478d36692ff79e16227
|
||||
%global commit_date 20251129
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global pypi_name types-colorama
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
*.tar.xz
|
||||
*.tar.xz.minisig
|
||||
@@ -1,2 +0,0 @@
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
sh(`./setup.sh fetch`, #{ "cwd": dir });
|
||||
@@ -1,36 +0,0 @@
|
||||
#!/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,10 +2,6 @@ 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,15 +36,17 @@
|
||||
%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
|
||||
Name: zig-master-bootstrap
|
||||
Version: %(echo %{ver} | sed 's/-/~/g')
|
||||
Release: 1%?dist
|
||||
Summary: Bootstrapped build of Zig from master.
|
||||
Summary: Boostrap builds for Zig.
|
||||
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: zig-%{version_no_tilde}.tar.xz
|
||||
Source1: zig-%{version_no_tilde}.tar.xz.minisig
|
||||
Source0: %{mirror_url}/zig-%{ver}.tar.xz
|
||||
Source1: %{mirror_url}/zig-%{ver}.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
|
||||
@@ -61,14 +63,11 @@ 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}
|
||||
@@ -92,7 +91,7 @@ Packager: Gilver E. <rockgrub@disroot.org>
|
||||
|
||||
%description
|
||||
Zig is an open source alternative to C.
|
||||
This package provides the bootstrapped build to build full "prerelease"/master builds of Zig.
|
||||
This package provides the bootstrap 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
|
||||
@@ -199,8 +198,6 @@ 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
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
*.tar.xz
|
||||
*.tar.xz.minisig
|
||||
@@ -1,2 +0,0 @@
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
sh(`../bootstrap/setup.sh fetch`, #{ "cwd": dir });
|
||||
@@ -1,8 +1,3 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
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);
|
||||
}
|
||||
rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch));
|
||||
|
||||
@@ -11,15 +11,17 @@
|
||||
%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: 2%?dist
|
||||
Release: 1%?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: zig-%{version_no_tilde}.tar.xz
|
||||
Source1: zig-%{version_no_tilde}.tar.xz.minisig
|
||||
Source0: %{mirror_url}/zig-%{version_no_tilde}.tar.xz
|
||||
Source1: %{mirror_url}/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
|
||||
@@ -35,8 +37,7 @@ BuildRequires: help2man
|
||||
# for signature verification
|
||||
BuildRequires: minisign
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: %{name} = %{version}
|
||||
Obsoletes: %{name}-bootstrap < %{version}
|
||||
BuildRequires: %{name}-bootstrap = %{version}
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
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);
|
||||
rpm.global("commit", gh_commit("ad-oliviero/uwufetch"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("fulldate", d);
|
||||
d.truncate(10);
|
||||
rpm.global("commit_date", date());
|
||||
let ver = gh_tag("ad-oliviero/uwufetch");
|
||||
ver.crop(1);
|
||||
rpm.global("ver", ver);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
%global commit 9417838c91aab6088778089b9a3e8330bca53fbd
|
||||
%global commit f3d4503e72fa5b7dff466e527453cfbf2c95cc01
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2024-02-14T09:28:02Z
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global ver 2.1
|
||||
%global commit_date 20251128
|
||||
%global ver .1
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: uwufetch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit c278020dc78587e887f91377a882b50d0b009c50
|
||||
%global commit_date 20251130
|
||||
%global commit 8ad02b636690170adbd4279fe3fc8265088cbcc2
|
||||
%global commit_date 20240726
|
||||
%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 b2f5b861ef91bc5d90862e2dd9ac3ff721620077
|
||||
%global commit_date 20251130
|
||||
%global commit 0c8bfb91e8ca32a4895f858067334ed265517309
|
||||
%global commit_date 20240822
|
||||
%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 5abca9d613fac7861803319b3191061b2d8ce067
|
||||
%global commit_date 20251130
|
||||
%global commit 01c666f472457ef6230c9d2fd5a289d0a64ce5c2
|
||||
%global commit_date 20241230
|
||||
%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 86e962eada5f9e5722c746f4eaab8e5aa087bbf4
|
||||
%global commit_date 20251130
|
||||
%global commit afbf6109398794791ffb30317712d742143fd08a
|
||||
%global commit_date 20240831
|
||||
%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 63e060a7899f4113ec6f19510656a0fc1d6940b8
|
||||
%global commit_date 20251130
|
||||
%global commit 0914dd3df54a5e6258dfc0a02d65af1c0fc0fc90
|
||||
%global commit_date 20240920
|
||||
%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: 1%?dist
|
||||
Release: 2%?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 3283bf8b352cdcb04ef3e0edb5155c4ca8c5c97c
|
||||
%global commit_date 20251130
|
||||
%global commit eca5e835cd3abee69984ce6312610644801457a9
|
||||
%global commit_date 20241230
|
||||
%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 3a586815e1c057580674c147e27c3a4909b3b4c6
|
||||
%global commit_date 20251130
|
||||
%global commit 5ac7f04f6876097aa8c3cf9af033d609a8a49944
|
||||
%global commit_date 20240824
|
||||
%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 15f77807a5f617341bd36f69174ea00f5550d131
|
||||
%global commit_date 20251130
|
||||
%global commit 9b73eb1e128b49a6d40a27a4cde7715d8cbd2674
|
||||
%global commit_date 20241230
|
||||
%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 a7aadc4538ea2d2db358856d39f35c20c72a8ee9
|
||||
%global commit_date 20251130
|
||||
%global commit 3e31905b5bc9bd78e285099ed94a4b31fdc6810b
|
||||
%global commit_date 20250402
|
||||
%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 @@
|
||||
%define debug_package %nil
|
||||
|
||||
%global commit 94d6697f0b3641a9b68ef31c0f18a5c41f922d4c
|
||||
%global commit_date 20251130
|
||||
%global commit e33764c69179e35b60ad03931544a87357e1e81f
|
||||
%global commit_date 20250413
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: stardust-xr-telescope
|
||||
Version: %commit_date.git~%shortcommit
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: See the stars! Easy stardust setups to run on your computer
|
||||
License: MIT
|
||||
URL: https://github.com/StardustXR/telescope
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: limine
|
||||
Version: 10.4.0
|
||||
Version: 10.3.2
|
||||
Release: 1%?dist
|
||||
Summary: Modern, advanced, portable, multiprotocol bootloader
|
||||
License: BSD-2-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 99c9cec1b18ff703aca5956efe191e76991bbdc7
|
||||
%global commit 365d85d48f4315e94562cd307223234e71b161b8
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20251130
|
||||
%global commitdate 20251128
|
||||
%global ver 1.0.18
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
|
||||
@@ -379,7 +379,6 @@ done
|
||||
%{_datadir}/applications/*.desktop
|
||||
%dir %{_datadir}/wine/fonts
|
||||
%{_datadir}/wine/fonts/*
|
||||
%_datadir/share/wine/
|
||||
|
||||
%if 0%{?fedora} < 40
|
||||
%ifarch %{ix86}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: wine-staging
|
||||
Version: 10.20
|
||||
Version: 10.19
|
||||
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: 2%?dist
|
||||
Release: 1%?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 systemd-rpm-macros
|
||||
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold v4l-utils libv4l-devel rust-libudev-devel vulkan-loader-devel dbus-devel clang
|
||||
Packager: Its-J
|
||||
|
||||
%description
|
||||
@@ -22,31 +22,13 @@ 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.8
|
||||
Version: 0.1.7
|
||||
Release: 1%?dist
|
||||
Summary: Scripts and RPM macros to help with AppStream metadata generation for Terra
|
||||
License: GPL-3.0-or-Later
|
||||
|
||||
@@ -4,7 +4,7 @@ Version: %{?fedora:%{fedora}}%{?rhel:%{rhel}}
|
||||
# The dist number is the version here, it is intentionally not repeated in the release
|
||||
%global dist %nil
|
||||
|
||||
Release: 4
|
||||
Release: 3
|
||||
Summary: A package to obsolete retired packages, based on Fedora's equivalent package
|
||||
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
@@ -157,9 +157,6 @@ BuildArch: noarch
|
||||
%obsolete x264-bootstrap-libs 0.0.165-17.20250609gitb35605ac_bootstrap
|
||||
%obsolete x264-bootstrap-devel 0.0.165-17.20250609gitb35605ac_bootstrap
|
||||
|
||||
%obsolete_ticket https://github.com/terrapkg/packages/pull/7503
|
||||
%obsolete zig-master-bootstrap 0.16.0~dev.1484+d0ba6642b-2
|
||||
|
||||
%description
|
||||
Currently obsoleted packages:
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global crate mise
|
||||
|
||||
Name: rust-mise
|
||||
Version: 2025.11.11
|
||||
Version: 2025.11.10
|
||||
Release: 1%?dist
|
||||
Summary: Front-end to your dev env
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 8b5afc702b2442919f3a827079fb0fa88d539511
|
||||
%global commit_date 20251130
|
||||
%global commit 91f5b1bcdd4131a515d3face1a4d1e39ce6a7d8d
|
||||
%global commit_date 20251129
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global pypi_name glasgow
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global oldpkgname yt-dlp-nightly
|
||||
|
||||
Name: yt-dlp-git
|
||||
Version: 2025.11.29.211905
|
||||
Version: 2025.11.28.221418
|
||||
Release: 1%?dist
|
||||
Summary: A command-line program to download videos from online video platforms
|
||||
|
||||
|
||||
Reference in New Issue
Block a user