mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
138 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 763306e625 | |||
| 387801b1e4 | |||
| 71ef643b5e | |||
| 2c432dd80a | |||
| e020932846 | |||
| d88e37749e | |||
| 172b0baed5 | |||
| c380141b7a | |||
| 52b2186f3d | |||
| 5d15003c6e | |||
| 42d2a8dd22 | |||
| e3cefd7e01 | |||
| 5d5a2edd19 | |||
| c154ca752d | |||
| 01761df9e8 | |||
| 523a40d59b | |||
| 264061d634 | |||
| 93aa53c41a | |||
| 8492eeee8c | |||
| 53b94f00fd | |||
| 00e0f8705c | |||
| ae41119840 | |||
| 4d6e24e55b | |||
| ef6ee52375 | |||
| 6d12878bad | |||
| a4d724ef30 | |||
| e764a17884 | |||
| c474f41231 | |||
| 01d39214ca | |||
| 15d2572cc3 | |||
| abf6b8715e | |||
| 864f55d869 | |||
| 73172427fe | |||
| 0add8a50f1 | |||
| 2e3c6ee6d6 | |||
| 7742db1e4b | |||
| 36b1754910 | |||
| 15dc9d0445 | |||
| 45322a4076 | |||
| a5de0ba154 | |||
| 50dadd462b | |||
| cb13c74436 | |||
| 9e0f02ab0a | |||
| 69da54b6eb | |||
| 19c44cc230 | |||
| 2ad181150f | |||
| 0886b8a409 | |||
| 7bf2f372e7 | |||
| bb706af0f6 | |||
| b2cedf798c | |||
| 4959211007 | |||
| 695294bdca | |||
| acab2e14c4 | |||
| aa4080a1f4 | |||
| b6e7d97ebf | |||
| 552c7430a4 | |||
| 6ab2301881 | |||
| 444b7871a3 | |||
| 3df8cd979a | |||
| 276f6af5dc | |||
| 6229252257 | |||
| baadd002b1 | |||
| c86c8bd838 | |||
| 2fe8f44da7 | |||
| 3b3b9d9667 | |||
| 6653098fde | |||
| c46ea822fb | |||
| 191970fd47 | |||
| fedc85aec5 | |||
| 815f7e270e | |||
| 9c40d40ece | |||
| 702bb556c0 | |||
| e8b8116d0c | |||
| eb9ea21d39 | |||
| f116185d1b | |||
| d5619fadd9 | |||
| 0999eabf3e | |||
| 3faca6849d | |||
| 3f15151df4 | |||
| dfb10abfbe | |||
| 226d83a061 | |||
| e20a1ad898 | |||
| de2302ffa9 | |||
| e7d0109e01 | |||
| b8b597dfb1 | |||
| d46183566f | |||
| 74f513e13b | |||
| fcc106dadb | |||
| 6764f6b5ea | |||
| a1ce007544 | |||
| ddfb9000f3 | |||
| e4df288bdd | |||
| 7803bf383d | |||
| 1f65a8e689 | |||
| b9e943a0c3 | |||
| f49e6d64d2 | |||
| cec6491856 | |||
| cfd8024c04 | |||
| 46bcd464ea | |||
| 3dde72cec3 | |||
| 8f42f3dcce | |||
| 512978a35f | |||
| 332ed989a3 | |||
| 8d976aa8e5 | |||
| cac4ea3770 | |||
| 46a2554972 | |||
| 3f3925b67e | |||
| 90ef48d3f6 | |||
| bbb3fe9021 | |||
| 15944494fe | |||
| 2d4584855b | |||
| a59003be04 | |||
| 8ffba072c5 | |||
| 2a55d07e37 | |||
| bf5092900c | |||
| 63b916bc0a | |||
| ad7f165df4 | |||
| 5171a58c1b | |||
| 730a2dd3d0 | |||
| 81d579ed68 | |||
| 851bca9bae | |||
| 52c9ad64ea | |||
| d723b2ef9a | |||
| 56dd0e7436 | |||
| 200fc887e1 | |||
| ade1135bd5 | |||
| 6f3fd67a27 | |||
| c09c3d6e50 | |||
| d4ce5b8766 | |||
| 2559f8e23e | |||
| 3af1e807a8 | |||
| f25c99b5d3 | |||
| ff1f7999fc | |||
| 95b6b0ad8f | |||
| 8ed48f06fb | |||
| e5e434874c | |||
| 7d2c28594a | |||
| 375f44402b |
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"repoOwner": "terrapkg",
|
||||
"repoName": "packages",
|
||||
"resetAuthor": true,
|
||||
"targetBranchChoices": ["f38", "f39", "f40", "frawhide"],
|
||||
"branchLabelMapping": {
|
||||
"^sync-(.+)$": "$1"
|
||||
}
|
||||
}
|
||||
@@ -54,13 +54,6 @@ jobs:
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v anda/terra/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
name: Automatic backport/sync action
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: ["labeled", "closed"]
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
name: Backport/sync PR
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged
|
||||
steps:
|
||||
- name: Install SSH signing key
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
|
||||
- name: Setup Raboneko Signing
|
||||
run: |
|
||||
git config --global gpg.format "ssh"
|
||||
git config --global user.signingkey "${{ runner.temp }}/signing_key"
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
- name: Backport Action
|
||||
uses: sorenlouv/backport-github-action@v9.3.0
|
||||
with:
|
||||
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
|
||||
auto_backport_label_prefix: sync-
|
||||
|
||||
- name: Info log
|
||||
if: ${{ success() }}
|
||||
run: cat ~/.backport/backport.info.log
|
||||
|
||||
- name: Debug log
|
||||
if: ${{ failure() }}
|
||||
run: cat ~/.backport/backport.debug.log
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-bin
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-qt5
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.324
|
||||
Version: 0.0.346
|
||||
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.324
|
||||
Version: 0.0.346
|
||||
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.46
|
||||
Version: 0.0.52
|
||||
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.76
|
||||
Version: 0.0.81
|
||||
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.76
|
||||
Version: 0.0.81
|
||||
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.46
|
||||
Version: 0.0.52
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 27fb4c474f5ca850470cd07dfc789ba8bf94b35c
|
||||
%global commit a46ce9e28cd97f7280c085649a79f85aa1d0fe70
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240312
|
||||
%global commit_date 20240325
|
||||
%global ver v0.37.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
%global crate sccache
|
||||
|
||||
Name: rust-sccache
|
||||
Version: 0.7.7
|
||||
Release: 1%{?dist}
|
||||
Version: 0.8.0
|
||||
Release: 1%?dist
|
||||
Summary: Ccache-like tool
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 1.5.1
|
||||
Version: 1.5.2.alpha.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
Summary: Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global nodev 18.13.0
|
||||
%global npmv 8.19.3
|
||||
%global ver 0.18.0
|
||||
%global nodev 20.12.2
|
||||
%global npmv 10.5.0
|
||||
%global ver 0.19.1
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu11
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu12
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
|
||||
@@ -9,6 +9,7 @@ Summary: Stylish top panel
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
URL: https://github.com/elementary/wingpanel
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit 86e830265b067a239aca6d18094ece43f5a549b7
|
||||
%global commit 11bddd982b3643aacdf052cf339ae1ca1873fbb2
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit bac3baa2876c61fe2963ad5e861f574d4b9c4402
|
||||
%global commit aacd2e4704112468b44332e8c8b1f7445651b8da
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global rn 3
|
||||
%global rn 4
|
||||
|
||||
Name: unity-greeter
|
||||
Version: 23.10.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 1ubuntu1
|
||||
%define _ubuntu_rel 1ubuntu4
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu6.tar.xz
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu7.tar.xz
|
||||
|
||||
Name: unity-shell
|
||||
Version: 7.7.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-notifications
|
||||
Summary: Ayatana Indicator Notifications Applet
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
Version: 23.10.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-notifications
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-sound
|
||||
Summary: Ayatana Indicator Sound Applet
|
||||
Version: 23.10.3
|
||||
Release: 1%{?dist}
|
||||
Version: 24.4.0
|
||||
Release: 1%?dist
|
||||
License: GPLv3
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.87.2.24072
|
||||
Version: 1.88.1.24104
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.19.4
|
||||
Version: 3.19.6
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
# https://github.com/containerd/containerd
|
||||
%global goipath github.com/containerd/containerd
|
||||
Version: 1.7.14
|
||||
Version: 1.7.16
|
||||
|
||||
%gometa
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: moby-buildx
|
||||
Version: 0.13.1
|
||||
Version: 0.14.0
|
||||
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.26.0
|
||||
Version: 2.27.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.4
|
||||
Version: 29.2.0
|
||||
Release: 1%?dist
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ Nerd Fonts is a project that patches developer targeted fonts with a high
|
||||
number of glyphs (icons).}
|
||||
|
||||
Name: nerd-fonts
|
||||
Version: 3.1.1
|
||||
Release: 1%{?dist}
|
||||
Version: 3.2.1
|
||||
Release: 1%?dist
|
||||
URL: https://nerdfonts.com/
|
||||
Source0: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/readme.md
|
||||
Source1: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/LICENSE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.8
|
||||
Version: 1.0.10
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%define osuresver 2024.321.0
|
||||
%define osuresver 2024.410.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2024.312.1
|
||||
Version: 2024.412.1
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -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
|
||||
@@ -76,8 +76,9 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
|
||||
@@ -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
|
||||
@@ -76,8 +76,9 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
|
||||
@@ -23,7 +23,7 @@ Name: prismlauncher
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.2
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
@@ -61,8 +61,9 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
@@ -131,6 +132,9 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 03 2024 seth <getchoo at tuta dot io> - 8.2-2
|
||||
- move JREs to weak deps, add java 21 for snapshots
|
||||
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.2
|
||||
Version: 8.3
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
@@ -61,8 +61,9 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
@@ -131,6 +132,9 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 03 2024 seth <getchoo at tuta dot io> - 8.2-2
|
||||
- move JREs to weak deps, add java 21 for snapshots
|
||||
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.3.2
|
||||
Version: 3.3.4
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy-docs
|
||||
Version: 4.0.20
|
||||
Version: 4.0.21
|
||||
Release: 1%?dist
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy
|
||||
Version: 4.0.20
|
||||
Version: 4.0.21
|
||||
Release: 1%?dist
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit 78c834dd76f273d8813247647531005a1f7db1a6
|
||||
%global commit 33902d9dbb65fbfdfbd6e3b2a34c6e19eccb762f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.1.1
|
||||
%global commit_date 20240312
|
||||
%global commit_date 20240322
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nighlty
|
||||
Version: %ver^%commit_date.%commit
|
||||
Release: 1%?dist
|
||||
Name: nim-nightly
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 2%?dist
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
License: MIT and BSD
|
||||
URL: https://nim-lang.org
|
||||
@@ -18,6 +19,9 @@ Source4: nimsuggest.1
|
||||
BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre pcre-devel
|
||||
Requires: redhat-rpm-config gcc
|
||||
Conflicts: choosenim
|
||||
# somehow wrong name and never noticed
|
||||
Provides: nim-nightly = %version-%release
|
||||
Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-2
|
||||
|
||||
|
||||
%description
|
||||
@@ -28,6 +32,9 @@ order of priority).
|
||||
|
||||
%package tools
|
||||
Summary: Tools for Nim programming language
|
||||
Provides: nim-nightly-tools = %version-%release
|
||||
Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-2
|
||||
|
||||
%description tools
|
||||
Nim is a compiled, garbage-collected systems programming language with a
|
||||
design that focuses on efficiency, expressiveness, and elegance (in that
|
||||
@@ -36,9 +43,12 @@ 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
|
||||
Provides: nim-nightly-doc = %version-%release
|
||||
Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-2
|
||||
%description doc
|
||||
Nim is a compiled, garbage-collected systems programming language with a
|
||||
design that focuses on efficiency, expressiveness, and elegance (in that
|
||||
@@ -46,12 +56,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 +79,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 +100,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 +130,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
|
||||
|
||||
+24
-23
@@ -2,8 +2,8 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: nim
|
||||
Version: 2.0.2
|
||||
Release: 2%{?dist}
|
||||
Version: 2.0.4
|
||||
Release: 1%?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
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: python3-mpv
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
Version: 1.0.6
|
||||
Release: 1%?dist
|
||||
Summary: Python interface to the awesome mpv media player
|
||||
License: GPL-2.0+ OR LGPL-2.1+
|
||||
URL: https://github.com/jaseg/python-mpv
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global pypi_name protobuf
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 5.26.0
|
||||
Version: 5.26.1
|
||||
Release: 1%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: python3-ruff
|
||||
Version: 0.3.4
|
||||
Version: 0.4.2
|
||||
Release: 1%?dist
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global crate felix
|
||||
|
||||
Name: rust-felix
|
||||
Version: 2.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 2.13.0
|
||||
Release: 1%?dist
|
||||
Summary: Tui file manager with vim-like key mapping
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%global crate gitoxide
|
||||
|
||||
Name: rust-gitoxide
|
||||
Version: 0.33.0
|
||||
Version: 0.35.0
|
||||
Release: 1%?dist
|
||||
Summary: Command-line application for interacting with git repositories
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: nushell
|
||||
Version: 0.91.0
|
||||
Version: 0.92.2
|
||||
Release: 1%?dist
|
||||
Summary: A new type of shell
|
||||
License: MIT
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%global crate oxipng
|
||||
|
||||
Name: rust-oxipng
|
||||
Version: 9.0.0
|
||||
Release: %autorelease
|
||||
Version: 9.1.1
|
||||
Release: 1%?dist
|
||||
Summary: Lossless PNG compression optimizer
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: rnote
|
||||
Version: 0.10.1
|
||||
Version: 0.10.2
|
||||
Release: 1%?dist
|
||||
Summary: Sketch and take handwritten notes.
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
%global crate zellij
|
||||
|
||||
Name: rust-zellij
|
||||
Version: 0.39.2
|
||||
Release: 1%{?dist}
|
||||
Version: 0.40.0
|
||||
Release: 1%?dist
|
||||
Summary: Terminal workspace with batteries included
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%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 20240218
|
||||
%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 241873e2e795be03a4bf38f7c8d3bb3b5bb10e23
|
||||
%global commit a819ab7b36a449c2d5d0104b896c04115f875d05
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
@@ -21,6 +21,7 @@ BuildRequires: vala
|
||||
BuildRequires: systemd-rpm-macros
|
||||
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)
|
||||
@@ -82,6 +83,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
|
||||
|
||||
@@ -123,6 +131,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
|
||||
|
||||
+112
-35
@@ -1,29 +1,36 @@
|
||||
# ref: https://src.fedoraproject.org/rpms/openh264/blob/rawhide/f/openh264.spec
|
||||
# To get the gmp-api commit to use, run:
|
||||
# rm -rf gmp-api;make gmp-bootstrap;cd gmp-api;git rev-parse HEAD
|
||||
# ref: https://src.fedoraproject.org/rpms/openh264
|
||||
%global commit1 e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7
|
||||
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
||||
|
||||
# Filter out soname provides for the mozilla plugin
|
||||
%global __provides_exclude_from ^%{_libdir}/mozilla/plugins/
|
||||
%global openh264_version 2.4.0
|
||||
%global gst_version 1.23.2
|
||||
|
||||
Name: openh264
|
||||
Version: 2.4.1
|
||||
Release: 2%{?dist}
|
||||
Version: %{openh264_version}
|
||||
# Also bump the Release tag for gstreamer1-plugin-openh264 down below
|
||||
Release: 1%{?dist}
|
||||
Summary: H.264 codec library
|
||||
|
||||
License: BSD-2-Clause
|
||||
License: BSD
|
||||
URL: https://www.openh264.org/
|
||||
Source0: https://github.com/cisco/openh264/archive/v%{version}/openh264-%{version}.tar.gz
|
||||
Source0: https://github.com/cisco/openh264/archive/v%{openh264_version}/openh264-%{openh264_version}.tar.gz
|
||||
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
||||
# The source is:
|
||||
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{gst_version}.tar.xz
|
||||
# modified with gst-p-bad-cleanup.sh from SOURCE3
|
||||
Source2: gst-plugins-bad-openh264-%{gst_version}.tar.xz
|
||||
Source3: gst-p-bad-cleanup.sh
|
||||
|
||||
# Don't use pkg-config for finding openh264 as we are building against an in-tree copy
|
||||
Patch2: hardcode-openh264-dep.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gstreamer1-devel >= %{gst_version}
|
||||
BuildRequires: gstreamer1-plugins-base-devel >= %{gst_version}
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: nasm
|
||||
|
||||
# Replace the stub package
|
||||
Obsoletes: noopenh264 < 1:0
|
||||
|
||||
%description
|
||||
OpenH264 is a codec library which supports H.264 encoding and decoding. It is
|
||||
suitable for use in real time applications such as WebRTC.
|
||||
@@ -31,9 +38,7 @@ suitable for use in real time applications such as WebRTC.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
# Replace the stub package
|
||||
Obsoletes: noopenh264-devel < 1:0
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
@@ -42,7 +47,7 @@ developing applications that use %{name}.
|
||||
|
||||
%package -n mozilla-openh264
|
||||
Summary: H.264 codec support for Mozilla browsers
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
Requires: mozilla-filesystem%{?_isa}
|
||||
|
||||
%description -n mozilla-openh264
|
||||
@@ -50,6 +55,18 @@ The mozilla-openh264 package contains a H.264 codec plugin for Mozilla
|
||||
browsers.
|
||||
|
||||
|
||||
%package -n gstreamer1-plugin-openh264
|
||||
Version: %{gst_version}
|
||||
Release: 2%{?dist}
|
||||
Summary: GStreamer H.264 plugin
|
||||
|
||||
%description -n gstreamer1-plugin-openh264
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains the H.264 plugin.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@@ -57,6 +74,12 @@ browsers.
|
||||
tar -xf %{S:1}
|
||||
mv gmp-api-%{commit1} gmp-api
|
||||
|
||||
# Extract gst-plugins-bad-free archive
|
||||
tar -xf %{S:2}
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
%patch2 -p1
|
||||
popd
|
||||
|
||||
|
||||
%build
|
||||
# Update the makefile with our build options
|
||||
@@ -73,6 +96,20 @@ make %{?_smp_mflags}
|
||||
# ... then build the mozilla plugin
|
||||
make plugin %{?_smp_mflags}
|
||||
|
||||
# ... and finally build the gstreamer plugin against the previously built
|
||||
# openh264 libraries
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
CFLAGS="%{build_cflags} -I`pwd`/../codec/api" \
|
||||
CXXFLAGS="%{build_cflags} -I`pwd`/../codec/api" \
|
||||
LDFLAGS="%{build_ldflags} -L`pwd`/.." \
|
||||
%meson \
|
||||
--auto-features=disabled \
|
||||
-D package-name="Fedora gstreamer1-plugin-openh264 package" \
|
||||
-D package-origin="http://www.openh264.org/" \
|
||||
-D openh264=enabled
|
||||
%meson_build
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
@@ -88,32 +125,71 @@ pref("media.gmp-gmpopenh264.version", "system-installed");
|
||||
EOF
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/gmpopenh264.sh << 'EOF'
|
||||
if [[ ":$MOZ_GMP_PATH:" != *":%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed:"* ]]; then
|
||||
MOZ_GMP_PATH="${MOZ_GMP_PATH}${MOZ_GMP_PATH:+:}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed"
|
||||
export MOZ_GMP_PATH
|
||||
fi
|
||||
EOF
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/fish/vendor_conf.d
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/fish/vendor_conf.d/gmpopenh264.fish << 'EOF'
|
||||
set -x --path MOZ_GMP_PATH $MOZ_GMP_PATH
|
||||
set dir %{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
if not contains $dir $MOZ_GMP_PATH
|
||||
set -p MOZ_GMP_PATH $dir
|
||||
end
|
||||
set -e dir
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/gmpopenh264.sh << EOF
|
||||
MOZ_GMP_PATH="${MOZ_GMP_PATH}${MOZ_GMP_PATH:+:}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed"
|
||||
export MOZ_GMP_PATH
|
||||
EOF
|
||||
|
||||
# Remove static libraries
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
# Install the gstreamer plugin
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
%meson_install
|
||||
|
||||
# Register as an AppStream component to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
# project, translated and installed into the right place during `make install`.
|
||||
#
|
||||
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||
#
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-openh264.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2015 Kalev Lember <klember@redhat.com> -->
|
||||
<component type="codec">
|
||||
<id>gstreamer-openh264</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>GStreamer Multimedia Codecs - H.264</name>
|
||||
<summary>Multimedia playback for H.264</summary>
|
||||
<description>
|
||||
<p>
|
||||
This addon includes a codec for H.264 playback and encoding.
|
||||
</p>
|
||||
<p>
|
||||
These codecs can be used to encode and decode media files where the
|
||||
format is not patent encumbered.
|
||||
</p>
|
||||
<p>
|
||||
A codec decodes audio and video for playback or editing and is also
|
||||
used for transmission or storage.
|
||||
Different codecs are used in video-conferencing, streaming media and
|
||||
video editing applications.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">http://gstreamer.freedesktop.org/</url>
|
||||
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
|
||||
<url type="help">http://gstreamer.freedesktop.org/documentation/</url>
|
||||
<url type="donation">http://www.gnome.org/friends/</url>
|
||||
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
# Remove unwanted gst-plugins-bad files
|
||||
rm -rf $RPM_BUILD_ROOT%{_bindir}/gst-transcoder-1.0
|
||||
rm -rf $RPM_BUILD_ROOT%{_includedir}/gstreamer-1.0/
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gstreamer-*.pc
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/libgst*.so*
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/
|
||||
popd
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libopenh264.so.7
|
||||
%{_libdir}/libopenh264.so.%{version}
|
||||
%{_libdir}/libopenh264.so.%{openh264_version}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/wels/
|
||||
@@ -127,9 +203,10 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%dir %{_libdir}/firefox/defaults/pref
|
||||
%{_libdir}/firefox/defaults/pref/gmpopenh264.js
|
||||
%{_libdir}/mozilla/plugins/gmp-gmpopenh264/
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_conf.d
|
||||
%{_datadir}/fish/vendor_conf.d/gmpopenh264.fish
|
||||
|
||||
%files -n gstreamer1-plugin-openh264
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_libdir}/gstreamer-1.0/libgstopenh264.so
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -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,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: alsa-ucm-cros
|
||||
Version: 0.4
|
||||
Release: 1%{?dist}
|
||||
Version: 0.5
|
||||
Release: 1%?dist
|
||||
Summary: ALSA Use Case Manager configuration
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/WeirdTreeThing/alsa-ucm-conf-cros/tree/standalone
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
From db29e1ce9f1a2b6b2ac3ef9df8b8b8524ab895f9 Mon Sep 17 00:00:00 2001
|
||||
From: madomado <madonuko@outlook.com>
|
||||
Date: Mon, 29 Apr 2024 21:29:01 +0800
|
||||
Subject: [PATCH] fix: support esbuild
|
||||
|
||||
---
|
||||
src/process/index.js | 8 +-------
|
||||
1 file changed, 1 insertion(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/process/index.js b/src/process/index.js
|
||||
index 97ea651..f5486ca 100644
|
||||
--- a/src/process/index.js
|
||||
+++ b/src/process/index.js
|
||||
@@ -1,13 +1,7 @@
|
||||
const rgb = (r, g, b, msg) => `\x1b[38;2;${r};${g};${b}m${msg}\x1b[0m`;
|
||||
const log = (...args) => console.log(`[${rgb(88, 101, 242, 'arRPC')} > ${rgb(237, 66, 69, 'process')}]`, ...args);
|
||||
|
||||
-import fs from 'node:fs';
|
||||
-import { dirname, join } from 'path';
|
||||
-import { fileURLToPath } from 'url';
|
||||
-
|
||||
-const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
-const DetectableDB = JSON.parse(fs.readFileSync(join(__dirname, 'detectable.json'), 'utf8'));
|
||||
-
|
||||
+import DetectableDB from './detectable.json' with { type: "json" };
|
||||
import * as Natives from './native/index.js';
|
||||
const Native = Natives[process.platform];
|
||||
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
%define debug_package %nil
|
||||
%global commit c6e23e7eb733ad396d3eebc328404cc656fed581
|
||||
%define __strip /bin/true
|
||||
%global commit cca93db585dedf8acc1423f5e2db215de95c4c3b
|
||||
|
||||
Name: arrpc
|
||||
Version: 3.3.1
|
||||
Release: 1%?dist
|
||||
Version: 3.4.0
|
||||
Release: 2%?dist
|
||||
Summary: Open Discord RPC server for atypical setups
|
||||
License: MIT
|
||||
URL: https://arrpc.openasar.dev
|
||||
Source0: https://github.com/OpenAsar/arrpc/archive/%commit.tar.gz
|
||||
Source1: arrpc.service
|
||||
Patch0: 0001-fix-support-esbuild.patch
|
||||
Requires: glibc
|
||||
BuildRequires: nodejs-npm systemd-rpm-macros
|
||||
|
||||
@@ -20,15 +22,15 @@ server which messages the JSON of exactly what to dispatch with in the client wi
|
||||
allowing small and simple mods or plugins. arRPC is experimental and a work in progress, so expect bugs, etc.
|
||||
|
||||
%prep
|
||||
%autosetup -n arrpc-%commit
|
||||
%autosetup -n arrpc-%commit -p1
|
||||
# patch for using esbuild
|
||||
sed -i -E 's@const server[^\n]+;@async function main() {\0@' src/index.js
|
||||
sed -i -E 's@server\.on[^\n]+;@\0}\nmain();@' src/index.js
|
||||
|
||||
%build
|
||||
npm i esbuild pkg
|
||||
npx esbuild --bundle --platform=node --target=node18 --outdir=dist ./src/index.js
|
||||
npx pkg -t node18-linux-x64 -o arrpc ./dist/index.js
|
||||
npm i esbuild @yao-pkg/pkg
|
||||
npx esbuild --bundle --platform=node --target=node20 --outdir=dist ./src/index.js
|
||||
npx pkg -t node20-linux-x64 -o arrpc ./dist/index.js
|
||||
|
||||
%install
|
||||
install -D -m755 arrpc %buildroot%_bindir/arrpc
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%define _build_id_links none
|
||||
|
||||
Name: sass
|
||||
Version: 1.72.0
|
||||
Version: 1.75.0
|
||||
Release: 1%?dist
|
||||
Summary: The reference implementation of Sass, written in Dart
|
||||
License: MIT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: uxplay
|
||||
Version: 1.68.2
|
||||
Release: 1%{?dist}
|
||||
Version: 1.68.3
|
||||
Release: 1%?dist
|
||||
Summary: AirPlay Unix mirroring server
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/FDH2/UxPlay
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rustdesk-selinux.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# vim: sw=4:ts=4:et
|
||||
# Rustdesk will be added later, but for now this supplements the
|
||||
# external rustdesk package
|
||||
|
||||
%define relabel_files() \
|
||||
restorecon -R /usr/lib/rustdesk/rustdesk; \
|
||||
|
||||
%define selinux_policyver 38.28-1
|
||||
|
||||
Name: rustdesk-selinux
|
||||
Version: 1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: SELinux policy module for rustdesk
|
||||
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
URL: http://rustdesk.com
|
||||
Source0: rustdesk.te
|
||||
|
||||
Requires: policycoreutils, libselinux-utils
|
||||
BuildRequires: policycoreutils, libselinux-utils, checkpolicy
|
||||
Supplements: rustdesk
|
||||
Enhances: rustdesk
|
||||
Requires(post): selinux-policy-base >= %{selinux_policyver}, policycoreutils
|
||||
Requires(postun): policycoreutils
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package installs and sets up the SELinux policy security module for rustdesk.
|
||||
|
||||
%build
|
||||
checkmodule -M -m -o rustdesk.mod %{SOURCE0}
|
||||
semodule_package -o rustdesk.pp -m rustdesk.mod
|
||||
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{_datadir}/selinux/packages
|
||||
install -m 644 rustdesk.pp %{buildroot}%{_datadir}/selinux/packages
|
||||
|
||||
|
||||
|
||||
%post
|
||||
semodule -n -i %{_datadir}/selinux/packages/rustdesk.pp
|
||||
if /usr/sbin/selinuxenabled ; then
|
||||
/usr/sbin/load_policy
|
||||
%relabel_files
|
||||
|
||||
fi;
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
semodule -n -r rustdesk
|
||||
if /usr/sbin/selinuxenabled ; then
|
||||
/usr/sbin/load_policy
|
||||
%relabel_files
|
||||
|
||||
fi;
|
||||
fi;
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%attr(0600,root,root) %{_datadir}/selinux/packages/rustdesk.pp
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 1 2023 Cappy Ishihara <cappy@fyralabs.com> 1.0-1
|
||||
- Initial version
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
module rustdesk 1.0;
|
||||
|
||||
require {
|
||||
type xdm_t;
|
||||
type sudo_exec_t;
|
||||
type cache_home_t;
|
||||
type chronyc_t;
|
||||
type xserver_misc_device_t;
|
||||
type xserver_t;
|
||||
type chronyd_restricted_t;
|
||||
type device_t;
|
||||
type unreserved_port_t;
|
||||
type xserver_port_t;
|
||||
type event_device_t;
|
||||
type init_t;
|
||||
type speech_dispatcher_t;
|
||||
class capability dac_override;
|
||||
class dir create;
|
||||
class unix_dgram_socket sendto;
|
||||
class unix_stream_socket connectto;
|
||||
class tcp_socket name_connect;
|
||||
class chr_file { getattr open read write };
|
||||
class file execute;
|
||||
}
|
||||
|
||||
#============= chronyc_t ==============
|
||||
allow chronyc_t chronyd_restricted_t:unix_dgram_socket sendto;
|
||||
|
||||
#============= init_t ==============
|
||||
allow init_t event_device_t:chr_file open;
|
||||
allow init_t sudo_exec_t:file execute;
|
||||
|
||||
#!!!! This avc can be allowed using the boolean 'nis_enabled'
|
||||
allow init_t unreserved_port_t:tcp_socket name_connect;
|
||||
allow init_t xserver_misc_device_t:chr_file { read write };
|
||||
allow init_t xserver_port_t:tcp_socket name_connect;
|
||||
allow init_t xserver_t:unix_stream_socket connectto;
|
||||
|
||||
#============= speech_dispatcher_t ==============
|
||||
allow speech_dispatcher_t cache_home_t:dir create;
|
||||
allow speech_dispatcher_t self:capability dac_override;
|
||||
|
||||
#============= xdm_t ==============
|
||||
allow xdm_t device_t:chr_file getattr;
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rustdesk.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index be7e2aef..1f0c1eac 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -17,7 +17,7 @@ travis-ci = { repository = "1wilkens/pam" }
|
||||
|
||||
[dependencies]
|
||||
libc = "^0.2"
|
||||
-pam-sys = "^0.5"
|
||||
+pam-sys = { version = "1.0.0-alpha4", path = "./pam-sys" }
|
||||
users = "^0.8"
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -1,23 +0,0 @@
|
||||
From df8080b8b813f33963e8a169f157bff1607d54f4 Mon Sep 17 00:00:00 2001
|
||||
From: David Johnson <davidjohnson@rivosinc.com>
|
||||
Date: Tue, 5 Sep 2023 10:29:20 -0700
|
||||
Subject: [PATCH] Added __gnuc_va_list to the list of blocked types since this
|
||||
type exists on at least some Linux platforms, and prevents pam-sys from
|
||||
compiling without this exclusion.
|
||||
|
||||
---
|
||||
build.rs | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/build.rs b/build.rs
|
||||
index 7ac5cf3..cf44cde 100644
|
||||
--- a/build.rs
|
||||
+++ b/build.rs
|
||||
@@ -29,6 +29,7 @@ fn main() {
|
||||
.blocklist_type("va_list")
|
||||
.blocklist_type("__va_list")
|
||||
.blocklist_type("__builtin_va_list")
|
||||
+ .blocklist_type("__gnuc_va_list")
|
||||
.blocklist_type("__va_list_tag")
|
||||
.blocklist_function("pam_v.*")
|
||||
.blocklist_function("pam_syslog")
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index 9e8224fc..8fbbe54c 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -127,7 +127,7 @@ mouce = { git="https://github.com/fufesou/mouce.git" }
|
||||
evdev = { git="https://github.com/fufesou/evdev" }
|
||||
dbus = "0.9"
|
||||
dbus-crossroads = "0.5"
|
||||
-pam = { git="https://github.com/fufesou/pam", optional = true }
|
||||
+pam = { path = "./pam", optional = true }
|
||||
users = { version = "0.11" }
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
@@ -1,137 +0,0 @@
|
||||
#global pamsys_ver v1.0.0-alpha5
|
||||
#global pamsys 1.0.0-alpha5
|
||||
#global pam_ver v0.7.0
|
||||
#global pam 0.7.0
|
||||
|
||||
%ifarch x86_64
|
||||
%global scarch x64
|
||||
%else
|
||||
%ifarch aarch64
|
||||
%global scarch arm64
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Name: rustdesk
|
||||
Version: 1.2.3
|
||||
Release: 1%{?dist}
|
||||
Summary: An open-source remote desktop, and alternative to TeamViewer.
|
||||
|
||||
Group: System Environment/Base
|
||||
License: GPLv2+
|
||||
URL: http://rustdesk.com
|
||||
Source0: https://github.com/rustdesk/rustdesk/archive/refs/tags/%{version}.tar.gz
|
||||
Source1: https://github.com/c-smile/sciter-sdk/raw/master/bin.lnx/%{scarch}/libsciter-gtk.so
|
||||
%dnl Source2: https://github.com/fufesou/pam/archive/refs/tags/%{pam_ver}.tar.gz
|
||||
%dnl Source3: https://github.com/1wilkens/pam-sys/archive/refs/tags/%{pamsys_ver}.tar.gz
|
||||
%dnl Patch0: pam-deps.diff
|
||||
%dnl Patch1: pam-sys-build.patch
|
||||
%dnl Patch2: rustdesk-deps.diff
|
||||
|
||||
BuildRequires: rust-packaging anda-srpm-macros gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
|
||||
BuildRequires: gstreamer1-devel rust-gstreamer-devel pkgconfig(gstreamer-app-1.0)
|
||||
BuildRequires: libvpx-devel opus-devel libyuv-devel libaom-devel pam-devel clang-devel
|
||||
Requires: gtk3 libxcb libxdo libXfixes alsa-lib libappindicator libvdpau1 libva2 pam gstreamer1-plugins-base
|
||||
|
||||
|
||||
|
||||
%description
|
||||
The best open-source remote desktop client software, written in Rust.
|
||||
|
||||
%prep
|
||||
%setup -q -n rustdesk-%version
|
||||
%{dnl:
|
||||
%patch 2 -p1
|
||||
tar xf %SOURCE2
|
||||
mv pam-%pam pam
|
||||
cd pam
|
||||
git apply %PATCH0
|
||||
tar xf %SOURCE3
|
||||
mv pam-sys-%pamsys pam-sys
|
||||
cd pam-sys
|
||||
git apply %PATCH1
|
||||
cd ../..
|
||||
}
|
||||
%cargo_prep_online
|
||||
|
||||
|
||||
%build
|
||||
%cargo_build -a
|
||||
%global __python %{__python3}
|
||||
|
||||
|
||||
%install
|
||||
%cargo_install -a
|
||||
mkdir -p %buildroot/usr/lib/rustdesk/
|
||||
mkdir -p %buildroot%_datadir/rustdesk/files/
|
||||
mkdir -p %buildroot%_datadir/icons/hicolor/{256x256,scalable}/apps/
|
||||
install %SOURCE1 %buildroot/usr/lib/rustdesk/libsciter-gtk.so
|
||||
install res/rustdesk.service %buildroot%_datadir/rustdesk/files/
|
||||
install res/128x128@2x.png %buildroot%_datadir/icons/hicolor/256x256/apps/rustdesk.png
|
||||
install res/scalable.svg %buildroot%_datadir/icons/hicolor/scalable/apps/rustdesk.svg
|
||||
install res/rustdesk.desktop %buildroot%_datadir/rustdesk/files/
|
||||
install res/rustdesk-link.desktop %buildroot%_datadir/rustdesk/files/
|
||||
install -d %buildroot%_datadir/applications/
|
||||
install res/rustdesk.desktop %buildroot%_datadir/applications/
|
||||
install res/rustdesk-link.desktop %buildroot%_datadir/applications/
|
||||
install -d %buildroot%_unitdir
|
||||
install res/rustdesk.service %buildroot%_unitdir/rustdesk.service
|
||||
|
||||
%files
|
||||
%_bindir/rustdesk
|
||||
%_bindir/naming
|
||||
/usr/lib/rustdesk/libsciter-gtk.so
|
||||
%_datadir/rustdesk/files/rustdesk.service
|
||||
%_datadir/icons/hicolor/256x256/apps/rustdesk.png
|
||||
%_datadir/icons/hicolor/scalable/apps/rustdesk.svg
|
||||
%_datadir/rustdesk/files/rustdesk.desktop
|
||||
%_datadir/rustdesk/files/rustdesk-link.desktop
|
||||
|
||||
%_datadir/applications/rustdesk.desktop
|
||||
%_datadir/applications/rustdesk-link.desktop
|
||||
%_unitdir/rustdesk.service
|
||||
|
||||
|
||||
%pre
|
||||
# can do something for centos7
|
||||
case "$1" in
|
||||
1)
|
||||
# for install
|
||||
;;
|
||||
2)
|
||||
# for upgrade
|
||||
systemctl stop rustdesk || true
|
||||
;;
|
||||
esac
|
||||
|
||||
%post
|
||||
systemctl daemon-reload
|
||||
systemctl enable rustdesk
|
||||
systemctl start rustdesk
|
||||
update-desktop-database
|
||||
|
||||
%preun
|
||||
case "$1" in
|
||||
0)
|
||||
# for uninstall
|
||||
systemctl stop rustdesk || true
|
||||
systemctl disable rustdesk || true
|
||||
;;
|
||||
1)
|
||||
# for upgrade
|
||||
;;
|
||||
esac
|
||||
|
||||
%postun
|
||||
case "$1" in
|
||||
0)
|
||||
# for uninstall
|
||||
update-desktop-database
|
||||
;;
|
||||
1)
|
||||
# for upgrade
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("rustdesk/rustdesk"));
|
||||
@@ -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,10 +1,10 @@
|
||||
Name: limine
|
||||
Version: 7.2.0
|
||||
Version: 7.4.1
|
||||
Release: 1%?dist
|
||||
Summary: Modern, advanced, portable, multiprotocol bootloader
|
||||
License: BSD-2-Clause
|
||||
URL: https://limine-bootloader.org
|
||||
Source0: https://github.com/limine-bootloader/limine/releases/download/v%version/limine-%version.tar.xz
|
||||
Source0: https://github.com/limine-bootloader/limine/releases/download/v%version/limine-%version.tar.gz
|
||||
BuildRequires: nasm mtools llvm lld clang make
|
||||
|
||||
%description
|
||||
|
||||
@@ -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,7 +1,7 @@
|
||||
%global coreutils_ver 9.3
|
||||
|
||||
Name: uutils-coreutils
|
||||
Version: 0.0.25
|
||||
Version: 0.0.26
|
||||
Release: 1%?dist
|
||||
Summary: Cross-platform Rust rewrite of the GNU coreutils
|
||||
License: MIT
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "wineasio.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.global("tag", gh("wineasio/wineasio"))
|
||||
@@ -0,0 +1,74 @@
|
||||
Name: wineasio
|
||||
|
||||
%global tag v1.2.0
|
||||
# macro to remove the v from version
|
||||
%global version_tag %(echo %{tag} | sed 's/^v//')
|
||||
%global forgeurl https://github.com/wineasio/%{name}
|
||||
|
||||
|
||||
# While this package should have debug headers, we have build issues with them
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
Version: %{version_tag}
|
||||
Release: %autorelease
|
||||
Summary: Wine ASIO driver
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
URL: %{forgeurl}
|
||||
Source: %{forgeurl}/releases/download/%{tag}/wineasio-%{version_tag}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: wine-devel
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
WineASIO provides an ASIO to JACK driver for WINE.
|
||||
ASIO is the most common Windows low-latency driver, so is commonly used in audio workstation programs.
|
||||
|
||||
You can, for example, use with FLStudio under GNU/Linux systems (together with JACK).
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
|
||||
# remove all cflags because it builds just fine without them, causes issues with asm when the default ones are
|
||||
# present though
|
||||
|
||||
export CFLAGS=""
|
||||
|
||||
make clean
|
||||
make 64
|
||||
|
||||
|
||||
%install
|
||||
install -Dm755 build64/wineasio64.dll.so %{buildroot}%{_libdir}/wine/%{_arch}-unix/wineasio64.dll.so
|
||||
install -Dm755 build64/wineasio64.dll %{buildroot}%{_libdir}/wine/%{_arch}-windows/wineasio64.dll
|
||||
install -Dm755 wineasio-register %{buildroot}%{_bindir}/wineasio-register
|
||||
|
||||
pushd gui
|
||||
|
||||
%make_install
|
||||
|
||||
popd
|
||||
|
||||
%files
|
||||
%license COPYING.LIB COPYING.GUI
|
||||
%doc README.md
|
||||
|
||||
%{_libdir}/wine/%{_arch}-unix/wineasio64.dll.so
|
||||
%{_libdir}/wine/%{_arch}-windows/wineasio64.dll
|
||||
%{_bindir}/wineasio-register
|
||||
%{_bindir}/wineasio-settings
|
||||
%{_datadir}/wineasio/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 11 2024 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
- Initial Release
|
||||
@@ -4,7 +4,7 @@ Version: 38
|
||||
# The dist number is the version here, it is intentionally not repeated in the release
|
||||
%global dist %nil
|
||||
|
||||
Release: %autorelease
|
||||
Release: 2
|
||||
Summary: A package to obsolete retired packages, based on Fedora's equivalent package
|
||||
|
||||
License: LicenseRef-Fedora-Public-Domain
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global tag 2023-06-20
|
||||
%global tag 2024-04-28
|
||||
|
||||
Name: fluent-theme
|
||||
Version: 20230620
|
||||
Release: 1%{?dist}
|
||||
Version: 20240428
|
||||
Release: 1%?dist
|
||||
Summary: Fluent design theme for GNOME/GTK based desktop environments
|
||||
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: katsu
|
||||
Version: 0.2.0
|
||||
Release: 1%{?dist}
|
||||
Version: 0.2.1
|
||||
Release: 1%?dist
|
||||
Summary: The vicious image builder
|
||||
License: MIT
|
||||
URL: https://github.com/FyraLabs/katsu
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so
|
||||
|
||||
Name: electron
|
||||
Version: 29.1.5
|
||||
Version: 29.3.0
|
||||
Release: 1%?dist
|
||||
Summary: Build cross platform desktop apps with web technologies
|
||||
License: MIT
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "espanso-wayland.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
Name: espanso-wayland
|
||||
Version: 2.2.1
|
||||
Release: 2%?dist
|
||||
Summary: Cross-platform Text Expander written in Rust for Wayland
|
||||
License: GPL-3.0
|
||||
URL: https://espanso.org
|
||||
Source0: https://github.com/espanso/espanso/archive/refs/tags/v%version.tar.gz
|
||||
Requires: libxkbcommon dbus libnotify wxGTK wl-clipboard
|
||||
Conflicts: espanso-x11
|
||||
BuildRequires: anda-srpm-macros cargo-rpm-macros gcc gcc-c++
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: wxGTK-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%description
|
||||
A cross-platform Text Expander written in Rust. A text expander is a program
|
||||
that detects when you type a specific keyword and replaces it with something
|
||||
else.
|
||||
|
||||
This package includes the Wayland version of espanso.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n espanso-%version
|
||||
cd espanso
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
cd espanso
|
||||
%cargo_build -n -f vendored-tls,"wayland" -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_bindir
|
||||
install -Dm755 target/rpm/espanso %buildroot%_bindir
|
||||
|
||||
%files
|
||||
%caps(cap_dac_override=pe) %_bindir/espanso
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("espanso/espanso"));
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "espanso-x11.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
Name: espanso-x11
|
||||
Version: 2.2.1
|
||||
Release: 2%?dist
|
||||
Summary: Cross-platform Text Expander written in Rust for X11
|
||||
License: GPL-3.0
|
||||
URL: https://espanso.org
|
||||
Source0: https://github.com/espanso/espanso/archive/refs/tags/v%version.tar.gz
|
||||
Requires: libxkbcommon dbus libnotify wxGTK xdotool xclip libxcb
|
||||
Conflicts: espanso-wayland
|
||||
BuildRequires: anda-srpm-macros cargo-rpm-macros gcc gcc-c++
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: wxGTK-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%description
|
||||
A cross-platform Text Expander written in Rust. A text expander is a program
|
||||
that detects when you type a specific keyword and replaces it with something
|
||||
else.
|
||||
|
||||
This package includes the X11 version of espanso.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n espanso-%version
|
||||
cd espanso
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
cd espanso
|
||||
%cargo_build -n -f vendored-tls,"default" -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_bindir
|
||||
install -Dm755 target/rpm/espanso %buildroot%_bindir
|
||||
|
||||
%files
|
||||
%caps(cap_dac_override=pe) %_bindir/espanso
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("espanso/espanso"));
|
||||
@@ -1,8 +1,8 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: fuc
|
||||
Version: 2.0.0
|
||||
Release: 1%{?dist}
|
||||
Version: 2.1.0
|
||||
Release: 1%?dist
|
||||
Summary: Modern, performance focused unix commands
|
||||
URL: https://github.com/SUPERCILEX/fuc
|
||||
Source0: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/README.md
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
%global forgeurl https://github.com/GitCredentialManager/git-credential-manager
|
||||
|
||||
Name: gcm-core
|
||||
Version: 2.4.1
|
||||
Version: 2.5.0
|
||||
%forgemeta
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Secure, cross-platform Git credential storage
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
%global pypi_version 0.0.3
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.0.3
|
||||
Version: 0.2.0
|
||||
Provides: python3-%{pypi_name} = %{version}-%{release}
|
||||
Provides: %{pypi_name} = %{version}-%{release}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Ultramarine Quickstart Tool
|
||||
|
||||
License: None
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user