mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
264 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 11e15e00dc | |||
| 24f4599fca | |||
| bdbc3d5d79 | |||
| 18d7543306 | |||
| 54b16c7752 | |||
| 87a1d564d4 | |||
| f94d510752 | |||
| ae0a382eb7 | |||
| 6d801bdac0 | |||
| 39db7eae6c | |||
| 4321f232b6 | |||
| e0c9725ded | |||
| 7cf078808c | |||
| 1d2c73a471 | |||
| 0e757e5391 | |||
| 9fc0aef585 | |||
| d2229fdc9e | |||
| b501e87b47 | |||
| ca68e9238d | |||
| 74274eb929 | |||
| 9dfd7f137e | |||
| 3d5954f19d | |||
| 1f44be8f51 | |||
| 3dd43608c0 | |||
| a8bab27087 | |||
| 22165c0adf | |||
| c698871e62 | |||
| ca57b018d9 | |||
| 4372ba1716 | |||
| 56fb185910 | |||
| 84781aecaa | |||
| 48f5f8f613 | |||
| cbac8b61fc | |||
| f1e46e95a6 | |||
| 443c97f53a | |||
| 1667a8f472 | |||
| f1d61dd4c4 | |||
| bdb73cac18 | |||
| fe942ff32f | |||
| ce8510d2fd | |||
| 035092d5d2 | |||
| 41dbafa937 | |||
| 9ac9b8432b | |||
| d85115a3a8 | |||
| 270755baa9 | |||
| dc33ac2d85 | |||
| 7af1a904f3 | |||
| 3f822e166b | |||
| 3fe7dd9f8a | |||
| 931e4e57ba | |||
| fafa9ffc5c | |||
| 31c07dd101 | |||
| a1bd9debde | |||
| 9422a39a26 | |||
| 61422a7163 | |||
| 69a628dd45 | |||
| 79626af972 | |||
| 0814d641dc | |||
| cbc958f17b | |||
| 52b5fa3796 | |||
| 720f75293c | |||
| 6d01d415b7 | |||
| adae8ee1f2 | |||
| c7bff4530e | |||
| 0fadbd2b5d | |||
| 6940417d24 | |||
| e2226f7b48 | |||
| 9e6b8df98e | |||
| 424e9e8b71 | |||
| be8c286f4b | |||
| a440a6b8a0 | |||
| 5baf57d689 | |||
| cddaa0c0ec | |||
| f89b865f6d | |||
| 5837b9afa3 | |||
| 78800223eb | |||
| b4c5cc2ad1 | |||
| 9c8a59d2e8 | |||
| ccdb5a6a0a | |||
| bd8293b9da | |||
| 64988cf720 | |||
| ffa3542038 | |||
| 570dbc0c1e | |||
| 6fefa51f4c | |||
| d76922a195 | |||
| 9d281429fd | |||
| a0f6d6157c | |||
| 2cf0005d34 | |||
| 25ccf85ab1 | |||
| c5bfe8393b | |||
| 0f6e7faa79 | |||
| b55b5d70f6 | |||
| 09307d4035 | |||
| 744a908764 | |||
| 30be063c78 | |||
| fc37db11bf | |||
| 0173b41c31 | |||
| bfb2e24eca | |||
| 4fa6e52dcc | |||
| 7fe4c03885 | |||
| bf9b8a52c5 | |||
| 609c7cd370 | |||
| c11d53ae72 | |||
| 615fc2518c | |||
| 5fabcd78a2 | |||
| 6c07d7aba6 | |||
| df2414dc93 | |||
| 921a31b437 | |||
| 106de09521 | |||
| f5cdebb3d0 | |||
| eff213324a | |||
| 81655e8c1c | |||
| 060de98058 | |||
| 39d4121fca | |||
| eb9aa8fce1 | |||
| eeb1b095ce | |||
| 438312a6f4 | |||
| 544bebb203 | |||
| 7eea312424 | |||
| 7c8b826b61 | |||
| 4ddab6f662 | |||
| e36659cf1a | |||
| 2913badea4 | |||
| 014fecee89 | |||
| d728231a7b | |||
| a3538ff5b9 | |||
| 877be2a600 | |||
| 1d06826d66 | |||
| 7a73df9531 | |||
| dbcbbbf140 | |||
| f0bf5ff9de | |||
| a69b58fd64 | |||
| f06074c5a1 | |||
| 10e411df9b | |||
| c4cfbf61a9 | |||
| d38adfecaf | |||
| 9fa9043f60 | |||
| a92eb4dd6d | |||
| 4324e0478c | |||
| bfd852a3fd | |||
| 3fd355f88e | |||
| f3c423c2b6 | |||
| f65ea5744c | |||
| b6d5e66d3d | |||
| 55d2049233 | |||
| 0776c8dcc8 | |||
| 8a509f89b2 | |||
| a162c1d2b8 | |||
| 1ec3f677fd | |||
| 4060600471 | |||
| ad17ab8d0f | |||
| d26c57dadb | |||
| 1311c0baa4 | |||
| c7db296f15 | |||
| b61a4b6a4c | |||
| d613cfbeb1 | |||
| f18b1c216b | |||
| ea06f6319c | |||
| b5783935e8 | |||
| d87faa1bd8 | |||
| c65223136d | |||
| ba154c550b | |||
| 4d50bec2d0 | |||
| 43906c7f53 | |||
| 378edc7887 | |||
| 0d57163471 | |||
| 600f4d32d1 | |||
| 8cdf385635 | |||
| 5651525ac7 | |||
| a01cb2b54b | |||
| bf1a200012 | |||
| 5d071f35f1 | |||
| 576fe0ccc8 | |||
| 2d47bbc4fc | |||
| 46f378fd89 | |||
| f92f9b3c19 | |||
| d892083493 | |||
| b16282e898 | |||
| 2624222b3b | |||
| 12421c5713 | |||
| c87cea8430 | |||
| c038398488 | |||
| 49ade8f074 | |||
| 9d4d11dcfc | |||
| 36e88d7c00 | |||
| f8b91358c3 | |||
| 9c572b13a8 | |||
| 03b3702dc7 | |||
| 9b6a326784 | |||
| 2a5a5b5179 | |||
| 402ef36121 | |||
| 44dae7ccf7 | |||
| 2a29b72c9e | |||
| c8e00cc37c | |||
| 3fcfddb8a7 | |||
| 1ab9787f2d | |||
| 8df58161af | |||
| 3719992fdb | |||
| 7f1ea79ca6 | |||
| 7b40d0a95a | |||
| a6c9ffebc6 | |||
| bc2e49ac6b | |||
| fc211836c5 | |||
| f438ffbbfd | |||
| 3221727b23 | |||
| a30c5be489 | |||
| ce54d89d2b | |||
| ab57f9a712 | |||
| d0eebfd570 | |||
| 8ce667f841 | |||
| 80c7b2f657 | |||
| 558af1e330 | |||
| c5eab1be0a | |||
| 939a87f8a3 | |||
| afa56a641c | |||
| 5dbded1d58 | |||
| 55c60a8167 | |||
| 601280d8d6 | |||
| 336079567a | |||
| e71039339f | |||
| 90a644b57a | |||
| 49f44f04c7 | |||
| 5b65ac303d | |||
| 43c98f1732 | |||
| 9b413030fa | |||
| 5ed629d5cd | |||
| 426b3ad685 | |||
| 650701e91f | |||
| 54fba4df32 | |||
| f9c40be2c3 | |||
| 6c7451ce44 | |||
| 8aec01f7c8 | |||
| be7d1a4202 | |||
| 326b008200 | |||
| c1faaa91c0 | |||
| 31bc8d9075 | |||
| b2c2c9f60c | |||
| c922075e19 | |||
| 7715f86e5b | |||
| dcbd9aa9b4 | |||
| 9f96bc3368 | |||
| 53be6911b1 | |||
| 8c77722346 | |||
| 00622be654 | |||
| 7c12f7e8bc | |||
| b1c1a3cd58 | |||
| fb8c0351b9 | |||
| 5fe3abb446 | |||
| 7808f55f70 | |||
| 3ef3b3bcc3 | |||
| ec16f00179 | |||
| 632dc39aa1 | |||
| 68887c5e69 | |||
| 00551efcb3 | |||
| f2cfa1facf | |||
| 7c60903644 | |||
| d7f518762a | |||
| ca4a951ee5 | |||
| 632d3729ce | |||
| b81159d74c | |||
| 3e7630120a | |||
| 05c6ceb518 | |||
| 1229238cbd | |||
| a8293cf0e6 |
@@ -68,7 +68,6 @@ jobs:
|
||||
terra${{ matrix.version }} anda-build/rpm/rpms/*
|
||||
|
||||
- name: Upload source packages to subatomic
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
|
||||
@@ -46,8 +46,8 @@ jobs:
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f37 || true
|
||||
copy_over f38 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -47,8 +47,8 @@ jobs:
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f37 || true
|
||||
copy_over f38 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
# Repository
|
||||
/.github @lleyton
|
||||
/.devcontainer @lleyton
|
||||
/.gitignore @windowsboy111
|
||||
/CODE_OF_CONDUCT.md @lleyton
|
||||
/CONTRIBUTING.md @lleyton
|
||||
/LICENSE @lleyton
|
||||
/README.md @windowsboy111
|
||||
/SECURITY.md @lleyton
|
||||
/anda.hcl @lleyton
|
||||
/comps.xml @lleyton
|
||||
|
||||
# Package maintainers
|
||||
/anda/lib/libbismuth @lainsce
|
||||
/anda/lib/libhelium @lainsce
|
||||
/anda/others/tau-helium @lainsce
|
||||
/anda/others/tau-hydrogen @lainsce
|
||||
|
||||
/anda/tools/melody @lleyton
|
||||
/anda/go/curlie @lleyton
|
||||
|
||||
/anda/games/prismlauncher @getchoo
|
||||
/anda/games/prismlauncher-nightly @getchoo
|
||||
/anda/games/prismlauncher-qt5-nightly @getchoo
|
||||
/anda/games/prismlauncher-qt5 @getchoo
|
||||
|
||||
/anda/srpm-macros @korewaChino
|
||||
/anda/rust/starship @korewaChino
|
||||
/anda/rust/zellij @korewaChino
|
||||
/anda/audio/distrho @korewaChino
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
[](https://repology.org/repository/terra_38)
|
||||
[](https://repology.org/repository/terra_39)
|
||||
[](https://repology.org/repository/terra_40)
|
||||
[](https://repology.org/repository/terra_rawhide)
|
||||
|
||||
Terra is a rolling-release Fedora repository for all the software you need.
|
||||
With Terra, you can install the latest packages knowing that quality and security are assured.
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: authy
|
||||
Version: 2.4.2
|
||||
Version: 2.5.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Two factor authentication desktop application
|
||||
License: Unlicense
|
||||
URL: https://authy.com/
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_22.snap
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap
|
||||
Requires: gtk3
|
||||
Requires: nss
|
||||
BuildRequires: squashfs-tools desktop-file-utils
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.276
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.276
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.326
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
Source0: https://dl-canary.discordapp.net/apps/linux/%{version}/discord-canary-%{version}.tar.gz
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.42
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.67
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.67
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.76
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.42
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.47
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.5.3
|
||||
Version: 0.6.1
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
@@ -38,9 +38,8 @@ Keywords=Music;Jellyfin;Audio;Stream;Sonixd
|
||||
EOF
|
||||
|
||||
%build
|
||||
npm i --legacy-peer-deps update-browserslist-db@latest
|
||||
npm audit fix --force
|
||||
npx update-browserslist-db@latest
|
||||
npm install --legacy-peer-deps
|
||||
npm run postinstall
|
||||
npm run build
|
||||
%ifarch x86_64
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
%global commit 443c2487d7dd1039e297abad6398135b3c463018
|
||||
%global commit 2af3a6e294e829191dfa0c41396ecd6384d405d9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 0.37.0
|
||||
%global commit_date 20240327
|
||||
%global ver v0.37.0
|
||||
|
||||
Name: mpv-nightly
|
||||
Version: %ver^%shortcommit
|
||||
Release: 1%{?dist}
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Summary: Movie player playing most video formats and DVDs
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
let o = req("https://api.github.com/repos/mpv-player/mpv/commits/HEAD").json();
|
||||
rpm.global("commit", o.sha);
|
||||
rpm.global("ver", gh("mpv-player/mpv"));
|
||||
rpm.release();
|
||||
rpm.global("commit", gh_commit("mpv-player/mpv"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("mpv-player/mpv"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 1.5.0
|
||||
Release: 1%{?dist}
|
||||
Version: 1.5.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
|
||||
URL: https://github.com/Vencord/Vesktop
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global nodev 18.13.0
|
||||
%global npmv 8.19.3
|
||||
%global ver 0.15.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-0ubuntu6
|
||||
%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,62 +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
|
||||
|
||||
Name: switchboard-plug-wallet
|
||||
Summary: Switchboard Wallet Plug
|
||||
Version: %(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,3 +0,0 @@
|
||||
let req = new_req("https://api.github.com/repos/elementary/switchboard-plug-wallet/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
rpm.global("commit", json(req.get()).sha);
|
||||
+3
-2
@@ -1,12 +1,13 @@
|
||||
# from Fedora upstream
|
||||
%global extension pop-shell
|
||||
%global uuid %{extension}@system76.com
|
||||
%global commit cf3c932b55d5c247906efe9d81f988ee092d9f51
|
||||
%global commit 5fa3a500152b5131afbcbb4cfcd4a0db2fd0f063
|
||||
%global shortcommit %{lua:print(macros.commit:sub(1,7))}
|
||||
%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,4 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", get("https://api.github.com/repos/pop-os/shell/commits/HEAD").json().sha);
|
||||
rpm.global("ver", gh("pop-os/shell"));
|
||||
rpm.global("commit", gh_commit("pop-os/shell"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("pop-os/shell"));
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# https://github.com/FyshOS/fynedesk
|
||||
%global goipath github.com/FyshOS/fynedesk
|
||||
Version: 0.3.0
|
||||
Version: 0.4.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -17,7 +17,7 @@ A full desktop environment for Linux/Unix using Fyne.}
|
||||
%global godocs AUTHORS README.md CHANGELOG.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: A full desktop environment for Linux/Unix using Fyne
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 8328f9a6863b4bae48adfdbc29b32b4c571c6530
|
||||
%global commit b4b16f61f1d69c994701f149e54335c40b9b201d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
@@ -9,7 +9,7 @@ Name: latte-dock-nightly
|
||||
Version: 0.10.0^%{snapshot_info}
|
||||
|
||||
%forgemeta
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Latte is a dock based on plasma frameworks
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
|
||||
@@ -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,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-download-manager
|
||||
%global commit 6ab489306b1d76628a1bcf413debba1c238ec703
|
||||
%global commit 682c4928a91da598767e0be2496d9c35af7db035
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-download-manager
|
||||
Version: 0.5.1
|
||||
Version: 0.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Upload Download Manager for Lomiri
|
||||
License: LGPLv3
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25034025/repository/tags").json_arr()[0];
|
||||
let o = get("https://gitlab.com/api/v4/projects/17088252/repository/tags").json_arr()[0];
|
||||
let f = rpm.f;
|
||||
rpm.version(o.name);
|
||||
// check if changed
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit aec0f9a6e24d431d3bd2757a6827b4ed338c317a
|
||||
%global commit bac3baa2876c61fe2963ad5e861f574d4b9c4402
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Version: 1.1.0
|
||||
Release: 1%?dist
|
||||
Summary: The system settings application for Lomiri
|
||||
License: GPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
Source0: %{url}/-/archive/%commit/lomiri-system-settings-%commit.tar.gz
|
||||
Patch0: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/1001_use-maliit-keyboard-for-language-plugin.patch
|
||||
Patch1: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/2001_disable-current-language-switching.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit 938ee91945d6e7c59d6312dd4e8c2f2594d8305c
|
||||
%global commit 454d980c352f3cea725458ff8a3d04ae686d2a96
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
rpm.version(get("https://gitlab.com/api/v4/projects/19057685/repository/tags").json_arr()[0].name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/19057685/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("19057685"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", gitlab_commit("19057685"));
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
rpm.version(get("https://gitlab.com/api/v4/projects/17424894/repository/tags").json_arr()[0].name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/17424894/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("17424894"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/17424894/repository/commits").json_arr()[0].id);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit a083a14fe65105fc1996ceb1b92165ca3b0cb94e
|
||||
%global commit 426b9f3436938f149490cee340e1fab79ee7b650
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25716028/repository/tags").json_arr()[0];
|
||||
rpm.version(o.name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25716028/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("25716028"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25716028/repository/commits").json_arr()[0].id);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global rn 1
|
||||
%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-0ubuntu4.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: ayatana-indicator-datetime
|
||||
Summary: A GTK implementation of the StatusNotifierItem Specification
|
||||
Version: 23.10.1
|
||||
Version: 24.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-datetime
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-session
|
||||
Summary: Ayatana Indicator Session Applet
|
||||
Version: 23.10.3
|
||||
Release: 1%{?dist}
|
||||
Version: 24.2.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-session
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -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,8 +12,8 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.85.2.24019
|
||||
Release: 1%{?dist}
|
||||
Version: 1.87.2.24072
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
URL: https://vscodium.com/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: flutter
|
||||
Version: 3.19.0.0.4.pre
|
||||
Release: 1%{?dist}
|
||||
Version: 3.19.4
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
URL: https://flutter.dev
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json();
|
||||
rpm.version(obj.releases[0].version);
|
||||
for release in obj.releases {
|
||||
if release.channel == "stable" {
|
||||
rpm.version(release.version);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
# https://github.com/containerd/containerd
|
||||
%global goipath github.com/containerd/containerd
|
||||
Version: 1.7.13
|
||||
Version: 1.7.14
|
||||
|
||||
%gometa
|
||||
|
||||
@@ -26,7 +26,7 @@ low-level storage and network attachments, etc.}
|
||||
BUILDING.md README.md RELEASES.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Open and reliable container runtime
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: moby-buildx
|
||||
Version: 0.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 0.13.1
|
||||
Release: 1%?dist
|
||||
Summary: Docker CLI plugin for extended build capabilities with BuildKit
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: moby-compose
|
||||
Version: 2.24.5
|
||||
Release: 1%{?dist}
|
||||
Version: 2.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: iosevka-fusion-fonts
|
||||
Version: 28.1.0
|
||||
Release: 1%{?dist}
|
||||
Version: 29.0.4
|
||||
Release: 1%?dist
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
License: OFL-1.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
Source1: %url/releases/download/v%version/Sarasa-SuperTTC-%version.7z
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
%define osuresver 2024.207.0
|
||||
%define osuresver 2024.321.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2024.131.0
|
||||
Release: 1%{?dist}
|
||||
Version: 2024.312.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
|
||||
URL: https://osu.ppy.sh/
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit b0b77c217801248e29f23acab82f2ff74ed82ea9
|
||||
%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 %(date '+%Y%m%d')
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
@@ -32,8 +32,8 @@ Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Version: 9.0^%{snapshot_info}
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
rpm.global("commit", gh_commit("PrismLauncher/PrismLauncher"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.global("commit_date", date());
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit b0b77c217801248e29f23acab82f2ff74ed82ea9
|
||||
%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 %(date '+%Y%m%d')
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_with qt6
|
||||
@@ -32,8 +32,8 @@ Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Version: 9.0^%{snapshot_info}
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
rpm.global("commit", gh_commit("PrismLauncher/PrismLauncher"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.global("commit_date", date());
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,8 @@ Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.2
|
||||
Release: 1%?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
|
||||
|
||||
@@ -22,8 +22,8 @@ Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.2
|
||||
Release: 1%?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
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.2.6
|
||||
Release: 1%{?dist}
|
||||
Version: 3.3.2
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
URL: https://dart.dev/
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
# https://github.com/u-root/u-root
|
||||
%global goipath github.com/u-root/u-root
|
||||
Version: 0.13.0
|
||||
Version: 0.14.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -28,7 +28,7 @@ file system (initramfs) containing a busybox-like set of tools written in Go.}
|
||||
tools/golang_patched_dce/README.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: A fully Go userland with Linux bootloaders! u-root can create a one-binary root file system (initramfs) containing a busybox-like set of tools written in Go
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/textoutput
|
||||
%global goipath github.com/xyproto/textoutput
|
||||
Version: 1.16.2
|
||||
Version: 1.16.3
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -14,7 +14,7 @@ Version: 1.16.2
|
||||
%global godocs README.md
|
||||
|
||||
Name: golang-%{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: :a: Output text, with and without colors
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/vt100
|
||||
%global goipath github.com/xyproto/vt100
|
||||
Version: 1.14.2
|
||||
Version: 1.14.3
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -14,7 +14,7 @@ Version: 1.14.2
|
||||
%global godocs README.md cmd/widget/README.md
|
||||
|
||||
Name: golang-%{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: VT100 Terminal Package
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: groovy-docs
|
||||
Version: 4.0.18
|
||||
Release: 1%{?dist}
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: groovy
|
||||
Version: 4.0.18
|
||||
Release: 1%{?dist}
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: kotlin-native
|
||||
Version: 1.9.22
|
||||
Release: 1%{?dist}
|
||||
Version: 1.9.23
|
||||
Release: 1%?dist
|
||||
Summary: LLVM backend for the Kotlin compiler
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Name: kotlin
|
||||
Version: 1.9.22
|
||||
Release: 1%{?dist}
|
||||
Version: 1.9.23
|
||||
Release: 1%?dist
|
||||
Summary: Statically typed programming language
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "choosenim.spec"
|
||||
}
|
||||
|
||||
@@ -1,33 +1,31 @@
|
||||
Name: choosenim
|
||||
Version: 0.8.4
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Easily install and manage multiple versions of the Nim programming language
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/dom96/choosenim
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
BuildRequires: nim mold
|
||||
BuildRequires: nim git
|
||||
|
||||
%description
|
||||
choosenim installs the Nim programming language from official downloads and
|
||||
sources, enabling you to easily switch between stable and development compilers.
|
||||
|
||||
%prep
|
||||
%autosetup -n choosenim-%version
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
nimble setup -y
|
||||
nim c -t:-fPIE -l:-pie -d:release -t:"$CFLAGS" -l:"$LDFLAGS" src/choosenim
|
||||
|
||||
%install
|
||||
mold -run nimble build -t:-fPIE -l:-pie
|
||||
install -Dm755 src/choosenim %buildroot%_bindir/choosenim
|
||||
|
||||
|
||||
%files
|
||||
%doc readme.md
|
||||
%license LICENSE
|
||||
%{_bindir}/choosenim
|
||||
%_bindir/choosenim
|
||||
|
||||
%changelog
|
||||
* Sat Jun 17 2023 windowsboy111 <windowsboy111@fyralabs.com> - 0.8.4-3
|
||||
- Use nim to compile instead of prebuilt binaries.
|
||||
|
||||
* Mon Jan 9 2023 windowsboy111 <windowsboy111@fyralabs.com> - 0.8.4-1
|
||||
- Initial Package.
|
||||
%autochangelog
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit a8c168c1688f64e8bd3acba9afee9d02bb03c649
|
||||
%global commit 4c38569229ade43d9570f92e08637f2bcd66bdc5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.1.1
|
||||
%global commit_date 20240326
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nighlty
|
||||
Version: %ver^%commit
|
||||
Release: 1%{?dist}
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
License: MIT and BSD
|
||||
URL: https://nim-lang.org
|
||||
@@ -35,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
|
||||
@@ -45,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"
|
||||
@@ -65,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}"
|
||||
@@ -81,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
|
||||
@@ -107,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
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
if filters.contains("nightly") {
|
||||
let comp = get("https://raw.githubusercontent.com/nim-lang/Nim/devel/lib/system/compilation.nim");
|
||||
let maj = find("\\n\\s*NimMajor.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let min = find("\\n\\s*NimMinor.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let pat = find("\\n\\s*NimPatch.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let v = `${maj}.${min}.${pat}`;
|
||||
rpm.global("ver", v);
|
||||
let req = new_req("https://api.github.com/repos/nim-lang/Nim/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
rpm.global("commit", req.get().json().sha);
|
||||
rpm.release();
|
||||
rpm.global("commit", gh_commit("nim-lang/Nim"));
|
||||
if rpm.changed() {
|
||||
let comp = get("https://raw.githubusercontent.com/nim-lang/Nim/devel/lib/system/compilation.nim");
|
||||
let maj = find("\\n\\s*NimMajor.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let min = find("\\n\\s*NimMinor.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let pat = find("\\n\\s*NimPatch.+=\\s*(\\d+)\\n", comp, 1);
|
||||
let v = `${maj}.${min}.${pat}`;
|
||||
rpm.global("ver", v);
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
}
|
||||
|
||||
+56
-24
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: nim
|
||||
Version: 2.0.2
|
||||
Release: 1%{?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"
|
||||
@@ -56,54 +58,84 @@ export FCFLAGS="${FCFLAGS} -Ofast"
|
||||
export PATH="$(pwd):$(pwd)/bin:${PATH}"
|
||||
|
||||
mold -run nim c -d:danger koch.nim
|
||||
mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie
|
||||
mold -run koch boot -d:useLinenoise -t:-fPIE -l:-pie -d:release -d:nativeStacktrace -d:useGnuReadline
|
||||
|
||||
%ifarch x86_64
|
||||
mold -run koch docs &
|
||||
(cd lib; mold -run nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) &
|
||||
%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:danger nimsuggest/nimsuggest.nim &
|
||||
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}
|
||||
install -Dp -m755 bin/nim{,ble,grep,suggest,pretty} %{buildroot}/%{_bindir}
|
||||
install -Dp -m644 tools/nim.bash-completion %{buildroot}%{bashcompdir}/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
|
||||
# completions
|
||||
for comp in tools/*.bash-completion; do
|
||||
install -Dm644 $comp %bashcompdir/$(basename "${comp/.bash-completion}")
|
||||
done
|
||||
for comp in tools/*.zsh-completion; do
|
||||
install -Dm644 $comp %zshcompdir/_$(basename "${comp/.zsh-completion}")
|
||||
done
|
||||
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}/html %buildroot%_prefix/lib/nim
|
||||
cp -a doc/html/*.html %{buildroot}%{_docdir}/%{name}/html/
|
||||
%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 -r 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
|
||||
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 %_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
|
||||
%doc doc/readme.txt
|
||||
/etc/nim/
|
||||
%_bindir/atlas
|
||||
%_bindir/nim_dbg
|
||||
%_bindir/nim-gdb
|
||||
%_bindir/testament
|
||||
%_prefix/lib/nim/
|
||||
%_prefix/lib/libnimrtl.so
|
||||
%{_bindir}/nim{,ble}
|
||||
%{_mandir}/man1/nim{,ble}.1*
|
||||
%_prefix/lib/nim/
|
||||
%_includedir/cycle.h
|
||||
%_includedir/nimbase.h
|
||||
|
||||
%files tools
|
||||
%license copying.txt
|
||||
%_prefix/lib/nim/
|
||||
%{_bindir}/nim{grep,suggest,pretty}
|
||||
%{_mandir}/man1/nim{grep,suggest}.1*
|
||||
|
||||
%%files doc
|
||||
%ifarch x86_64
|
||||
%files doc
|
||||
%doc %{_docdir}/nim
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jan 9 2023 windowsboy111 <windowsboy111@fyralabs.com> - 0.8.4
|
||||
- Initial Package.
|
||||
%autochangelog
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global pypi_name protobuf
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 4.25.2
|
||||
Release: 1%{?dist}
|
||||
Version: 5.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: python3-ruff
|
||||
Version: 0.2.1
|
||||
Release: 1%{?dist}
|
||||
Version: 0.3.4
|
||||
Release: 1%?dist
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
URL: https://beta.ruff.rs/
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: bat-extras
|
||||
Version: 2023.09.19
|
||||
Version: 2024.02.12
|
||||
Release: 1%{?dist}
|
||||
Summary: Bash scripts that integrate bat with various command line tools
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: rust-gitoxide
|
||||
Version: 0.33.0
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Command-line application for interacting with git repositories
|
||||
|
||||
License: MIT OR Apache-2.0
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%global crate gping
|
||||
|
||||
Name: rust-gping
|
||||
Version: 1.16.0
|
||||
Release: 1%{?dist}
|
||||
Version: 1.16.1
|
||||
Release: 1%?dist
|
||||
Summary: Ping, but with a graph
|
||||
|
||||
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,8 +2,8 @@
|
||||
%global crate maturin
|
||||
|
||||
Name: rust-terra-maturin
|
||||
Version: 1.4.0
|
||||
Release: 1%{?dist}
|
||||
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
|
||||
|
||||
License: MIT OR Apache-2.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: nushell
|
||||
Version: 0.90.1
|
||||
Release: 1%{?dist}
|
||||
Version: 0.91.0
|
||||
Release: 1%?dist
|
||||
Summary: A new type of shell
|
||||
License: MIT
|
||||
URL: https://www.nushell.sh/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: rnote
|
||||
Version: 0.9.4
|
||||
Release: 1%{?dist}
|
||||
Version: 0.10.1
|
||||
Release: 1%?dist
|
||||
Summary: Sketch and take handwritten notes.
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/flxzt/rnote
|
||||
|
||||
@@ -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,7 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/vala-lang/vala-language-server/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
rpm.global("commit", json(req.get()).sha);
|
||||
rpm.global("verrel", gh("vala-lang/vala-language-server"));
|
||||
rpm.release();
|
||||
rpm.global("commit", gh_commit("vala-lang/vala-language-server"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.global("verrel", gh("vala-lang/vala-language-server"));
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
%global real_name vala-language-server
|
||||
|
||||
%global commit 3b5fe941bea6ecd5c8fcb84930c40b8582eea165
|
||||
%global commit 0b020298aa3dafacd2f6633533ca91fba5698340
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global commit_date 20240323
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
%global verrel 0.48.7
|
||||
|
||||
Name: vala-language-server-nightly
|
||||
Summary: Language server for the Vala programming language
|
||||
Version: 0.48.7^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
# The entire source is LGPLv2+, except plugins/gnome-builder/vala_langserv.py, which is GPLv3+.
|
||||
# It is not installed when the "plugins" meson option is set to false.
|
||||
# Since GNOME Builder 41, the VLS the plugin has been included.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/vala-lang/vala-lint/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = json(req.get()).sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
rpm.global("commit", gh_commit("vala-lang/vala-lint"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
%global commit 8ae2bb65fe66458263d94711ae4ddd978faece00
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global commit_date 20240218
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: vala-lint-nightly
|
||||
Summary: Check Vala code files for code-style errors
|
||||
Version: 0.1.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/vala-lang/vala-lint
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://gitlab.gnome.org/api/v4/projects/1551/repository/branches/main");
|
||||
let sha = json(req.get()).commit.id;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
rpm.global("commit", gitlab_commit("gitlab.gnome.org", "1551", "main"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
%global priority 90
|
||||
|
||||
%global real_name vala
|
||||
%global commit eba39daa0c342965c0417195a44dd8f4c5944e76
|
||||
%global commit 86984c59734f975c9778251dddf80d247ade28a7
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global commit_date 20240327
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: vala-nightly
|
||||
Version: 0.58.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: A modern programming language for GNOME
|
||||
|
||||
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
||||
%global commit 7abc96e774fb7bc00318d834ad988dd229655c34
|
||||
%global commit 49aa4247d155fa98b306063782b718ef846c78e7
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
Version: 0.7.6
|
||||
Release: 2%?dist
|
||||
Version: 24.02
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
Summary: Application Menu plugin for vala-panel
|
||||
Group: System/GUI/Other
|
||||
@@ -19,8 +19,10 @@ BuildRequires: gettext
|
||||
BuildRequires: cmake
|
||||
BuildRequires: vala
|
||||
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)
|
||||
@@ -82,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
|
||||
|
||||
@@ -108,7 +117,12 @@ GTK (2, 3) module that exports GtkMenuShells over D-Bus.
|
||||
%{_datadir}/licenses/appmenu-gtk-module/LICENSE
|
||||
%{_datadir}/dbus-1/services/com.canonical.AppMenu.Registrar.service
|
||||
%{_datadir}/glib-2.0/schemas/org.valapanel.appmenu.gschema.xml
|
||||
%{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin
|
||||
#{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin
|
||||
%{_datadir}/vala/vapi/appmenu-glib-translator.*
|
||||
%{_datadir}/gir-1.0/AppmenuGLibTranslator-%version.gir
|
||||
%{_includedir}/appmenu-glib-translator/importer.h
|
||||
%{_libdir}/girepository-1.0/AppmenuGLibTranslator-%version.typelib
|
||||
%{_libdir}/libappmenu-glib-translator.*
|
||||
|
||||
%files -n vala-panel-appmenu-gtk-module
|
||||
%{_userunitdir}/appmenu-gtk-module.service
|
||||
@@ -118,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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: apparmor
|
||||
Version: 4.0.0
|
||||
Version: 4.0.0~alpha3
|
||||
Release: 1%{?dist}
|
||||
Summary: AppArmor userspace components
|
||||
|
||||
@@ -11,10 +11,9 @@ Summary: AppArmor userspace components
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://launchpad.net/apparmor
|
||||
Source0: %{url}/%{baseversion}/%{version}-alpha2/+download/%{name}-%{version}~alpha2.tar.gz
|
||||
Source0: %{url}/%{baseversion}/%(echo %version | sed 's/~/-/')/+download/%{name}-%{version}.tar.gz
|
||||
Source1: apparmor.preset
|
||||
Patch01: 0001-fix-avahi-daemon-authselect-denial-in-fedora.patch
|
||||
Patch02: 0001-All-current-versions-of-RHEL-and-Fedora-that-are-not.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: automake
|
||||
@@ -138,7 +137,7 @@ confinement policies when running virtual hosts in the webserver by using the
|
||||
changehat abilities exposed through libapparmor.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}~alpha2
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
export PYTHON=%{__python3}
|
||||
@@ -270,7 +269,6 @@ make -C utils check
|
||||
%{_bindir}/aa-features-abi
|
||||
%{_sbindir}/aa-load
|
||||
%{_sbindir}/aa-teardown
|
||||
%{_sbindir}/rcapparmor
|
||||
%{_unitdir}/apparmor.service
|
||||
%{_presetdir}/70-apparmor.preset
|
||||
%{_prefix}/lib/apparmor
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
let html = get("https://launchpad.net/apparmor");
|
||||
let v = find("Latest version is ([\\d.]+)", html, 1);
|
||||
let v = find("Latest version is ([\\d.\\w\\-]+)", html, 1);
|
||||
v.replace('-', '~');
|
||||
rpm.version(v);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/24742019/repository/tags").json_arr()[0];
|
||||
rpm.global("commit", o.commit.id);
|
||||
rpm.version(o.name);
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", o.commit.id);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/34230948/repository/tags").json_arr()[0];
|
||||
rpm.global("commit", o.commit.id);
|
||||
rpm.version(o.name);
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", o.commit.id);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Summary: The Application Framework for tauOS apps
|
||||
Name: libhelium
|
||||
Version: 1.8.10
|
||||
Release: 1%{?dist}
|
||||
Version: 1.8.11.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/tau-OS/libhelium
|
||||
Source0: https://github.com/tau-OS/libhelium/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "openh264.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,201 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Process a gst-plugins-bad tarball to remove
|
||||
# unwanted GStreamer plugins.
|
||||
#
|
||||
# This script here is taken from Fedora gstreamer1-plugins-bad-free repo, with
|
||||
# only change being openh264 addition.
|
||||
#
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=532470
|
||||
# for details
|
||||
#
|
||||
# Bastien Nocera <bnocera@redhat.com> - 2010
|
||||
#
|
||||
|
||||
SOURCE="$1"
|
||||
NEW_SOURCE=`echo $SOURCE | sed 's/bad-/bad-openh264-/'`
|
||||
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.xz//'`
|
||||
|
||||
ALLOWED="
|
||||
aacparse
|
||||
accurip
|
||||
adpcmdec
|
||||
adpcmenc
|
||||
aiff
|
||||
aiffparse
|
||||
amrparse
|
||||
asfmux
|
||||
audiobuffersplit
|
||||
audiofxbad
|
||||
audiolatency
|
||||
audiomixer
|
||||
audiomixmatrix
|
||||
audioparsers
|
||||
audiovisualizers
|
||||
autoconvert
|
||||
bayer
|
||||
camerabin
|
||||
camerabin2
|
||||
cdxaparse
|
||||
codecalpha
|
||||
codectimestamper
|
||||
coloreffects
|
||||
colorspace
|
||||
compositor
|
||||
dataurisrc
|
||||
dccp
|
||||
debugutils
|
||||
dtmf
|
||||
dvbsubenc
|
||||
faceoverlay
|
||||
festival
|
||||
fieldanalysis
|
||||
freeverb
|
||||
freeze
|
||||
frei0r
|
||||
gaudieffects
|
||||
gdp
|
||||
geometrictransform
|
||||
h264parse
|
||||
hdvparse
|
||||
hls
|
||||
id3tag
|
||||
inter
|
||||
interlace
|
||||
invtelecine
|
||||
ivfparse
|
||||
ivtc
|
||||
jpegformat
|
||||
jp2kdecimator
|
||||
legacyresample
|
||||
librfb
|
||||
liveadder
|
||||
midi
|
||||
mve
|
||||
mpegdemux
|
||||
mpeg4videoparse
|
||||
mpegpsmux
|
||||
mpegtsdemux
|
||||
mpegtsmux
|
||||
mpegvideoparse
|
||||
mxf
|
||||
netsim
|
||||
nsf
|
||||
nuvdemux
|
||||
onvif
|
||||
openh264
|
||||
patchdetect
|
||||
pcapparse
|
||||
pnm
|
||||
proxy
|
||||
qtmux
|
||||
rawparse
|
||||
removesilence
|
||||
rist
|
||||
rtmp2
|
||||
rtp
|
||||
rtpmux
|
||||
rtpvp8
|
||||
scaletempo
|
||||
sdi
|
||||
sdp
|
||||
segmentclip
|
||||
selector
|
||||
smooth
|
||||
speed
|
||||
stereo
|
||||
subenc
|
||||
switchbin
|
||||
timecode
|
||||
transcode
|
||||
tta
|
||||
valve
|
||||
videofilters
|
||||
videoframe_audiolevel
|
||||
videomaxrate
|
||||
videomeasure
|
||||
videoparsers
|
||||
videosignal
|
||||
vmnc
|
||||
yadif
|
||||
y4m
|
||||
"
|
||||
|
||||
NOT_ALLOWED="
|
||||
dvbsuboverlay
|
||||
dvdspu
|
||||
real
|
||||
siren
|
||||
"
|
||||
|
||||
error()
|
||||
{
|
||||
MESSAGE=$1
|
||||
echo $MESSAGE
|
||||
exit 1
|
||||
}
|
||||
|
||||
check_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
# Ignore errors coming from ext/ directory
|
||||
# they require external libraries so are ineffective anyway
|
||||
return 1;
|
||||
}
|
||||
|
||||
check_not_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $NOT_ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
return 1;
|
||||
}
|
||||
|
||||
rm -rf $DIRECTORY
|
||||
tar xJf $SOURCE || error "Cannot unpack $SOURCE"
|
||||
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
||||
|
||||
unknown=""
|
||||
for subdir in gst ext sys; do
|
||||
for dir in $subdir/* ; do
|
||||
# Don't touch non-directories
|
||||
if ! [ -d $dir ] ; then
|
||||
continue;
|
||||
fi
|
||||
MODULE=`basename $dir`
|
||||
if ( check_not_allowed $MODULE ) ; then
|
||||
echo "**** Removing $MODULE ****"
|
||||
echo "Removing directory $dir"
|
||||
rm -r $dir || error "Cannot remove $dir"
|
||||
echo
|
||||
elif test $subdir = ext || test $subdir = sys; then
|
||||
# Ignore library or system non-blacklisted plugins
|
||||
continue;
|
||||
elif ! ( check_allowed $MODULE ) ; then
|
||||
echo "Unknown module in $dir"
|
||||
unknown="$unknown $dir"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
if test "x$unknown" != "x"; then
|
||||
echo -n "Aborting due to unkown modules: "
|
||||
echo "$unknown" | sed "s/ /\n /g"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
tar cJf $NEW_SOURCE $DIRECTORY
|
||||
echo "$NEW_SOURCE is ready to use"
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
diff -up gst-plugins-bad-1.18.2/ext/openh264/meson.build.orig gst-plugins-bad-1.18.2/ext/openh264/meson.build
|
||||
--- gst-plugins-bad-1.18.2/ext/openh264/meson.build.orig 2020-12-06 14:24:13.000000000 +0100
|
||||
+++ gst-plugins-bad-1.18.2/ext/openh264/meson.build 2021-02-11 11:48:58.660450319 +0100
|
||||
@@ -4,9 +4,7 @@ openh264_sources = [
|
||||
'gstopenh264plugin.c',
|
||||
]
|
||||
|
||||
-openh264_dep = dependency('openh264', version : '>= 1.3.0',
|
||||
- required : get_option('openh264'),
|
||||
- fallback: ['openh264', 'openh264_dep'])
|
||||
+openh264_dep = cc.find_library('openh264')
|
||||
|
||||
if openh264_dep.found()
|
||||
gstopenh264 = library('gstopenh264',
|
||||
@@ -1,213 +0,0 @@
|
||||
# ref: https://src.fedoraproject.org/rpms/openh264
|
||||
%global commit1 e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7
|
||||
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
||||
|
||||
%global openh264_version 2.4.0
|
||||
%global gst_version 1.23.1
|
||||
|
||||
Name: openh264
|
||||
Version: %{openh264_version}
|
||||
# Also bump the Release tag for gstreamer1-plugin-openh264 down below
|
||||
Release: 1%{?dist}
|
||||
Summary: H.264 codec library
|
||||
|
||||
License: BSD
|
||||
URL: https://www.openh264.org/
|
||||
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
|
||||
|
||||
%description
|
||||
OpenH264 is a codec library which supports H.264 encoding and decoding. It is
|
||||
suitable for use in real time applications such as WebRTC.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package -n mozilla-openh264
|
||||
Summary: H.264 codec support for Mozilla browsers
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
Requires: mozilla-filesystem%{?_isa}
|
||||
|
||||
%description -n mozilla-openh264
|
||||
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
|
||||
|
||||
# Extract gmp-api archive
|
||||
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
|
||||
# Must be done in %%build in order to pick up correct LDFLAGS.
|
||||
sed -i -e 's|^CFLAGS_OPT=.*$|CFLAGS_OPT=%{optflags}|' Makefile
|
||||
sed -i -e 's|^PREFIX=.*$|PREFIX=%{_prefix}|' Makefile
|
||||
sed -i -e 's|^LIBDIR_NAME=.*$|LIBDIR_NAME=%{_lib}|' Makefile
|
||||
sed -i -e 's|^SHAREDLIB_DIR=.*$|SHAREDLIB_DIR=%{_libdir}|' Makefile
|
||||
sed -i -e '/^CFLAGS_OPT=/i LDFLAGS=%{__global_ldflags}' Makefile
|
||||
|
||||
# First build the openh264 libraries
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# ... then build the mozilla plugin
|
||||
make plugin %{?_smp_mflags}
|
||||
|
||||
# ... 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
|
||||
|
||||
# Install mozilla plugin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
cp -a libgmpopenh264.so* gmpopenh264.info $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed/
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref
|
||||
cat > $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref/gmpopenh264.js << EOF
|
||||
pref("media.gmp-gmpopenh264.autoupdate", false);
|
||||
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
|
||||
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.%{openh264_version}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/wels/
|
||||
%{_libdir}/libopenh264.so
|
||||
%{_libdir}/pkgconfig/openh264.pc
|
||||
|
||||
%files -n mozilla-openh264
|
||||
%{_sysconfdir}/profile.d/gmpopenh264.sh
|
||||
%dir %{_libdir}/firefox
|
||||
%dir %{_libdir}/firefox/defaults
|
||||
%dir %{_libdir}/firefox/defaults/pref
|
||||
%{_libdir}/firefox/defaults/pref/gmpopenh264.js
|
||||
%{_libdir}/mozilla/plugins/gmp-gmpopenh264/
|
||||
|
||||
%files -n gstreamer1-plugin-openh264
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_libdir}/gstreamer-1.0/libgstopenh264.so
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1,14 +0,0 @@
|
||||
let cwd = "anda/lib/openh264";
|
||||
let spec = open_file("anda/lib/openh264/openh264.spec").read_string();
|
||||
let gst = find("%global gst_version ([\\d.]+)", spec, 1);
|
||||
print(`:: found gst version ${gst}`);
|
||||
let out = sh(`wget https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${gst}.tar.xz`, cwd);
|
||||
//print(":: wget stdout below");
|
||||
//print(out.sh_stdout());
|
||||
//print(":: wget stderr below");
|
||||
//print(out.sh_stderr());
|
||||
out = sh(`sh gst-p-bad-cleanup.sh gst-plugins-bad-${gst}.tar.xz`, cwd);
|
||||
//print(":: script stdout below");
|
||||
//print(out.sh_stdout());
|
||||
//print(":: script stderr below");
|
||||
//print(out.sh_stderr());
|
||||
@@ -1,6 +0,0 @@
|
||||
rpm.global("commit1", get("https://api.github.com/repos/mozilla/gmp-api/commits/HEAD").json().sha);
|
||||
let h264 = gh("cisco/openh264");
|
||||
h264.crop(1);
|
||||
rpm.global("openh264_version", h264);
|
||||
let html = get("https://gstreamer.freedesktop.org/src/gst-plugins-bad/?C=N;O=D");
|
||||
rpm.global("gst_version", find("gst-plugins-bad-([\\d.]+).tar.xz", html, 1));
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user