mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore: Bump F40 nightly packages (#4721)
* bump(nightly): mpv nightly nightly nim-nightly nvidia-patch spotx-bash * bump: ruffle * bump(nightly): nightly nightly prismlauncher-nightly * bump(nightly): nightly prismlauncher-nightly nim-nightly * bump: ruffle * bump(nightly): nightly micro nightly nim-nightly --------- Co-authored-by: Raboneko <raboneko@fyralabs.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
%global commit f8cef99033e2e46e610f7378334f59cd242dacb4
|
||||
%global commit d702e5fec8090e1700e9b00557680a81e925a507
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250428
|
||||
%global commit_date 20250504
|
||||
%global ver 0.40.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 464b85b64c6228f1dfcf5cd853a342e582701126
|
||||
%global commit 35c9d32e696637475a1b854f56cd7f497b318761
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2025-05-02
|
||||
%global fulldate 2025-05-07
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global ver 1.1.4
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "micro-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
# Generated by go2rpm 1.15.0
|
||||
%bcond check 0
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# Naming variable as something other than "commit" is necessary
|
||||
# to stop %%gometa from putting commit hash in release
|
||||
%global commit_hash 91832d0016d0610141ab44c438316d5fdf38b4c5
|
||||
%global commit_date 20250507
|
||||
%global shortcommit %{sub %{commit_hash} 1 7}
|
||||
%global ver 2.0.14
|
||||
|
||||
# https://github.com/zyedidia/micro
|
||||
%global goipath github.com/zyedidia/micro
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals. It strives to be enjoyable as a full-time editor for people who prefer to work in a terminal, or those who regularly edit files over SSH.}
|
||||
|
||||
%global golicenses LICENSE LICENSE-THIRD-PARTY
|
||||
%global godocs README.md runtime/help/colors.md runtime/help/commands.md\\\
|
||||
runtime/help/copypaste.md runtime/help/defaultkeys.md\\\
|
||||
runtime/help/help.md runtime/help/keybindings.md\\\
|
||||
runtime/help/options.md runtime/help/plugins.md\\\
|
||||
runtime/help/tutorial.md
|
||||
|
||||
Name: micro.nightly
|
||||
Release: 2%{?dist}
|
||||
Summary: A modern and intuitive terminal-based text editor
|
||||
|
||||
License: MIT
|
||||
URL: %{gourl}
|
||||
Packager: sadlerm <lerm@chromebooks.lol>
|
||||
|
||||
BuildRequires: anda-srpm-macros
|
||||
|
||||
Recommends: wl-clipboard
|
||||
Recommends: (xclip or xsel)
|
||||
|
||||
Provides: micro-nightly = %{version}-%{release}
|
||||
Provides: micro
|
||||
Conflicts: micro
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%global buildsubdir micro-%{version}
|
||||
|
||||
%prep
|
||||
git clone --recurse-submodules -q %{gourl} micro-%{version}
|
||||
cd %{builddir}/micro-%{version} && git checkout -q %{commit_hash}
|
||||
%gomkdir
|
||||
%go_prep_online
|
||||
|
||||
%build
|
||||
%if %{without bootstrap}
|
||||
go generate ./runtime
|
||||
|
||||
MICRO_VERSION=$(go run ./tools/build-version.go)
|
||||
MICRO_DATE=$(date --date=%{commit_date} +"%%B %%d, %%Y")
|
||||
|
||||
LDFLAGS="-X internal/util.version=${MICRO_VERSION} \
|
||||
-X internal/util.hash=%{shortcommit} \
|
||||
-X 'internal/util.date=${MICRO_DATE}'"
|
||||
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/bin/micro ./cmd/micro
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without bootstrap}
|
||||
install -Dm755 %{gobuilddir}/bin/micro -t %{buildroot}%{_bindir}
|
||||
install -Dm644 assets/packaging/micro.1 -t %{buildroot}%{_mandir}/man1
|
||||
install -Dm644 assets/packaging/micro.desktop -t %{buildroot}%{_datadir}/applications
|
||||
install -Dm644 assets/micro-logo-mark.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/micro.svg
|
||||
|
||||
# for %%doc packaging
|
||||
mv -v ./runtime/help .
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gotest ./internal/... ./cmd/micro/...
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE LICENSE-THIRD-PARTY
|
||||
%doc README.md help
|
||||
%{_bindir}/micro
|
||||
%{_mandir}/man1/micro.1.gz
|
||||
%{_datadir}/applications/micro.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/micro.svg
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,7 @@
|
||||
rpm.global("commit_hash", gh_commit("zyedidia/micro"));
|
||||
let v = gh("zyedidia/micro");
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
v.crop(1);
|
||||
rpm.global("ver", v);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit 55eb0710edef8f967ef28b374f2a5cf4c13fde6a
|
||||
%global commit 5539d82ea647584cdd69e48d4532933fdbe14d5e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250505
|
||||
%global ver 0.186.0
|
||||
%global commit_date 20250507
|
||||
%global ver 0.187.0
|
||||
|
||||
%bcond_with check
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 693d9d02bca3348b9a59e013867c3f6c8c5a9f98
|
||||
%global commit cb8f6f5e80e42dc7d59336109d5ae3daa45f024e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit 23b955121b8217c1c348a9ed2483167a6f3ff4ad
|
||||
|
||||
%global commit_date 20250505
|
||||
%global commit_date 20250506
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit f56568d851eb7f859e6e355495c2be28ac9819e9
|
||||
%global commit 59ceff4f1afdbc35cfc1dd679ca31369e71b3873
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.3.1
|
||||
%global commit_date 20250502
|
||||
%global commit_date 20250507
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nightly
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global debug_package %{nil}
|
||||
%global commit 39f21ee316e6740be2fb1350086c8086906529a0
|
||||
%global commit 0c21bb5407668d0151a7dcdb9a3d940fa9ee0e33
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250430
|
||||
%global commit_date 20250504
|
||||
|
||||
|
||||
%global patches %{_datadir}/src/nvidia-patch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9093d0e29f0c871ce7a005a8e4cd5ca474438b24
|
||||
%global commit_date 20250412
|
||||
%global commit 1d16abcbb6cdd0a2882084d91dedc4e1f0e3844c
|
||||
%global commit_date 20250504
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: spotx-bash
|
||||
|
||||
Reference in New Issue
Block a user