mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-08 12:52:17 +00:00
Merge branch 'f39' into mado/fix39/vala-panel-appmenu
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.300
|
||||
Version: 0.0.326
|
||||
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.300
|
||||
Version: 0.0.326
|
||||
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.44
|
||||
Version: 0.0.47
|
||||
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-ptb-openasar
|
||||
Version: 0.0.74
|
||||
Version: 0.0.76
|
||||
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-ptb
|
||||
Version: 0.0.74
|
||||
Version: 0.0.76
|
||||
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: discord
|
||||
Version: 0.0.44
|
||||
Version: 0.0.47
|
||||
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.6.0
|
||||
Version: 0.6.1
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 27fb4c474f5ca850470cd07dfc789ba8bf94b35c
|
||||
%global commit 2af3a6e294e829191dfa0c41396ecd6384d405d9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240312
|
||||
%global commit_date 20240327
|
||||
%global ver v0.37.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global nodev 18.13.0
|
||||
%global npmv 8.19.3
|
||||
%global ver 0.17.2
|
||||
%global ver 0.18.0
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu9
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu11
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "switchboard-plug-wallet.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
|
||||
|
||||
%global srcname switchboard-plug-wallet
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name wallet
|
||||
%global plug_rdnn io.elementary.switchboard.wallet
|
||||
|
||||
%global commit 50582fc7ee43a4b47647d04786dcf1d0eb45af36
|
||||
%global commit_date 240218
|
||||
|
||||
Name: switchboard-plug-wallet
|
||||
Summary: Switchboard Wallet Plug
|
||||
Version: %commit_date.%(c=%commit; echo ${c:0:7})
|
||||
Release: 2%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
Source0: %url/archive/%version/%srcname-%version.tar.gz
|
||||
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(granite) >= 0.5
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
|
||||
%description
|
||||
Manage Payment Methods and related settings.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %srcname-%commit -p1
|
||||
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/icons/hicolor
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%_libdir/switchboard/%plug_type/lib%plug_rdnn.so
|
||||
%_datadir/icons/hicolor/*/apps/%plug_rdnn.svg
|
||||
%_datadir/locale/*/LC_MESSAGES/%plug_rdnn.mo
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 13 2023 windowsboy111 <windowsboy111@fyralabs.com> - bfe73dfb95d9b46a0a34e0db35a178233c8552b0-1
|
||||
- Initial package.
|
||||
@@ -1,4 +0,0 @@
|
||||
rpm.global("commit", gh_commit("elementary/switchboard-plug-wallet"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
+3
-3
@@ -1,13 +1,13 @@
|
||||
# from Fedora upstream
|
||||
%global extension pop-shell
|
||||
%global uuid %{extension}@system76.com
|
||||
%global commit 9a30c5bd49c373896410852d6477596ac4c43bd3
|
||||
%global commit 5fa3a500152b5131afbcbb4cfcd4a0db2fd0f063
|
||||
%global shortcommit %{lua:print(macros.commit:sub(1,7))}
|
||||
%global commit_date 240218
|
||||
%global commit_date 20240327
|
||||
%global ver 1.2.0
|
||||
|
||||
Name: terra-gnome-shell-extension-%{extension}
|
||||
Version: %{ver}^%{shortcommit}
|
||||
Version: %{ver}^%commit_date.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
Summary: GNOME Shell extension for advanced tiling window management
|
||||
License: GPL-3.0-only
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 4c7fbeb1e0fcfca13ee4868aef43200f64705682
|
||||
%global commit b4b16f61f1d69c994701f149e54335c40b9b201d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit d3bc3b7296a01f6b020e32080c9c40dd1c656b05
|
||||
%global commit 0011f74e9377fcde3166374b05301444131ac0e5
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit a4ea3a4d79c228d6ec9de3b4d0b08dc2a92fcb41
|
||||
%global commit bac3baa2876c61fe2963ad5e861f574d4b9c4402
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global rn 2
|
||||
%global rn 3
|
||||
|
||||
Name: unity-greeter
|
||||
Version: 23.10.1
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
Version: 45.0
|
||||
Release: 1%{?dist}
|
||||
Version: 46.0
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://packages.ubuntu.com/jammy/unity-session
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu5.tar.xz
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu6.tar.xz
|
||||
|
||||
Name: unity-shell
|
||||
Version: 7.7.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: terra-blueprint-compiler
|
||||
Version: 0.10.0
|
||||
Release: 1%{?dist}
|
||||
Version: 0.12.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
Summary: Markup language for GTK user interfaces
|
||||
URL: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.87.1.24068
|
||||
Version: 1.87.2.24072
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.19.3
|
||||
Version: 3.19.4
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: moby-buildx
|
||||
Version: 0.13.0
|
||||
Version: 0.13.1
|
||||
Release: 1%?dist
|
||||
Summary: Docker CLI plugin for extended build capabilities with BuildKit
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: moby-compose
|
||||
Version: 2.24.7
|
||||
Version: 2.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: iosevka-fusion-fonts
|
||||
Version: 29.0.1
|
||||
Version: 29.0.4
|
||||
Release: 1%?dist
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.6b
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define osuresver 2024.309.0
|
||||
%define osuresver 2024.321.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 3b0564f098c49be2fd3082928c91440c73df4d80
|
||||
%global commit df0280f52b68f4352d8da711136609c16ce4db7b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date 20240311
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 3b0564f098c49be2fd3082928c91440c73df4d80
|
||||
%global commit df0280f52b68f4352d8da711136609c16ce4db7b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date 20240311
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_with qt6
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.3.1
|
||||
Version: 3.3.2
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy-docs
|
||||
Version: 4.0.19
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy
|
||||
Version: 4.0.19
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit 78c834dd76f273d8813247647531005a1f7db1a6
|
||||
%global commit 4c38569229ade43d9570f92e08637f2bcd66bdc5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.1.1
|
||||
%global commit_date 20240312
|
||||
%global commit_date 20240326
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nighlty
|
||||
Version: %ver^%commit_date.%commit
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
License: MIT and BSD
|
||||
@@ -36,6 +37,7 @@ order of priority).
|
||||
This package provides various tools, which help Nim programmers.
|
||||
|
||||
|
||||
%ifarch x86_64
|
||||
%package doc
|
||||
Summary: Documentation for Nim programming language
|
||||
BuildArch: noarch
|
||||
@@ -46,12 +48,15 @@ order of priority).
|
||||
|
||||
This package provides documentation and reference manual for the language
|
||||
and its standard library.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n Nim-%commit
|
||||
# hack
|
||||
cp /usr/bin/mold /usr/bin/ld
|
||||
|
||||
|
||||
%build
|
||||
export CFLAGS="${CFLAGS} -Ofast"
|
||||
export CXXFLAGS="${CXXFLAGS} -Ofast"
|
||||
@@ -66,13 +71,18 @@ nimBuildCsourcesIfNeeded CFLAGS="${CFLAGS} -Ic_code -w -O3 -fno-strict-aliasing
|
||||
nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off -d:danger koch.nim
|
||||
koch boot -d:release -d:nimStrictMode --lib:lib
|
||||
|
||||
%ifarch x86_64
|
||||
koch docs &
|
||||
%endif
|
||||
(cd lib; nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) &
|
||||
koch tools --skipUserCfg --skipParentCfg --hints:off -d:release -t:-fPIE -l:-pie &
|
||||
nim c -d:danger -t:-fPIE -l:-pie nimsuggest/nimsuggest.nim &
|
||||
wait
|
||||
|
||||
%ifarch x86_64
|
||||
sed -i '/<link.*fonts.googleapis.com/d' doc/html/*.html
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
export PATH="$(pwd):$(pwd)/bin:${PATH}"
|
||||
@@ -82,24 +92,28 @@ mold -run bin/nim cc -d:nimCallDepthLimit=10000 -r tools/niminst/niminst --var:v
|
||||
|
||||
sh ./install.sh %buildroot/usr/bin
|
||||
|
||||
mkdir -p %buildroot/%_bindir %buildroot/%_datadir/bash-completion/completions
|
||||
mkdir -p %buildroot/%_bindir %buildroot/%_datadir/bash-completion/completions %buildroot/usr/lib/nim
|
||||
install -Dpm755 bin/nim{grep,suggest,pretty} %buildroot/%_bindir
|
||||
install -Dpm644 tools/nim.bash-completion %buildroot/%_datadir/bash-completion/completions/nim
|
||||
install -Dpm644 dist/nimble/nimble.bash-completion %buildroot/%_datadir/bash-completion/completions/nimble
|
||||
install -Dpm644 -t%buildroot/%_mandir/man1 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4
|
||||
|
||||
mkdir -p %buildroot/%_docdir/%name/html %buildroot/usr/lib/nim
|
||||
%ifarch x86_64
|
||||
mkdir -p %buildroot/%_docdir/%name/html
|
||||
cp -a doc/html/*.html %buildroot/%_docdir/%name/html/
|
||||
cp tools/dochack/dochack.js %buildroot/%_docdir/%name/
|
||||
%endif
|
||||
|
||||
cp -r lib/* %buildroot%_prefix/lib/nim/
|
||||
cp -a compiler %buildroot%_prefix/lib/nim/
|
||||
install -Dm644 nim.nimble %buildroot%_prefix/lib/nim/compiler
|
||||
install -Dm644 config/* -t %buildroot/etc/nim
|
||||
install -d %buildroot%_includedir || true
|
||||
cp -a %buildroot%_prefix/lib/nim/lib/*.h %buildroot%_includedir || true
|
||||
ln -s %_prefix/lib/nim %buildroot%_prefix/lib/nim/lib || true
|
||||
rm -rf %buildroot/nim || true
|
||||
rm %buildroot%_bindir/*.bat || true
|
||||
|
||||
#check
|
||||
# export PATH=$PATH:$(realpath ./bin)
|
||||
# for cat in manyloc gc threads nimble-all lib io async rodfiles debugger examples dll flags
|
||||
# do
|
||||
# ./koch tests --pedantic category $cat -d:nimCoroutines || (echo "$cat test category failed" && exit 1)
|
||||
# done
|
||||
|
||||
%files
|
||||
%license copying.txt dist/nimble/license.txt
|
||||
@@ -108,16 +122,17 @@ cp -r lib/* %buildroot%_prefix/lib/nim/
|
||||
%_mandir/man1/nim{,ble}.1*
|
||||
%_datadir/bash-completion/completions/nim{,ble}
|
||||
%_prefix/lib/nim/
|
||||
%_sysconfdir/nim/
|
||||
|
||||
%files tools
|
||||
%license copying.txt
|
||||
%_bindir/nim{grep,suggest,pretty}
|
||||
%_mandir/man1/nim{grep,suggest}.1*
|
||||
|
||||
%ifarch x86_64
|
||||
%files doc
|
||||
%doc %_docdir/%name
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jan 9 2023 windowsboy111 <windowsboy111@fyralabs.com> - 1.9.3^fcc383d89994241f1b73fe4f85ef38528c135e2e-1
|
||||
- Initial Package.
|
||||
%autochangelog
|
||||
|
||||
+23
-22
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: nim
|
||||
Version: 2.0.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
License: MIT and BSD
|
||||
URL: https://nim-lang.org
|
||||
@@ -13,8 +13,7 @@ Source2: nimgrep.1
|
||||
Source3: nimble.1
|
||||
Source4: nimsuggest.1
|
||||
BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre-devel
|
||||
Requires: redhat-rpm-config gcc
|
||||
Conflicts: choosenim
|
||||
Requires: gcc
|
||||
|
||||
|
||||
%description
|
||||
@@ -32,7 +31,7 @@ order of priority).
|
||||
|
||||
This package provides various tools, which help Nim programmers.
|
||||
|
||||
|
||||
%ifarch x86_64
|
||||
%package doc
|
||||
Summary: Documentation for Nim programming language
|
||||
BuildArch: noarch
|
||||
@@ -43,10 +42,13 @@ order of priority).
|
||||
|
||||
This package provides documentation and reference manual for the language
|
||||
and its standard library.
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n nim-%{version}
|
||||
|
||||
|
||||
%build
|
||||
export CFLAGS="${CFLAGS} -Ofast"
|
||||
export CXXFLAGS="${CXXFLAGS} -Ofast"
|
||||
@@ -58,20 +60,24 @@ export PATH="$(pwd):$(pwd)/bin:${PATH}"
|
||||
mold -run nim c -d:danger koch.nim
|
||||
mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie -d:release -d:nativeStacktrace -d:useGnuReadline
|
||||
|
||||
%ifarch x86_64
|
||||
mold -run koch docs &
|
||||
%endif
|
||||
(cd lib && nim c --app:lib -d:createNimRtl -d:release nimrtl.nim) &
|
||||
mold -run koch tools -t:-fPIE -l:-pie &
|
||||
mold -run nim c -t:-fPIE -l:-pie -d:release nimsuggest/nimsuggest.nim &
|
||||
wait
|
||||
|
||||
%ifarch x86_64
|
||||
sed -i '/<link.*fonts.googleapis.com/d' doc/html/*.html
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
export PATH="$(pwd):$(pwd)/bin:${PATH}"
|
||||
sh install.sh %{buildroot}usr/bin
|
||||
|
||||
mkdir -p %buildroot{%_bindir,%_docdir/%name/html,%_prefix/lib/nim}
|
||||
mkdir -p %buildroot{%_bindir,%_prefix/lib/nim}
|
||||
install -Dp -m755 bin/nim{,ble,grep,suggest,pretty} %buildroot/%_bindir
|
||||
install -Dp -m644 dist/nimble/nimble.bash-completion %{buildroot}%{bashcompdir}/nimble
|
||||
install -Dp -m644 -t%{buildroot}%{_mandir}/man1 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4
|
||||
@@ -83,34 +89,27 @@ for comp in tools/*.zsh-completion; do
|
||||
install -Dm644 $comp %zshcompdir/_$(basename "${comp/.zsh-completion}")
|
||||
done
|
||||
|
||||
%ifarch x86_64
|
||||
mkdir -p %buildroot%_docdir/%name/html
|
||||
cp -a doc/html/*.html %buildroot%_docdir/%name/html/
|
||||
cp tools/dochack/dochack.js %{buildroot}%{_docdir}/%{name}/
|
||||
cp -a lib %buildroot%_prefix/lib/nim
|
||||
ln -s %_datadir/nim/doc %buildroot%_prefix/lib/nim/doc
|
||||
%endif
|
||||
|
||||
cp -a lib %buildroot%_prefix/lib/
|
||||
mv %buildroot%_prefix/lib/{lib,nim}
|
||||
cp -a compiler %buildroot%_prefix/lib/nim
|
||||
install -Dm644 nim.nimble %buildroot%_prefix/lib/nim/compiler
|
||||
ls **
|
||||
ls %buildroot%_prefix/lib/nim/*
|
||||
install -m755 lib/libnimrtl.so %buildroot%_prefix/lib/libnimrtl.so
|
||||
|
||||
install -m755 lib/libnimrtl.so %buildroot%_prefix/lib/libnimrtl.so # compiler needs
|
||||
install -Dm644 config/* -t %buildroot/etc/nim
|
||||
install -Dm755 bin/* -t %buildroot%_bindir
|
||||
|
||||
install -d %buildroot%_includedir
|
||||
cp -a %buildroot%_prefix/lib/nim/lib/*.h %buildroot%_includedir
|
||||
|
||||
ln -s %_datadir/nim/doc %buildroot%_prefix/lib/nim/doc
|
||||
|
||||
ln -s %_prefix/lib/nim %buildroot%_prefix/lib/nim/lib
|
||||
|
||||
ln -s %_prefix/lib/nim %buildroot%_prefix/lib/nim/lib # compiler needs lib from here
|
||||
ln -s %_prefix/lib/nim/system.nim %_prefix/lib/system.nim # nimsuggest bug
|
||||
rm -rf %buildroot/nim || true
|
||||
rm %buildroot%_bindir/*.bat || true
|
||||
|
||||
%check
|
||||
# export PATH=$PATH:$(realpath ./bin)
|
||||
# for cat in manyloc gc threads nimble-all lib io async rodfiles debugger examples dll flags
|
||||
# do
|
||||
# ./koch tests --pedantic category $cat -d:nimCoroutines || (echo "$cat test category failed" && exit 1)
|
||||
# done
|
||||
|
||||
%files
|
||||
%license copying.txt dist/nimble/license.txt
|
||||
@@ -133,8 +132,10 @@ rm %buildroot%_bindir/*.bat || true
|
||||
%{_bindir}/nim{grep,suggest,pretty}
|
||||
%{_mandir}/man1/nim{grep,suggest}.1*
|
||||
|
||||
%ifarch x86_64
|
||||
%files doc
|
||||
%doc %{_docdir}/nim
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global pypi_name protobuf
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 4.25.3
|
||||
Version: 5.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: python3-ruff
|
||||
Version: 0.3.2
|
||||
Version: 0.3.4
|
||||
Release: 1%?dist
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%global crate joshuto
|
||||
|
||||
Name: rust-joshuto
|
||||
Version: 0.9.6
|
||||
Release: 1%{?dist}
|
||||
Version: 0.9.7
|
||||
Release: 1%?dist
|
||||
Summary: Terminal file manager inspired by ranger
|
||||
|
||||
License: LGPL-3.0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global crate maturin
|
||||
|
||||
Name: rust-terra-maturin
|
||||
Version: 1.5.0
|
||||
Version: 1.5.1
|
||||
Release: 1%?dist
|
||||
Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From b62e3879abe83e0b879421a023d8e944e31f00cb Mon Sep 17 00:00:00 2001
|
||||
From: madomado <madonuko@outlook.com>
|
||||
Date: Mon, 25 Mar 2024 18:33:25 +0800
|
||||
Subject: [PATCH] gix 0.61.1 -> 0.61.0
|
||||
|
||||
---
|
||||
Cargo.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index d98ba90..c3059c9 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -82,7 +82,7 @@ version = "1.0.4"
|
||||
version = "0.4.3"
|
||||
|
||||
[dependencies.gix]
|
||||
-version = "0.61.1"
|
||||
+version = "0.61.0"
|
||||
features = [
|
||||
"max-performance-safe",
|
||||
"revision",
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
%global debug_package %{nil}
|
||||
# Generated by rust2rpm 24
|
||||
%bcond_without check
|
||||
# Generated by rust2rpm 26
|
||||
#bcond_without check
|
||||
|
||||
%global crate starship
|
||||
|
||||
Name: rust-starship
|
||||
Version: 1.17.1
|
||||
Release: 1%{?dist}
|
||||
Version: 1.18.1
|
||||
Release: %autorelease
|
||||
Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
||||
|
||||
License: ISC
|
||||
URL: https://crates.io/crates/starship
|
||||
Source: %{crates_source}
|
||||
# Automatically generated patch to strip foreign dependencies
|
||||
Patch: starship-fix-metadata-auto.diff
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch0: starship-fix-metadata-auto.diff
|
||||
Patch1: 0001-gix-0.61.1-0.61.0.patch
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
@@ -29,11 +29,13 @@ shell! ☄🌌️.}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
License: ISC
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
#license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_bindir}/starship
|
||||
|
||||
@@ -170,14 +172,14 @@ use the "starship-battery" feature of the "%{crate}" crate.
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
%{cargo_install}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- starship-1.14.2/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ starship-1.14.2/Cargo.toml 2023-04-25T12:48:23.509565+00:00
|
||||
@@ -254,18 +254,3 @@
|
||||
--- starship-1.18.1/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ starship-1.18.1/Cargo.toml 2024-03-24T13:14:24.022475+00:00
|
||||
@@ -263,18 +263,3 @@
|
||||
]
|
||||
default-features = false
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
-version = "0.2.0"
|
||||
-
|
||||
-[target."cfg(windows)".dependencies.windows]
|
||||
-version = "0.48.0"
|
||||
-version = "0.54.0"
|
||||
-features = [
|
||||
- "Win32_Foundation",
|
||||
- "Win32_UI_Shell",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global real_name vala-language-server
|
||||
|
||||
%global commit 3b5fe941bea6ecd5c8fcb84930c40b8582eea165
|
||||
%global commit 0b020298aa3dafacd2f6633533ca91fba5698340
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 240218
|
||||
%global commit_date 20240323
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
%global verrel 0.48.7
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
%global commit 8ae2bb65fe66458263d94711ae4ddd978faece00
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 240218
|
||||
%global commit_date 20240218
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: vala-lint-nightly
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
%global priority 90
|
||||
|
||||
%global real_name vala
|
||||
%global commit 933eb2d0e41bb7fdc4fe5fc01a03254965990f3e
|
||||
%global commit 86984c59734f975c9778251dddf80d247ade28a7
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
|
||||
|
||||
%global commit_date 240218
|
||||
%global commit_date 20240327
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: vala-nightly
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
||||
%global commit 1d641f6e2b1a7f6cf4c241ca4f2fc7f547016ab4
|
||||
%global commit 49aa4247d155fa98b306063782b718ef846c78e7
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
@@ -22,6 +22,7 @@ BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: pkgconfig(libxfce4panel-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libxfconf-0)
|
||||
BuildRequires: pkgconfig(budgie-1.0)
|
||||
@@ -83,6 +84,13 @@ Summary: Gtk3MenuShell D-Bus exporter
|
||||
%description -n vala-panel-appmenu-gtk-module
|
||||
GTK (2, 3) module that exports GtkMenuShells over D-Bus.
|
||||
|
||||
|
||||
%package -n vala-panel-appmenu-jayatana-module
|
||||
Summary: Vala appmenu support for Java Swing applications
|
||||
|
||||
%description -n vala-panel-appmenu-jayatana-module
|
||||
Vala appmenu support for Java Swing applications.
|
||||
|
||||
%prep
|
||||
%forgeautosetup
|
||||
|
||||
@@ -124,6 +132,11 @@ GTK (2, 3) module that exports GtkMenuShells over D-Bus.
|
||||
%{_libdir}/gtk-3.0/modules/libappmenu-gtk-module.so
|
||||
%{_datadir}/glib-2.0/schemas/org.appmenu.gtk-module.gschema.xml
|
||||
|
||||
%files -n vala-panel-appmenu-jayatana-module
|
||||
%{_datadir}/java/*.jar
|
||||
%dir %{_libdir}/jayatana
|
||||
%{_libdir}/jayatana/*.so
|
||||
|
||||
%files -n xfce4-vala-panel-appmenu-plugin
|
||||
%{_libdir}/xfce4/panel/plugins/libappmenu-xfce.so
|
||||
%{_datadir}/xfce4/panel/plugins/appmenu.desktop
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gitlab("6865057"));
|
||||
@@ -1,10 +1,9 @@
|
||||
Name: vala-panel
|
||||
Version: 24.03
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel
|
||||
%global commit ead4e7a36b0e4b0a2ac43c5d9ca17eb753461afe
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel
|
||||
Version: 0.5.0
|
||||
Release: 2%?dist
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
Summary: This package provides Application Menu plugin for vala-panel
|
||||
Group: System/GUI/Other
|
||||
@@ -38,7 +37,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%forgeautosetup
|
||||
|
||||
%build
|
||||
%meson -Dwnck=enabled -Dplatforms='layer-shell,x11'
|
||||
%meson -Dwnck=enabled -Dplatforms='wayland,x11'
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@@ -73,6 +72,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.applica
|
||||
%{_datadir}/vala-panel/applets/*.plugin
|
||||
%dir %{_datadir}/vala-panel/images
|
||||
%{_datadir}/vala-panel/images/background.png
|
||||
%{_libdir}/girepository-1.0/ValaPanel-%version.typelib
|
||||
|
||||
%files devel
|
||||
%doc README.md
|
||||
@@ -82,6 +82,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.applica
|
||||
%{_libdir}/libvalapanel.so
|
||||
%{_libdir}/pkgconfig/vala-panel.pc
|
||||
%{_datadir}/vala/vapi/vala-panel.*
|
||||
%{_datadir}/gir-1.0/ValaPanel-%version.gir
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -2,4 +2,7 @@ project pkg {
|
||||
rpm {
|
||||
spec = "pqmarble.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
%global commit f240b2ec7d5cdacb8fdcc553703420dc5101ffdb
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240310
|
||||
%global ver 2.0.0
|
||||
|
||||
Name: pqmarble
|
||||
Version: %ver^%commit
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%{?dist}
|
||||
Summary: My GTK library
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
let req = get("https://gitlab.gnome.org/api/v4/projects/20662/repository/branches/master").json();
|
||||
rpm.global("commit", req.commit.id);
|
||||
let meson = get("https://gitlab.gnome.org/raggesilver/marble/-/raw/master/meson.build");
|
||||
rpm.global("ver", find("(?m)^\\s+version:\\s*'(.+)',$", meson, 1));
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gitlab_commit("gitlab.gnome.org", "20662", "master"));
|
||||
if rpm.changed() {
|
||||
let meson = get("https://gitlab.gnome.org/raggesilver/marble/-/raw/master/meson.build");
|
||||
rpm.global("ver", find("(?m)^\\s+version:\\s*'(.+)',$", meson, 1));
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
%global commit d0ff90bb19a235d9357f0874b0a62306e40d90b8
|
||||
%global ver 1.8.25
|
||||
%global commit_date 240219
|
||||
%global commit 586bc784138042d2710168cd0b29f5dd6d415f45
|
||||
%global ver 1.8.26
|
||||
%global commit_date 20240219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: tdlib-nightly
|
||||
Version: %ver^%commit_date.%commit
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
License: BSL-1.0
|
||||
URL: https://github.com/tdlib/td
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("tdlib/td"));
|
||||
if rpm.changed() {
|
||||
let v = find("\nproject\\(TDLib\\s+VERSION\\s+([\\d.]+)\\s+", gh_rawfile("tdlib/td", "master", "CMakeLists.txt")), 1);
|
||||
let v = find("\nproject\\(TDLib\\s+VERSION\\s+([\\d.]+)\\s+", gh_rawfile("tdlib/td", "master", "CMakeLists.txt"), 1);
|
||||
rpm.global("ver", v);
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/click
|
||||
%global commit 6ab489306b1d76628a1bcf413debba1c238ec703
|
||||
%global commit 6e4342ae0ef3710343e2dbf0b8da586853625e2e
|
||||
%forgemeta
|
||||
|
||||
Name: click
|
||||
Version: 0.5.1
|
||||
Release: %autorelease
|
||||
Version: 0.5.2
|
||||
Release: 1%?dist
|
||||
Summary: An app building method
|
||||
License: LGPL-3.0
|
||||
URL: https://gitlab.com/ubports/development/core/click
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%define _build_id_links none
|
||||
|
||||
Name: sass
|
||||
Version: 1.71.1
|
||||
Version: 1.72.0
|
||||
Release: 1%?dist
|
||||
Summary: The reference implementation of Sass, written in Dart
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 7cb289b6466b662fdf9f7d7ccc9f3c08a7dc0cac
|
||||
%global commit_date 240219
|
||||
%global commit_date 20240219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global debug_package %{nil}
|
||||
%define __os_install_post %{nil}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: limine
|
||||
Version: 7.0.5
|
||||
Version: 7.2.0
|
||||
Release: 1%?dist
|
||||
Summary: Modern, advanced, portable, multiprotocol bootloader
|
||||
License: BSD-2-Clause
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global debug_package %{nil}
|
||||
%global commit 564c0661a942f7163cb2cfa6cb1b14b4bcff3a30
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 240218
|
||||
%global commit_date 20240218
|
||||
|
||||
|
||||
%global patches %{_datadir}/src/nvidia-patch
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global coreutils_ver 9.3
|
||||
|
||||
Name: uutils-coreutils
|
||||
Version: 0.0.24
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.25
|
||||
Release: 1%?dist
|
||||
Summary: Cross-platform Rust rewrite of the GNU coreutils
|
||||
License: MIT
|
||||
URL: https://github.com/uutils/coreutils
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "terra-obsolete.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
Name: terra-obsolete
|
||||
# Please keep the version equal to the targeted Terra release
|
||||
Version: 39
|
||||
# The dist number is the version here, it is intentionally not repeated in the release
|
||||
%global dist %nil
|
||||
|
||||
Release: %autorelease
|
||||
Summary: A package to obsolete retired packages, based on Fedora's equivalent package
|
||||
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
BuildArch: noarch
|
||||
|
||||
# ===============================================================================
|
||||
# Skip down below these convenience macros
|
||||
%define obsolete_ticket() %{lua:
|
||||
local ticket = rpm.expand('%1')
|
||||
|
||||
-- May need to declare the master structure
|
||||
if type(obs) == 'nil' then
|
||||
obs = {}
|
||||
end
|
||||
|
||||
if ticket == '%1' then
|
||||
rpm.expand('%{error:No ticket provided to obsolete_ticket}')
|
||||
end
|
||||
|
||||
if ticket == 'Ishouldfileaticket' then
|
||||
ticket = nil
|
||||
end
|
||||
|
||||
-- Declare a new set of obsoletes
|
||||
local index = #obs+1
|
||||
obs[index] = {}
|
||||
obs[index].ticket = ticket
|
||||
obs[index].list = {}
|
||||
}
|
||||
|
||||
%define obsolete() %{lua:
|
||||
local pkg = rpm.expand('%1')
|
||||
local ver = rpm.expand('%2')
|
||||
local pkg_
|
||||
local ver_
|
||||
local i
|
||||
local j
|
||||
|
||||
if pkg == '%1' then
|
||||
rpm.expand('%{error:No package name provided to obsolete}')
|
||||
end
|
||||
if ver == '%2' then
|
||||
rpm.expand('%{error:No version provided to obsolete}')
|
||||
end
|
||||
|
||||
if not string.find(ver, '-') then
|
||||
rpm.expand('%{error:You must provide a version-release, not just a version.}')
|
||||
end
|
||||
|
||||
print('Obsoletes: ' .. pkg .. ' < ' .. ver)
|
||||
|
||||
-- Check if the package wasn't already obsoleted
|
||||
for i = 1,#obs do
|
||||
for j = 1,#obs[i].list do
|
||||
pkg_, ver_ = table.unpack(obs[i].list[j])
|
||||
if pkg == pkg_ then
|
||||
rpm.expand('%{error:' .. pkg ..' obsoleted multiple times (' .. ver_ .. ' and ' .. ver ..').}')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Append this obsolete to the last set of obsoletes in the list
|
||||
local list = obs[#obs].list
|
||||
list[#list+1] = {pkg, ver}
|
||||
}
|
||||
|
||||
%define list_obsoletes %{lua:
|
||||
local i
|
||||
local j
|
||||
for i = 1,#obs do
|
||||
for j = 1,#obs[i].list do
|
||||
pkg, ver = table.unpack(obs[i].list[j])
|
||||
print(' ' .. pkg .. ' < ' .. ver .. '\\n')
|
||||
end
|
||||
if obs[i].ticket == nil then
|
||||
print(' (No ticket was provided!)\\n\\n')
|
||||
else
|
||||
print(' (See ' .. obs[i].ticket .. ')\\n\\n')
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
# ===============================================================================
|
||||
# Add calls to the obsolete_ticket and obsolete macros below, along with a note
|
||||
# indicating the Terra version in which the entries can be removed. This is
|
||||
# generally three releases beyond whatever release Rawhide is currently. The
|
||||
# macros make this easy, and will automatically update the package description.
|
||||
|
||||
# A link with information is important. Please don't add things here
|
||||
# without having a link to a PR on GitHub, a link to a package
|
||||
# retirement commit, or something similar. We generally recommend you
|
||||
# put the GitHub PR in which the obsolete is being added.
|
||||
|
||||
# All Obsoletes: entries MUST be versioned (including the release),
|
||||
# with the version being higher (!)
|
||||
# than the last version-release of the obsoleted package.
|
||||
# This allows the package to return to the distribution later.
|
||||
# The best possible thing to do is to find the last version-release
|
||||
# which was in the distribution, add one to the release,
|
||||
# and add that version without using a dist tag.
|
||||
# This allows a rebuild with a bumped Release: to be installed.
|
||||
|
||||
%obsolete_ticket https://github.com/terrapkg/packages/pull/994
|
||||
%obsolete switchboard-plug-wallet 50582fc-3
|
||||
|
||||
%description
|
||||
|
||||
Currently obsoleted packages:
|
||||
|
||||
%list_obsoletes
|
||||
|
||||
%prep
|
||||
|
||||
%files
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anda-srpm-macros
|
||||
Version: 0.1.5
|
||||
Version: 0.1.6
|
||||
Release: 1%{?dist}
|
||||
Summary: SRPM macros for extra Fedora packages
|
||||
|
||||
@@ -9,6 +9,7 @@ Source0: macros.cargo_extra
|
||||
Source1: macros.caching
|
||||
Source2: macros.anda
|
||||
Source3: macros.go_extra
|
||||
Source4: macros.nim_extra
|
||||
|
||||
Recommends: rust-packaging
|
||||
Requires: git-core
|
||||
@@ -28,15 +29,20 @@ install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE0}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE1}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE2}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE3}
|
||||
install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE4}
|
||||
|
||||
%files
|
||||
%{_rpmmacrodir}/macros.cargo_extra
|
||||
%{_rpmmacrodir}/macros.caching
|
||||
%{_rpmmacrodir}/macros.anda
|
||||
%{_rpmmacrodir}/macros.go_extra
|
||||
%{_rpmmacrodir}/macros.nim_extra
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2024 madonuko <mado@fyralabs.com> - 0.1.6-1
|
||||
- Add nim_c, nim_tflags and nim_lflags
|
||||
|
||||
* Thu Aug 3 2023 madonuko <mado@fyralabs.com> - 0.1.4-1
|
||||
- Add go_build_online and go_prep_online
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
%nim_tflags %(echo "%?build_cflags -fPIE" | sed "s/-O2/-Ofast/g" | sed "s/-Wall//g")
|
||||
|
||||
%nim_lflags %?build_ldflags -pie
|
||||
|
||||
%nim_c -d:release -t:"%nim_tflags" -l:"%nim_lflags"
|
||||
@@ -5,7 +5,7 @@
|
||||
%global crate anda
|
||||
|
||||
Name: rust-anda
|
||||
Version: 0.1.26
|
||||
Version: 0.1.28
|
||||
Release: 1%?dist
|
||||
Summary: Andaman Build toolchain
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: gradle
|
||||
Version: 8.6.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.7.0
|
||||
Release: 1%?dist
|
||||
Summary: Powerful build system for the JVM
|
||||
URL: https://gradle.org/
|
||||
Source0: https://services.gradle.org/distributions/%{name}-%{version}-src.zip
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so
|
||||
|
||||
Name: electron
|
||||
Version: 29.1.1
|
||||
Version: 29.1.5
|
||||
Release: 1%?dist
|
||||
Summary: Build cross platform desktop apps with web technologies
|
||||
License: MIT
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "yt-dlp-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("yt-dlp/yt-dlp"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("yt-dlp/yt-dlp"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
#bcond_without tests
|
||||
%global commit e5d4f11104ce7ea1717a90eea82c0f7d230ea5d5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240325
|
||||
%global ver 2024.03.10
|
||||
|
||||
Name: yt-dlp-nightly
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: A command-line program to download videos from online video platforms
|
||||
|
||||
License: Unlicense
|
||||
URL: https://github.com/yt-dlp/yt-dlp
|
||||
Source: %url/archive/%commit.tar.gz
|
||||
# License of the specfile
|
||||
Source: https://src.fedoraproject.org/rpms/yt-dlp/raw/rawhide/f/yt-dlp.spec.license
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%if %{with tests}
|
||||
# Needed for %%check
|
||||
BuildRequires: %{py3_dist pytest}
|
||||
%endif
|
||||
|
||||
# Needed for docs
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: make
|
||||
|
||||
# ffmpeg-free is now available in Fedora.
|
||||
Recommends: /usr/bin/ffmpeg
|
||||
Recommends: /usr/bin/ffprobe
|
||||
|
||||
Provides: yt-dlp
|
||||
Conflicts: yt-dlp
|
||||
|
||||
Suggests: python3dist(keyring)
|
||||
|
||||
%global _description %{expand:
|
||||
yt-dlp is a command-line program to download videos from many different online
|
||||
video platforms, such as youtube.com. The project is a fork of youtube-dl with
|
||||
additional features and fixes.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash completion for yt-dlp
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
|
||||
Provides: yt-dlp-bash-completion
|
||||
Conflicts: yt-dlp-bash-completion
|
||||
|
||||
%description bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh completion for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
|
||||
Provides: yt-dlp-zsh-completion
|
||||
Conflicts: yt-dlp-zsh-completion
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command line completion support for %{name}.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish completion for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: fish
|
||||
Supplements: (%{name} and fish)
|
||||
|
||||
Provides: yt-dlp-fish-completion
|
||||
Conflicts: yt-dlp-fish-completion
|
||||
|
||||
%description fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n yt-dlp-%commit
|
||||
|
||||
# Remove unnecessary shebangs
|
||||
find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' +
|
||||
# Relax version constraints
|
||||
sed -i 's@"\(requests\|urllib3\|websockets\)>=.*"@"\1"@' pyproject.toml
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
%build
|
||||
# Docs and shell completions
|
||||
make yt-dlp.1 completion-bash completion-zsh completion-fish
|
||||
|
||||
# Docs and shell completions are also included in the wheel.
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files yt_dlp
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
# See https://github.com/yt-dlp/yt-dlp/blob/master/devscripts/run_tests.sh
|
||||
%pytest -m 'not download'
|
||||
%endif
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%{_bindir}/yt-dlp
|
||||
%{_mandir}/man1/yt-dlp.1*
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%files bash-completion
|
||||
%{bash_completions_dir}/yt-dlp
|
||||
|
||||
%files zsh-completion
|
||||
%{zsh_completions_dir}/_yt-dlp
|
||||
|
||||
%files fish-completion
|
||||
%{fish_completions_dir}/yt-dlp.fish
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -66,7 +66,6 @@
|
||||
<packagereq type="default">switchboard-plug-security-privacy</packagereq>
|
||||
<packagereq type="default">switchboard-plug-datetime</packagereq>
|
||||
<packagereq type="default">switchboard-plug-parental-controls</packagereq>
|
||||
<packagereq type="default">switchboard-plug-wallet</packagereq>
|
||||
<packagereq type="default">switchboard-plug-useraccounts</packagereq>
|
||||
<packagereq type="default">switchboard-plug-wacom</packagereq>
|
||||
<packagereq type="default">switchboard-plug-locale</packagereq>
|
||||
|
||||
Reference in New Issue
Block a user