Compare commits

..

3 Commits

Author SHA1 Message Date
madonuko ada046ed2d Merge branch 'frawhide' into mado/w/bun 2025-05-26 19:57:57 +08:00
madonuko a55a388772 feat(bun): support for x86_64_v3 2025-05-26 19:56:36 +08:00
madonuko 0169025601 add: bun-bin
Closes #3159.
2025-02-09 18:26:57 +08:00
464 changed files with 3838 additions and 6346 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"repoOwner": "terrapkg",
"repoName": "packages",
"resetAuthor": true,
"targetBranchChoices": ["el10", "f41", "f42", "frawhide"],
"targetBranchChoices": ["el10", "f40", "f41", "f42", "frawhide"],
"branchLabelMapping": {
"^sync-(.+)$": "$1"
}
+3 -5
View File
@@ -1,8 +1,6 @@
# for each folder in anda/
# generate a new workflow for each folder in anda/
name: Automatically build packages
permissions:
contents: read
on:
push:
paths:
@@ -98,7 +96,7 @@ jobs:
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: github.event_name == 'push' && matrix.pkg.labels['no_upload_srpms'] != '1'
if: github.event_name == 'push'
run: |
subrepo="${{ matrix.pkg.labels.subrepo }}"
subatomic-cli upload --prune \
@@ -108,7 +106,7 @@ jobs:
- name: Notify Madoguchi (Success)
if: success() && github.event_name == 'push'
run: ./.github/workflows/mg.sh true "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
- name: Notify Madoguchi (Failure)
if: ( cancelled() || failure() ) && github.event_name == 'push'
run: ./.github/workflows/mg.sh false "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
+1 -2
View File
@@ -1,6 +1,5 @@
name: Bootstrap Andaman and Subatomic
permissions:
contents: read
on:
workflow_dispatch:
+4 -9
View File
@@ -1,6 +1,4 @@
name: Manual Builds
permissions:
contents: read
on:
workflow_dispatch:
inputs:
@@ -83,24 +81,21 @@ jobs:
- name: Upload packages to subatomic
run: |
subrepo="${{ fromJson(steps.art.outputs.labels).subrepo }}"
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }}${{ fromJson(steps.art.outputs.labels)['subrepo'] && '-$subrepo' }} anda-build/rpm/rpms/*
terra${{ matrix.version }}${{ fromJson(steps.art.outputs.labels)['extra'] && '-extras' }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: fromJson(steps.art.outputs.labels)['no_upload_srpms'] != '1'
run: |
subrepo="${{ fromJson(steps.art.outputs.labels).subrepo }}"
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }}${{ fromJson(steps.art.outputs.labels)['subrepo'] && '-$subrepo' }}-source anda-build/rpm/srpm/*
terra${{ matrix.version }}${{ fromJson(steps.art.outputs.labels)['extra'] && '-extras' }}-source anda-build/rpm/srpm/*
- name: Notify Madoguchi (Success)
if: success()
run: ./.github/workflows/mg.sh true "anda/${{matrix.pkg}}pkg" "${{matrix.version}}" "${{matrix.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh true ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
- name: Notify Madoguchi (Failure)
if: cancelled() || failure()
run: ./.github/workflows/mg.sh false "anda/${{matrix.pkg}}pkg" "${{matrix.version}}" "${{matrix.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh false ${{matrix.pkg}} ${{matrix.version}} ${{matrix.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
+4 -7
View File
@@ -1,6 +1,4 @@
name: JSON Build
permissions:
contents: read
on:
workflow_dispatch:
inputs:
@@ -37,13 +35,13 @@ jobs:
fi
- name: Install Build Dependencies
if: ${{ matrix.pkg.labels.mock != '1' }}
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
dnf5 builddep -y ${dir}/*.spec
- name: Build with Andaman
run: anda build -D "vendor Terra" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }}
run: anda build -D "vendor Terra" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ contains(matrix.pkg.labels, 'mock') && '' || '-rrpmbuild' }}
- name: Generating artifact name
id: art
@@ -69,7 +67,6 @@ jobs:
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }} anda-build/rpm/rpms/*
- name: Upload source packages to subatomic
if: matrix.pkg.labels['no_upload_srpms'] != '1'
run: |
subrepo="${{ matrix.pkg.labels.subrepo }}"
subatomic-cli upload --prune \
@@ -79,7 +76,7 @@ jobs:
- name: Notify Madoguchi (Success)
if: success()
run: ./.github/workflows/mg.sh true "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
- name: Notify Madoguchi (Failure)
if: cancelled() || failure()
run: ./.github/workflows/mg.sh false "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA"
run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} $GITHUB_SHA
+4 -4
View File
@@ -7,14 +7,14 @@ export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":
if [[ $1 == false ]]; then
d=${p/\%v/?}
d=${d/\%r/?}
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci5/terra$3/builds/f -X PUT -H "Content-Type: application/json" -d "$d" --fail-with-body
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci/terra$3/builds/f -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
exit 0
fi
for f in anda-build/rpm/rpms/*; do
n=$(lesspipe.sh $f | grep -E "Name\s*: " | sed "s@Name\s*: @@" | head -n1)
v=$(lesspipe.sh $f | grep -E "Version\s*: " | sed "s@Version\s*: @@" | head -n1)
r=$(lesspipe.sh $f | grep -E "Release\s*: " | sed "s@Release\s*: @@" | head -n1)
n=$(lesspipe.sh $f | grep -E "Name\s*: " | sed "s@Name\s*: @@")
v=$(lesspipe.sh $f | grep -E "Version\s*: " | sed "s@Version\s*: @@")
r=$(lesspipe.sh $f | grep -E "Release\s*: " | sed "s@Release\s*: @@")
d=${p/\%v/$v}
d=${d/\%r/$r}
curl -H "Authorization: Bearer $6" https://madoguchi.fyralabs.com/ci5/terra$3/builds/$n -X PUT -H "Content-Type: application/json" -d $d --fail-with-body
+1 -3
View File
@@ -1,7 +1,5 @@
name: Automatic backport/sync action
permissions:
contents: write
pull-requests: write
on:
pull_request_target:
types: ["labeled", "closed"]
+1 -2
View File
@@ -1,6 +1,4 @@
name: Update per branch
permissions:
contents: write
on:
schedule:
- cron: "*/30 * * * *"
@@ -13,6 +11,7 @@ jobs:
matrix:
branch:
- frawhide
- f40
- f41
- f42
- el10
+1 -2
View File
@@ -1,6 +1,4 @@
name: Push comps updates
permissions:
contents: read
on:
push:
@@ -8,6 +6,7 @@ on:
- frawhide
- f42
- f41
- f40
- el10
paths:
- comps.xml
+1 -2
View File
@@ -1,6 +1,4 @@
name: Nightly Update
permissions:
contents: write
on:
schedule:
- cron: "0 0 * * *"
@@ -48,6 +46,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f40 || true
copy_over f41 || true
copy_over f42 || true
copy_over el10 || true
+1 -2
View File
@@ -1,6 +1,4 @@
name: Weekly Update
permissions:
contents: write
on:
schedule:
- cron: "0 0 * * *"
@@ -48,6 +46,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f40 || true
copy_over f41 || true
copy_over f42 || true
copy_over el10 || true
+1 -2
View File
@@ -1,6 +1,4 @@
name: Update
permissions:
contents: write
on:
schedule:
- cron: "*/10 * * * *"
@@ -48,6 +46,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f40 || true
copy_over f41 || true
copy_over f42 || true
copy_over el10 || true
-2
View File
@@ -1,4 +1,2 @@
anda-build/
**/*.tar*
**/*.crate
**/*.zip
-20
View File
@@ -13,8 +13,6 @@ This monorepo contains the package manifests for all packages in Terra.
## Installation
### Fedora
```bash
sudo dnf install --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release
```
@@ -26,24 +24,6 @@ curl -fsSL https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo | pke
sudo rpm-ostree install terra-release
```
Optionally, you can install `terra-release-extra` to use the Extras repository. This also installs the Nvidia, and Mesa streams but does not enable them.
### Enterprise Linux (EL)
Only EL10 is supported. Not all packages available in Terra are available in Terra EL at this time.
Terra EL requires the EPEL repos, which may be installed with:
```bash
sudo dnf install 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-$releasever.noarch.rpm'
```
And Terra EL itself can be installed with:
```bash
sudo dnf install --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terrael$releasever' terra-release
```
## Documentation
Our documentation can be found on our [Devdocs](https://developer.fyralabs.com/terra/).
+4 -4
View File
@@ -1,9 +1,9 @@
%global xurl https://files.pythonhosted.org/packages/bf/05/3f3e0e890408cd8bf590bb00029de1623d85a09f2bc40545f87f4fa5e0f8/anki-25.7.2-cp39-abi3-manylinux_2_36_x86_64.whl
%global aurl https://files.pythonhosted.org/packages/ed/0a/6f07edb9b60c0aa5e5ea2546ffb2f9cf079dd6b7b5b90f0d31852978c3b9/anki-25.7.2-cp39-abi3-manylinux_2_36_aarch64.whl
%global qurl https://files.pythonhosted.org/packages/83/0b/51bf1a1f623fe52a590050087dcdfdaeab72025a2dd02bb6e5d3627de4e2/aqt-25.7.2-py3-none-any.whl
%global xurl https://files.pythonhosted.org/packages/32/51/cf365e03f3820f8b8adfd11717c38b3fcc167d08c0e53591dbfc702b2292/anki-25.02.5-cp39-abi3-manylinux_2_35_x86_64.whl
%global aurl https://files.pythonhosted.org/packages/c9/9d/6e27cec817c7f0f208e880f78585071eedc1bfd4294ebbae4ac5e49bf98d/anki-25.02.5-cp39-abi3-manylinux_2_35_aarch64.whl
%global qurl https://files.pythonhosted.org/packages/5e/8b/2651dcd76e3a670bc0ae95e462ad0776c3bcb9cc2b0b19eaa9cb8f92b709/aqt-25.02.5-py3-none-any.whl
Name: anki-bin
Version: 25.7.2
Version: 25.02.5
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
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki-qt5
Version: 25.07.2
Version: 25.02.5
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
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki
Version: 25.07.2
Version: 25.02.5
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
@@ -1,7 +1,7 @@
%global __requires_exclude ^lib-.*.so
%global __provides_exclude ^lib-.*.so
%global ver Audacity-3.7.4
%global ver Audacity-3.7.3
%global sanitized_ver %(echo %{ver} | sed 's/Audacity-//g')
Name: audacity-freeworld
+1 -1
View File
@@ -8,7 +8,7 @@ for background device management, as well as a GUI to expertly customize your se
%global __brp_mangle_shebangs %{nil}
Name: coolercontrol
Version: 2.2.1
Version: 2.1.0
Release: 1%?dist
Summary: Cooling device control for Linux
License: GPL-3.0-or-later
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.717
Version: 0.0.685
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.717
Version: 0.0.685
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.102
Version: 0.0.95
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.152
Version: 0.0.144
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb
Version: 0.0.152
Version: 0.0.144
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers.
URL: https://discord.com
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord
Version: 0.0.102
Version: 0.0.95
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: https://discord.com
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit 1a1d1682fe4978dca98c2811c5c8cb67114991b1
%global commit_date 20250713
%global commit d42de840a2d1f2bb973278c45a873db75b773e25
%global commit_date 20250521
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: envision-nightly
+11 -8
View File
@@ -6,15 +6,14 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: feishin
Version: 0.18.0
Version: 0.12.7
Release: 1%?dist
Summary: A modern self-hosted music player
License: GPL-3.0
URL: https://github.com/jeffvli/feishin
Source0: %url/archive/refs/tags/v%version.tar.gz
Requires: fuse mpv
Packager: madonuko <mado@fyralabs.com>
BuildRequires: jq libxcrypt-compat pnpm
BuildRequires: nodejs20-npm jq libxcrypt-compat
%description
%summary.
@@ -39,9 +38,13 @@ Keywords=Music;Jellyfin;Audio;Stream;Sonixd
EOF
%build
pnpm i
pnpm run postinstall
pnpm run build
export PATH="$PATH:$(pwd)/bin"
mkdir bin
ln -s /usr/bin/node-20 bin/node
ln -s /usr/bin/npm-20 bin/npm
npm-20 install --legacy-peer-deps
npm-20 run postinstall
npm-20 run build
%ifarch x86_64
%define a linux
@@ -49,11 +52,11 @@ pnpm run build
%define a arm64
%endif
pnpm exec electron-builder --linux dir --%a
npx-20 electron-builder --linux dir --%a
%install
mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir
mv dist/*-unpacked %buildroot%_datadir/feishin
mv release/build/*-unpacked %buildroot%_datadir/feishin
install -Dm644 assets/icons/icon.png %buildroot%_datadir/pixmaps/feishin.png
ln -s %_datadir/feishin/feishin %buildroot%_bindir/feishin
install -Dm644 feishin.desktop %buildroot%_datadir/applications/
+37 -18
View File
@@ -1,15 +1,13 @@
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
%global ver 12.1.0
%global commit 4edfb2ac1d71e7f75fcdcb850ff6bce5fb148a7b
%global ver v12.1.0
%global commit 849fce58558dfca7ab7d2e818d29bd78261495cb
%global shortcommit %{sub %{commit} 1 7}
#global commit_date 20250608
%global commit_date 20250618
%global devel_name QtColorWidgets
%global commit_date 20250526
Name: flameshot.nightly
Version: %ver^%{commit_date}git.%shortcommit
Release: 2%?dist
Release: 1%?dist
License: GPL-3.0-or-later AND ASL-2.0 AND GPL-2.0-only AND LGPL-3.0-only AND FAL-1.3
Summary: Powerful yet simple to use screenshot software
URL: https://flameshot.org
@@ -58,14 +56,33 @@ Features:
* Upload to Imgur
%pkg_completion -Bfz flameshot
%package bash-completion
Summary: Bash completion for %{name}
Requires: %{name} = %{version}-%{release}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
%package devel
Summary: Flameshot development files
Requires: %{name} = %{version}
%description bash-completion
Bash command line completion support for %{name}.
%package fish-completion
Summary: Fish completion for %{name}
Requires: %{name} = %{version}-%{release}
Requires: fish
Supplements: (%{name} and fish)
%description fish-completion
Fish command line completion support for %{name}.
%package zsh-completion
Summary: Zsh completion for %{name}
Requires: %{name} = %{version}-%{release}
Requires: zsh
Supplements: (%{name} and zsh)
%description zsh-completion
Zsh command line completion support for %{name}.
%description devel
Development files for Flameshot.
%prep
%autosetup -p1 -n flameshot-%commit
@@ -93,7 +110,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%dir %{_datadir}/flameshot
%dir %{_datadir}/flameshot/translations
%{_bindir}/flameshot
%{_libdir}/lib%{devel_name}.so.*
%{_datadir}/applications/org.flameshot.Flameshot.desktop
%{_metainfodir}/org.flameshot.Flameshot.metainfo.xml
%{_datadir}/dbus-1/interfaces/org.flameshot.Flameshot.xml
@@ -102,8 +118,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_mandir}/man1/flameshot.1*
%files devel
%{_libdir}/lib%{devel_name}.so
%{_libdir}/cmake/%{devel_name}/
%{_libdir}/pkgconfig/%{devel_name}.pc
%{_includedir}/%{devel_name}/
%files bash-completion
%{bash_completions_dir}/flameshot
%files fish-completion
%{fish_completions_dir}/flameshot.fish
%files zsh-completion
%{zsh_completions_dir}/_flameshot
+1 -4
View File
@@ -1,8 +1,5 @@
terminate();
rpm.global("commit", gh_commit("flameshot-org/flameshot"));
if rpm.changed() {
let v = gh("flameshot-org/flameshot");
v.crop(1);
rpm.global("ver", v);
rpm.global("ver", gh("flameshot-org/flameshot"));
rpm.global("commit_date", date());
}
+1 -1
View File
@@ -1,5 +1,5 @@
Name: flatpost
Version: 1.0.6
Version: 1.0.5
Release: 1%?dist
License: BSD-2-Clause
Summary: Desktop environment agnostic Flathub software center.
+1 -1
View File
@@ -1,6 +1,6 @@
Name: fontviewer
Epoch: 1
Version: 1.2.0
Version: 1.1.0
Release: 1%?dist
Summary: View and install fonts
-9
View File
@@ -1,9 +0,0 @@
project pkg {
rpm {
spec = "goofcord-nightly.spec"
}
labels {
mock = 1
nightly = 1
}
}
@@ -1,101 +0,0 @@
%global commit 3f5eda113f33fead76a5a53e0b71c11b254d68fd
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250615
%global ver 1.10.1
%global base_name goofcord
%global git_name GoofCord
%global debug_package %{nil}
# Exclude private libraries
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
%ifnarch aarch64 armv7hl armv7l
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
%elifarch aarch64 armv7hl armv7l
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
%endif
Name: %{base_name}-nightly
Version: %{ver}^%{commit_date}.git.%{shortcommit}
Release: 1%{?dist}
License: OSL-3.0
Summary: A privacy-minded Legcord fork.
Group: Applications/Internet
URL: https://github.com/Milkshiift/%{git_name}
Source0: %{url}/archive/%{commit}/%{git_name}-%{commit}.tar.gz
BuildRequires: bun-bin
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: make
BuildRequires: nodejs
BuildRequires: nodejs-npm
BuildRequires: python3
%ifarch aarch64
BuildRequires: zlib-ng-compat-devel
%endif
Packager: Gilver E. <rockgrub@disroot.org>
%description
A highly configurable and privacy minded Discord client.
%prep
%autosetup -n %{git_name}-%{commit}
%build
%ifarch aarch64 armv7hl armv7l
sed -i '/\"x64\",/d' electron-builder.ts
%endif
bun install
bun run packageLinux --publish=never
%install
mkdir -p %{buildroot}%{_datadir}/%{git_name}
%ifarch x86_64
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
%elifarch aarch64
mv dist/linux-arm64-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
%elifarch armv7hl armv7l
mv dist/linux-armv7l-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
%endif
mkdir -p %{buildroot}%{_bindir}
ln -sf %{_datadir}/%{git_name}/%{git_name} %{buildroot}%{_bindir}/%{git_name}
install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}/%{_iconsdir}/hicolor/16x16/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}/%{_iconsdir}/hicolor/48x48/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}/%{_iconsdir}/hicolor/64x64/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}/%{_iconsdir}/hicolor/128x128/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}/%{_iconsdir}/hicolor/256x256/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}/%{_iconsdir}/hicolor/512x512/apps/%{git_name}.png
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}/%{_iconsdir}/hicolor/1024x1024/apps/%{git_name}.png
%ifarch x86_64
dist/%{git_name}-*x86_64.AppImage --appimage-extract '*.desktop'
%elifarch aarch64
dist/%{git_name}-*arm64.AppImage --appimage-extract '*.desktop'
%elifarch armv7hl armv7l
dist/%{git_name}-*armv7l.AppImage --appimage-extract '*.desktop'
%endif
desktop-file-install --set-key=Exec --set-value="%{_datadir}/%{git_name}/%{git_name} --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto %U" squashfs-root/%{git_name}.desktop
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{git_name}.desktop
%files
%doc README.md
%license LICENSE
%{_bindir}/%{git_name}
%{_datadir}/applications/%{git_name}.desktop
%{_datadir}/%{git_name}/
%{_iconsdir}/hicolor/16x16/apps/%{git_name}.png
%{_iconsdir}/hicolor/32x32/apps/%{git_name}.png
%{_iconsdir}/hicolor/48x48/apps/%{git_name}.png
%{_iconsdir}/hicolor/64x64/apps/%{git_name}.png
%{_iconsdir}/hicolor/128x128/apps/%{git_name}.png
%{_iconsdir}/hicolor/256x256/apps/%{git_name}.png
%{_iconsdir}/hicolor/512x512/apps/%{git_name}.png
%{_iconsdir}/hicolor/1024x1024/apps/%{git_name}.png
%changelog
* Sat Jun 28 2025 Gilver E. <rockgrub@disroot.org> - 1.10.1^20250615.git.3f5eda1
- Initial package
-8
View File
@@ -1,8 +0,0 @@
rpm.global("commit", gh_commit("Milkshiift/GoofCord"));
if rpm.changed {
let v = gh_tag(""Milkshiift/GoofCord");
v.crop(1);
rpm.global("ver", v);
rpm.global("commit_date", date());
rpm.release();
}
-8
View File
@@ -1,8 +0,0 @@
project pkg {
rpm {
spec = "goofcord.spec"
}
labels {
mock = 1
}
}
-95
View File
@@ -1,95 +0,0 @@
%global git_name GoofCord
%global debug_package %{nil}
# Exclude private libraries
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
%ifnarch aarch64 armv7hl armv7l
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
%elifarch aarch64 armv7hl armv7l
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
%endif
Name: goofcord
Version: 1.10.1
Release: 1%{?dist}
License: OSL-3.0
Summary: A privacy-minded Legcord fork.
Group: Applications/Internet
URL: https://github.com/Milkshiift/%{git_name}
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: bun-bin
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: nodejs
BuildRequires: nodejs-npm
BuildRequires: python3
%ifarch aarch64
BuildRequires: zlib-ng-compat-devel
%endif
Packager: Gilver E. <rockgrub@disroot.org>
%description
A highly configurable and privacy minded Discord client.
%prep
%autosetup -n %{git_name}-%{version}
%build
%ifarch aarch64 armv7hl armv7l
sed -i '/\"x64\",/d' electron-builder.ts
%endif
bun install
bun run packageLinux
%install
mkdir -p %{buildroot}%{_datadir}/%{name}
%ifarch x86_64
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/%{name}
%elifarch aarch64
mv dist/linux-arm64-unpacked/* -t %{buildroot}%{_datadir}/%{name}
%elifarch armv7hl armv7l
mv dist/linux-armv7l-unpacked/* -t %{buildroot}%{_datadir}/%{name}
%endif
mkdir -p %{buildroot}%{_bindir}
ln -sf %{_datadir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}/%{_iconsdir}/hicolor/16x16/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}/%{_iconsdir}/hicolor/48x48/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}/%{_iconsdir}/hicolor/64x64/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}/%{_iconsdir}/hicolor/128x128/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}/%{_iconsdir}/hicolor/256x256/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}/%{_iconsdir}/hicolor/512x512/apps/%{name}.png
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}/%{_iconsdir}/hicolor/1024x1024/apps/%{name}.png
%ifarch x86_64
dist/%{git_name}-*x86_64.AppImage --appimage-extract '*.desktop'
%elifarch aarch64
dist/%{git_name}-*arm64.AppImage --appimage-extract '*.desktop'
%elifarch armv7hl armv7l
dist/%{git_name}-*armv7l.AppImage --appimage-extract '*.desktop'
%endif
desktop-file-install --set-key=Exec --set-value="%{_datadir}/%{name}/%{name} --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto %U" squashfs-root/%{name}.desktop
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_iconsdir}/hicolor/16x16/apps/%{name}.png
%{_iconsdir}/hicolor/32x32/apps/%{name}.png
%{_iconsdir}/hicolor/48x48/apps/%{name}.png
%{_iconsdir}/hicolor/64x64/apps/%{name}.png
%{_iconsdir}/hicolor/128x128/apps/%{name}.png
%{_iconsdir}/hicolor/256x256/apps/%{name}.png
%{_iconsdir}/hicolor/512x512/apps/%{name}.png
%{_iconsdir}/hicolor/1024x1024/apps/%{name}.png
%changelog
* Sat Jun 28 2025 Gilver E. <rockgrub@disroot.org> - 1.10.1-1
- Initial package
-1
View File
@@ -1 +0,0 @@
rpm.version(gh_tag("Milkshiift/GoofCord"));
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "halloy.spec"
}
}
-68
View File
@@ -1,68 +0,0 @@
# Generated by rust2rpm 27
%bcond check 1
Name: halloy
Version: 2025.6
Release: %autorelease
Summary: An open-source IRC client written in Rust, with the Iced GUI library
Packager: Yoong jin <solomoncyj@gmail.com>
SourceLicense: GPL-3.0-or-later
License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND (BSD-3-Clause) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND (BSL-1.0) AND (CC0-1.0) AND (CC0-1.0 OR Apache-2.0) AND (GPL-3.0+ OR BSD-3-Clause) AND (GPL-3.0-or-later) AND (ISC) AND (LGPL-3.0-or-later OR MPL-2.0) AND (MIT) AND (MIT AND (MIT OR Apache-2.0)) AND (MIT OR Apache-2.0) AND ((MIT OR Apache-2.0) AND NCSA) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (MPL-2.0) AND (Unicode-3.0) AND (Unlicense) AND (Unlicense OR MIT) AND (Zlib) AND (Zlib OR Apache-2.0 OR MIT)
URL: https://github.com/squidowl/halloy
Source: https://github.com/squidowl/halloy/archive/refs/tags/%{Version}.tar.gz
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: desktop-file-utils
%description %{Summary}
%prep
%autosetup -n halloy-%{version} -p1
%cargo_prep_online
%build
%cargo_build
%cargo_license_summary_online
%{cargo_license} > LICENSE.dependencies
%install
#copy logo file to be used in desktop file
cp ./assets/logo.png %{buildroot}/%{_datadir}/icons/halloy.png
%cargo_install
#generate desktop file
desktop-file-edit \
--set-key=Type \
--set-value=Application \
--set-key=Name\
--set-value=Halloy\
--set-key=Comment \
--set-value=%{Summary} \
--set-key=Exec \
--set-value=%{_bindir}/halloy \
--set-key=Icon \
--set-value=%{_datadir}/icons/halloy.png \
--set-key=Terminal \
--set-value=false \
%{buildroot}/%{_datadir}/applications/halloy.desktop
%if %{with check}
%check
%cargo_test
%endif
%files
%license LICENSE
%license wix/license.rtf
%license LICENSE.dependencies
%doc CHANGELOG.md
%doc README.md
%{_bindir}/halloy
%{_datadir}/icons/halloy.png
%{_datadir}/applications/halloy.desktop
%changelog
%autochangelog
-2
View File
@@ -1,2 +0,0 @@
let ver = gh("squidowl/halloy"); // gets latest version from GitHub
rpm.version(ver); // updates the version in the spec file using `ver`
+2 -2
View File
@@ -3,10 +3,10 @@
%global gtk4_version 4.14.4
%global libadwaita_version 1.5.1
%global pure_protobuf_version 2.0.0
%global raw_ver v1.82.0
%global raw_ver v1.77.0
Name: komikku
Version: 1.82.0
Version: 1.77.0
%forgemeta
Release: 1%?dist
Summary: A manga reader for GNOME
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "legcord-bin.spec"
}
}
@@ -0,0 +1,92 @@
%define debug_package %nil
%global _build_id_links none
%ifarch x86_64
%global src Legcord-%version-linux-x64
%elifarch aarch64
%global src Legcord-%version-linux-arm64
%elifarch armv7l
%global src Legcord-%version-linux-armv7l
%endif
# Exclude private libraries
%global __requires_exclude libffmpeg.so
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
Name: legcord-bin
Version: 1.1.4
Release: 1%?dist
License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/Legcord/Legcord
Group: Applications/Internet
Source0: %url/releases/download/v%version/%src.tar.gz
Source1: legcord.png
Source2: https://raw.githubusercontent.com/Legcord/Legcord/v%version/README.md
Requires: xdg-utils
ExclusiveArch: x86_64 aarch64 armv7l
Conflicts: legcord
Conflicts: legcord-nightly
BuildRequires: add-determinism
Obsoletes: armcord < 3.3.2-1
%description
Legcord is a custom client designed to enhance your Discord experience
while keeping everything lightweight.
%prep
%autosetup -n %src
cat <<EOF > .legcord.desktop
[Desktop Entry]
Name=Legcord
Comment=%summary
GenericName=Internet Messenger
Type=Application
Exec=%_bindir/legcord
Icon=legcord
Categories=Network;InstantMessaging;
StartupWMClass=legcord
Keywords=discord;armcord;legcord;vencord;shelter;electron;
EOF
%build
%install
mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_datadir/pixmaps %buildroot%_datadir/legcord %buildroot%_docdir/%name
cp -a * %buildroot%_datadir/legcord/
ln -s %_datadir/legcord/legcord %buildroot%_bindir/legcord
ln -s %_datadir/legcord %buildroot%_datadir/armcord
chmod +x -R %buildroot%_datadir/legcord/*
chmod 755 %buildroot%_datadir/legcord/legcord
install -Dm644 .legcord.desktop %buildroot%_datadir/applications/LegCord.desktop
install -Dm644 %SOURCE1 %buildroot%_datadir/pixmaps/legcord.png
install -Dm644 %SOURCE2 %buildroot%_docdir/%name/
# HACK: rpm bug for unability to replace existing files on system.
%pre
if [ -d %_datadir/armcord ] && [ ! -L %_datadir/armcord ]; then
echo "Found old %_datadir/armcord directory, removing"
rm -rf %_datadir/armcord
fi
%files
%doc README.md
%_datadir/legcord
%_datadir/armcord
%_bindir/legcord
%_datadir/applications/LegCord.desktop
%_datadir/pixmaps/legcord.png
%changelog
* Mon Oct 21 2024 madonuko <mado@fyralabs.com> - 1.0.2-2
- Rename to LegCord.
* Sat Jun 17 2023 madonuko <mado@fyralabs.com> - 3.2.0-2
- Remove libnotify dependency.
- Fix desktop entry.
- Set as noarch package because there are not binary files.
- Use /usr/share/ instead of /opt/
* Sat May 6 2023 madonuko <mado@fyralabs.com> - 3.1.7-1
- Initial package
Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

@@ -0,0 +1 @@
rpm.version(gh("LegCord/LegCord"));
+2 -2
View File
@@ -1,9 +1,9 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "legcord-nightly.spec"
}
labels {
nightly = 1
mock = 1
}
}
}
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
electron=/usr/bin/electron
CONFIG=${XDG_CONFIG_HOME:-~/.config}
FLAGS="$CONFIG/armcord-flags.conf"
# Allow users to override command-line options
if [ -f "$FLAGS" ]; then
USER_FLAGS="$(cat "$FLAGS")"
fi
# shellcheck disable=SC2086 # USER_FLAGS has to be unquoted
"$electron" /usr/share/armcord/app.asar $USER_FLAGS "$@"
+45 -45
View File
@@ -1,14 +1,7 @@
%global commit 0b1a005936552abd5aed144bdc0ca5a82f2fa682
%global commit_date 20250622
%global commit 8fc35a3b13f4dd64ffef7cc89221db61d36c8c78
%global commit_date 20250525
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global debug_package %nil
%global __strip /bin/true
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
%ifnarch aarch64
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
%elifarch aarch64
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
%endif
%define debug_package %nil
Name: legcord-nightly
Version: %commit_date.%shortcommit
@@ -17,60 +10,67 @@ License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/Legcord/Legcord
Group: Applications/Internet
Source0: %url/archive/%commit/Legcord-%commit.tar.gz
Source1: launch.sh
Packager: Owen <owen@fyralabs.com>
Requires: xdg-utils
Requires: electron xdg-utils
Provides: armcord-nightly
Obsoletes: armcord < 3.3.2-1
Conflicts: legcord-bin
Conflicts: legcord
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel
BuildArch: noarch
BuildRequires: anda-srpm-macros pnpm
%description
Legcord is a custom client designed to enhance your Discord experience
while keeping everything lightweight.
%prep
%git_clone %{url}.git %{commit}
%autosetup -n Legcord-%commit
cat <<EOF > legcord.desktop
[Desktop Entry]
Name=Legcord
Comment=%summary
GenericName=Internet Messenger
Type=Application
Exec=/usr/bin/legcord
Icon=legcord
Categories=Network;InstantMessaging;
StartupWMClass=legcord
Keywords=discord;armcord;legcord;vencord;shelter;electron;
EOF
%build
pnpm install
pnpm run build
pnpm run package --linux AppImage tar.gz
pnpm install --no-frozen-lockfile
pnpm run packageQuick
%install
mkdir -p %{buildroot}%{_datadir}/legcord
%ifarch aarch64
mv dist/linux-arm64-unpacked/* %{buildroot}%{_datadir}/legcord
%else
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/legcord
%endif
install -Dm644 dist/*-unpacked/resources/app.asar %buildroot/usr/share/legcord/app.asar
mkdir -p %{buildroot}%{_bindir}
ln -sf %{_datadir}/legcord/legcord %{buildroot}%{_bindir}/legcord
install -Dm644 dist/.icon-set/icon_16.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/legcord.png
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/legcord.png
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/legcord.png
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}%{_iconsdir}/hicolor/64x64/apps/legcord.png
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}%{_iconsdir}/hicolor/128x128/apps/legcord.png
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}%{_iconsdir}/hicolor/256x256/apps/legcord.png
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}%{_iconsdir}/hicolor/512x512/apps/legcord.png
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}%{_iconsdir}/hicolor/1024x1024/apps/legcord.png
install -Dm755 %SOURCE1 %buildroot/usr/bin/legcord
install -Dm644 legcord.desktop %buildroot/usr/share/applications/LegCord.desktop
install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/legcord.png
dist/Legcord-*.AppImage --appimage-extract '*.desktop'
desktop-file-install --set-key=Exec --set-value="%{_datadir}/legcord/legcord %U" squashfs-root/legcord.desktop
ln -s %_datadir/legcord %buildroot%_datadir/armcord
# HACK: rpm bug for unability to replace existing files on system.
%pre
if [ -d %_datadir/armcord ] && [ ! -L %_datadir/armcord ]; then
echo "Found old %_datadir/armcord directory, removing"
rm -rf %_datadir/armcord
fi
%files
%doc README.md
%license license.txt
%{_bindir}/legcord
%{_datadir}/applications/legcord.desktop
%{_datadir}/legcord/
%{_iconsdir}/hicolor/16x16/apps/legcord.png
%{_iconsdir}/hicolor/32x32/apps/legcord.png
%{_iconsdir}/hicolor/48x48/apps/legcord.png
%{_iconsdir}/hicolor/64x64/apps/legcord.png
%{_iconsdir}/hicolor/128x128/apps/legcord.png
%{_iconsdir}/hicolor/256x256/apps/legcord.png
%{_iconsdir}/hicolor/512x512/apps/legcord.png
%{_iconsdir}/hicolor/1024x1024/apps/legcord.png
/usr/bin/legcord
/usr/share/applications/LegCord.desktop
/usr/share/pixmaps/legcord.png
/usr/share/legcord/app.asar
/usr/share/armcord
%changelog
* Fri Nov 22 2024 owen <owen@fyralabs.com> - 1.0.2-2
+2 -4
View File
@@ -1,8 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "legcord.spec"
}
labels {
mock =1
}
}
}
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
electron=/usr/bin/electron
CONFIG=${XDG_CONFIG_HOME:-~/.config}
FLAGS="$CONFIG/armcord-flags.conf"
# Allow users to override command-line options
if [ -f "$FLAGS" ]; then
USER_FLAGS="$(cat "$FLAGS")"
fi
# shellcheck disable=SC2086 # USER_FLAGS has to be unquoted
"$electron" /usr/share/armcord/app.asar $USER_FLAGS "$@"
+44 -43
View File
@@ -1,26 +1,25 @@
%define debug_package %nil
# Exclude private libraries
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
%ifnarch aarch64
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
%elifarch aarch64
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
%endif
%global __requires_exclude libffmpeg.so
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
Name: legcord
Version: 1.1.5
Release: 2%?dist
Version: 1.1.4
Release: 1%?dist
License: OSL-3.0
Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/Legcord/Legcord
Group: Applications/Internet
Source1: launch.sh
Packager: madonuko <mado@fyralabs.com>
Requires: xdg-utils
Requires: electron xdg-utils
Provides: armcord
Obsoletes: armcord < 3.3.2-1
Obsoletes: legcord-bin < 1.1.5-2
Conflicts: legcord-bin
Conflicts: legcord-nightly
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel
BuildArch: noarch
BuildRequires: anda-srpm-macros pnpm
%description
Legcord is a custom client designed to enhance your Discord experience
@@ -29,47 +28,49 @@ while keeping everything lightweight.
%prep
%git_clone %url v%version
cat <<EOF > legcord.desktop
[Desktop Entry]
Name=Legcord
Comment=%summary
GenericName=Internet Messenger
Type=Application
Exec=/usr/bin/legcord
Icon=legcord
Categories=Network;InstantMessaging;
StartupWMClass=legcord
Keywords=discord;armcord;legcord;vencord;shelter;electron;
EOF
%build
pnpm install
pnpm run build
pnpm run package --linux AppImage tar.gz
pnpm install --no-frozen-lockfile
pnpm run packageQuick
%install
mkdir -p %{buildroot}%{_datadir}/legcord
%ifarch aarch64
mv dist/linux-arm64-unpacked/* %{buildroot}%{_datadir}/legcord
%else
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/legcord
%endif
install -Dm644 dist/*-unpacked/resources/app.asar %buildroot/usr/share/legcord/app.asar
mkdir -p %{buildroot}%{_bindir}
ln -sf %{_datadir}/legcord/legcord %{buildroot}%{_bindir}/legcord
install -Dm644 dist/.icon-set/icon_16.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/legcord.png
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/legcord.png
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}%{_iconsdir}/hicolor/48x48/apps/legcord.png
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}%{_iconsdir}/hicolor/64x64/apps/legcord.png
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}%{_iconsdir}/hicolor/128x128/apps/legcord.png
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}%{_iconsdir}/hicolor/256x256/apps/legcord.png
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}%{_iconsdir}/hicolor/512x512/apps/legcord.png
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}%{_iconsdir}/hicolor/1024x1024/apps/legcord.png
install -Dm755 %SOURCE1 %buildroot/usr/bin/legcord
install -Dm644 legcord.desktop %buildroot/usr/share/applications/LegCord.desktop
install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/legcord.png
dist/Legcord-*.AppImage --appimage-extract '*.desktop'
desktop-file-install --set-key=Exec --set-value="%{_datadir}/legcord/legcord %U" squashfs-root/legcord.desktop
ln -s %_datadir/legcord %buildroot%_datadir/armcord
# HACK: rpm bug for unability to replace existing files on system.
%pre
if [ -d %_datadir/armcord ] && [ ! -L %_datadir/armcord ]; then
echo "Found old %_datadir/armcord directory, removing"
rm -rf %_datadir/armcord
fi
%files
%doc README.md
%license license.txt
%{_bindir}/legcord
%{_datadir}/applications/legcord.desktop
%{_datadir}/legcord/
%{_iconsdir}/hicolor/16x16/apps/legcord.png
%{_iconsdir}/hicolor/32x32/apps/legcord.png
%{_iconsdir}/hicolor/48x48/apps/legcord.png
%{_iconsdir}/hicolor/64x64/apps/legcord.png
%{_iconsdir}/hicolor/128x128/apps/legcord.png
%{_iconsdir}/hicolor/256x256/apps/legcord.png
%{_iconsdir}/hicolor/512x512/apps/legcord.png
%{_iconsdir}/hicolor/1024x1024/apps/legcord.png
/usr/bin/legcord
/usr/share/applications/LegCord.desktop
/usr/share/pixmaps/legcord.png
/usr/share/legcord/app.asar
/usr/share/armcord
%changelog
* Mon Oct 21 2024 madonuko <mado@fyralabs.com> - 1.0.2-2
+40 -3
View File
@@ -1,6 +1,6 @@
%global commit fdbea0fe66e7bd28610fee4c837810f2c0da1503
%global commit 1d1535ff9124fdeb3c81a2f089551e2cc8404613
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250715
%global commit_date 20250523
%global ver 0.40.0
Name: mpv-nightly
@@ -124,7 +124,32 @@ Requires: mpv-nightly-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
This package contains development header files and libraries for Mpv.
%pkg_completion -Bfz mpv
%package bash-completion
Summary: MPV Bash completion
Requires: bash
Requires: %{name}
Supplements: (%{name} and bash)
%description bash-completion
Bash shell completion for MPV.
%package fish-completion
Summary: MPV Fish completion
Requires: fish
Requires: %{name}
Supplements: (%{name} and fish)
%description fish-completion
Fish shell completion for MPV.
%package zsh-completion
Summary: MPV Zsh completion
Requires: zsh
Requires: %{name}
Supplements: (%{name} and zsh)
%description zsh-completion
Zsh shell completion for MPV.
%prep
%autosetup -p1 -n mpv-%commit
@@ -221,3 +246,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/mpv.desktop
%{_includedir}/mpv/
%{_libdir}/libmpv.so
%{_libdir}/pkgconfig/mpv.pc
%files bash-completion
%{bash_completions_dir}/mpv
%files fish-completion
%{fish_completions_dir}/mpv.fish
%files zsh-completion
%{zsh_completions_dir}/_mpv
%changelog
%autochangelog
@@ -1 +1 @@
v1.11.15
v1.11.11
+2 -2
View File
@@ -1,6 +1,6 @@
%global gomodulesmode GO111MODULE=on
Name: nekoray
Version: 4.3.7
Version: 4.3.5
Release: 1%?dist
Summary: Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
URL: https://github.com/Mahdi-zarei/nekoray
@@ -52,7 +52,7 @@ Summary: %{summary}
%autosetup -p1 -n %{name}-%{version}
sed -i 's~find_package(Protobuf CONFIG REQUIRED)~find_package(Protobuf REQUIRED)~' cmake/myproto.cmake
sed -i 's~add_library(qhotkey 3rdparty/QHotkey/qhotkey.cpp)~add_library(qhotkey STATIC 3rdparty/QHotkey/qhotkey.cpp)~' cmake/QHotkey.cmake
# sed -i 's~ImageFormat::BGRA~ImageFormat::BGR~' 3rdparty/ZxingQtReader.hpp
sed -i 's~ImageFormat::BGRA~ImageFormat::BGR~' 3rdparty/ZxingQtReader.hpp
pushd core/server
%{fetch_vendor}
popd
-1
View File
@@ -4,7 +4,6 @@ version=$(rpmspec --query --queryformat "%{VERSION}\n" nekoray.spec | uniq)
tar -xzf "nekoray-${version}.tar.gz"
pushd "nekoray-${version}/core/server"
go mod download github.com/stretchr/testify
go mod vendor
tar -czf "${sourcedir}/vendor-${version}.tar.gz" vendor
popd
+1 -1
View File
@@ -1,7 +1,7 @@
%global __brp_mangle_shebangs %{nil}
Name: neohtop
Version: 1.2.0
Version: 1.1.2
Release: 1%?dist
Summary: System monitoring on steroids
License: MIT
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "opensnitch.spec"
}
}
-119
View File
@@ -1,119 +0,0 @@
# Generated by go2rpm 1.16.0
%bcond check 1
%bcond bootstrap 0
# https://github.com/evilsocket/opensnitch
%global goipath github.com/evilsocket/opensnitch
Version: 1.7.0.0
%gometa -f
%global common_description %{expand:
OpenSnitch is a GNU/Linux interactive application firewall inspired by Little
Snitch.}
%global golicenses LICENSE ui/LICENSE\\\
ui/opensnitch/res/themes/dark/icons/LICENSE
%global godocs README.md ebpf_prog/README ui/requirements.txt\\\
ui/i18n/README.md example example example\\\
utils/packaging/daemon/deb/debian/changelog\\\
utils/packaging/ui/deb/debian/changelog
Name: opensnitch
Release: %autorelease
Summary: OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch
License: GPL-3.0-only AND LGPL-2.1-or-later
URL: %{gourl}
Source: %{gosource}
BuildRequires: gcc-c++
BuildRequires: python3-devel
BuildRequires: python-rpm-macros
BuildRequires: python3dist(pip)
BuildRequires: python3dist(setuptools) >= 61.0
BuildRequires: python3dist(wheel) >= 0.37.1
BuildRequires: python3dist(pyqt5)
BuildRequires: /usr/bin/lrelease-qt5
BuildRequires: protobuf-compiler
BuildRequires: pkgconfig(libnetfilter_queue)
#BuildRequires: protoc-gen-go
#BuildRequires: /usr/bin/protoc-gen-go-grpc
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1
export GOBIN=$(go env GOPATH | sed -E 's/:.+$//')/bin
echo $GOBIN > %_builddir/gobin
go install github.com/golang/protobuf/protoc-gen-go@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
sed -i 's/@pip3 /@python3 -m pip /' ui/Makefile
%build
pushd ui
%make_build deps
popd
export GOBIN=$(cat %_builddir/gobin)
export PATH=$GOBIN:$PATH
pushd proto
%make_build
popd
pushd ui
%make_build
%pyproject_wheel
popd
%global gomodulesmode GO111MODULE=on
pushd daemon
%gobuild -o ../opensnitchd .
popd
%install
%gopkginstall
install -Dm755 opensnitchd -t %buildroot%_bindir
pushd ui
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
%pyproject_save_files %name
%endif
popd
rm -rf %buildroot%python3_sitelib/tests/
cp -r %buildroot%python3_sitelib%_usr/ %buildroot%_usr/ --preserve=all --no-target-directory
rm -rf %buildroot%python3_sitelib%_usr
%if 0%{?fedora} <= 41
%files
%{python3_sitelib}/%name/
%{python3_sitelib}/%name-%{version}-py%{python3_version}.egg-info/
%else
%files -f %{pyproject_files}
%endif
%license LICENSE
%doc README.md
%_bindir/opensnitch-ui
%_bindir/opensnitchd
%_datadir/applications/opensnitch_ui.desktop
%_iconsdir/hicolor/48x48/apps/opensnitch-ui.png
%_iconsdir/hicolor/64x64/apps/opensnitch-ui.png
%_iconsdir/hicolor/scalable/apps/opensnitch-ui.svg
%_datadir/kservices5/kcm_opensnitch.desktop
%_metainfodir/io.github.evilsocket.opensnitch.appdata.xml
/usr/share/icons/hicolor/scalable/apps/opensnitch-ui.svg
%gopkgfiles
View File
+1 -1
View File
@@ -2,7 +2,7 @@
%define debug_package %nil
Name: peazip
Version: 10.5.0
Version: 10.4.0
Release: 1%?dist
Summary: Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager
License: LGPL-3.0-only
-9
View File
@@ -1,9 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "protontricks.spec"
}
labels {
subrepo = "extras"
}
}
-92
View File
@@ -1,92 +0,0 @@
%bcond_with tests
%global pypi_name protontricks
Name: terra-%{pypi_name}
Version: 1.12.1
Release: 1%{?dist}
Summary: Simple wrapper that does winetricks things for Proton enabled games
BuildArch: noarch
License: GPL-3.0-or-later
URL: https://github.com/Matoking/protontricks
# GitHub tarball won't work for setuptools-scm
Source0: %{pypi_source}
BuildRequires: desktop-file-utils
BuildRequires: python3-devel
BuildRequires: python3dist(pip)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(setuptools-scm)
# BuildRequires: python3dist(vdf) >= 3.4
%if %{with tests}
BuildRequires: python3dist(pytest-cov) >= 2.10
BuildRequires: python3dist(pytest) >= 6.0
%endif
Requires: (terra-winetricks or winetricks-git)
Conflicts: protontricks
Recommends: yad
Suggests: zenity
# https://github.com/Matoking/protontricks/blob/master/CHANGELOG.md#1120---2024-09-16
Provides: bundled(python3-vdf)
%description
A simple wrapper that does winetricks things for Proton enabled games,
requires Winetricks.
This is a fork of the original project created by sirmentio. The original
repository is available at Sirmentio/protontricks.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%if 0%{?fedora} <= 41
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
%endif
# Remove `protontricks-desktop-install`, since we already install .desktop
# files properly
# https://bugzilla.redhat.com/show_bug.cgi?id=1991684
rm %{buildroot}%{_bindir}/%{pypi_name}-desktop-install
%if %{with tests}
%check
%{py3_test_envvars} %{python3} -m pytest -v
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%endif
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/%{pypi_name}-launch
%{_bindir}/%{pypi_name}
%{_datadir}/applications/*.desktop
%{python3_sitelib}/%{pypi_name}/
%if 0%{?fedora} <= 41
%{python3_sitelib}/%{pypi_name}-%{version}*.egg-info/
%else
%{python3_sitelib}/%{pypi_name}-%{version}*.dist-info/
%endif
%changelog
%autochangelog
-1
View File
@@ -1 +0,0 @@
rpm.version(pypi("protontricks"));
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2025-07-15
%global ver 2025-05-25
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
@@ -6,7 +6,7 @@
Name: vencord-desktop
Provides: VencordDesktop = %{version}-%{release}
Version: 1.5.8
Version: 1.5.6
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
+2 -2
View File
@@ -13,8 +13,8 @@
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
Name: voicevox
Version: 0.24.2
Release: 1%?dist
Version: 0.23.0
Release: 2%?dist
Summary: Free Japanese text-to-speech editor
License: LGPL-3.0
URL: https://voicevox.hiroshiba.jp
-6
View File
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "vpkedit.spec"
}
}
-1
View File
@@ -1 +0,0 @@
rpm.version(gh("craftablescience/VPKEdit"));
-55
View File
@@ -1,55 +0,0 @@
Name: vpkedit
Version: 4.4.2
Release: 3%?dist
Summary: A CLI/GUI tool to create, read, and write several pack file formats
License: MIT
URL: https://github.com/craftablescience/VPKEdit
Requires: qt6-qtbase hicolor-icon-theme
Suggests: qt6-qtwayland
Packager: madonuko <mado@fyralabs.com>
BuildRequires: cmake git-core gcc gcc-c++ binutils
BuildRequires: cmake(Qt6)
BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(Qt6Linguist)
BuildRequires: cmake(Qt6Charts)
BuildRequires: cmake(Qt6LinguistTools)
ExclusiveArch: x86_64
%description
VPKEdit is an open source MIT-licensed tool that can extract from, preview the
contents of and write to several pack file formats. It also supports creating
new VPKs.
%prep
%git_clone %url v%version
%build
%cmake -DCMAKE_INSTALL_PREFIX=%_libdir/%name \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCMAKE_BUILD_TYPE=Release
# -DVPKEDIT_BUILD_LIBC=ON
%cmake_build
%install
%cmake_install
pushd %buildroot%_libdir/%name
rm -rf {libQt*,*.md,LICENSE}
popd
ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit
ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli
sed -i 's@Exec=/opt/vpkedit/@Exec=@g' %buildroot%_datadir/applications/vpkedit.desktop
%files
%doc README.md CREDITS.md
%license LICENSE
%_bindir/vpkedit
%_bindir/vpkeditcli
%_libdir/%name/
%_datadir/applications/vpkedit.desktop
%_iconsdir/hicolor/128x128/mimetypes/application-x-vpkedit.png
%_datadir/mime/packages/vpkedit.xml
%_datadir/pixmaps/vpkedit.png
+3 -3
View File
@@ -1,13 +1,13 @@
# Fedora sometimes sources the snapshots under stable versions and just bumps release
# For user clarity I have separated these into different packages
%global commit 5eed63521781ffc2f0c4bbee7ec9e215b13a1243
%global commit 00427b67de70bfefd282d0abc7edd1daa442e73e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 20250102
%global commit_date 20250711
%global commit_date 20250504
Name: winetricks-git
Version: %{ver}^%{commit_date}git.%{shortcommit}
Release: 1%?dist
Release: 1%{?dist}
Summary: Work around common problems in Wine; Winetricks Git builds
License: LGPL-2.1-or-later
URL: https://github.com/Winetricks/winetricks
+7 -30
View File
@@ -1,6 +1,6 @@
Name: WoeUSB-ng
Version: 0.2.12
Release: 2%?dist
Release: 1%?dist
Summary: Simple tool that enable you to create your own usb stick with Windows installer
License: GPL-3.0-only
Requires: parted dosfstools ntfsprogs p7zip p7zip-plugins xdg-utils grub2-tools
@@ -8,44 +8,28 @@ URL: https://github.com/WoeUSB/WoeUSB-ng
Source: https://github.com/WoeUSB/WoeUSB-ng/archive/refs/tags/v%version.tar.gz
Patch0: https://patch-diff.githubusercontent.com/raw/WoeUSB/WoeUSB-ng/pull/79.patch
BuildArch: noarch
Requires: python3-%{name} = %{evr}
BuildRequires: anda-srpm-macros python3-devel python3-installer pyproject-rpm-macros python3dist(pip) python3dist(setuptools) python3dist(termcolor) python3dist(wxpython) python3dist(wheel)
BuildRequires: python3-devel python3-installer
%global _description %{expand:
WoeUSB-ng is a simple tool that enable you to create your own usb stick windows installer from an iso image or a real DVD. This is a rewrite of original WoeUSB.}
%description %_description
%package -n python3-%{name}
Summary: Python files for %{name}
Requires: %{name} = %{evr}
BuildArch: noarch
%description -n python3-%{name}
Python files needed for %{name}.
%prep
%autosetup -p1
%if 0%{?fedora} > 41
%generate_buildrequires
%pyproject_buildrequires
%endif
%build
%if 0%{?fedora} <= 41
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
%pyproject_save_files WoeUSB
%endif
install -Dpm644 miscellaneous/WoeUSB-ng.desktop %buildroot%_datadir/applications/WoeUSB-ng.desktop
install -Dpm644 miscellaneous/com.github.woeusb.woeusb-ng.policy %buildroot%_datadir/polkit-1/actions/com.github.woeusb.woeusb-ng.policy
@@ -53,21 +37,14 @@ install -Dpm644 miscellaneous/com.github.woeusb.woeusb-ng.policy %buildroot%_dat
%check
#pyproject_check_import
%files
%files -f %{pyproject_files}
%_bindir/woeusb
%_bindir/woeusbgui
%_datadir/applications/WoeUSB-ng.desktop
%_iconsdir/hicolor/scalable/apps/woeusb-logo.png
%_datadir/polkit-1/actions/com.github.woeusb.woeusb-ng.policy
%if 0%{?fedora} <= 41
%files -n python3-%{name}
%{python3_sitelib}/WoeUSB/
%{python3_sitelib}/woeusb_ng-%{version}-py%{python3_version}.egg-info/
%else
%files -n python3-%{name} -f %{pyproject_files}
%endif
%changelog
%autochangelog
-1
View File
@@ -1,5 +1,4 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "WoeUSB-ng.spec"
}
+2 -2
View File
@@ -12,7 +12,7 @@
%global vendor_pnpm 1
Name: youtube-music
Version: 3.10.0
Version: 3.9.0
Release: 1%?dist
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
Source1: youtube-music.desktop
@@ -53,7 +53,7 @@ git checkout v%{version}
%if 0%{?vendor_pnpm}
curl -fsSL https://get.pnpm.io/install.sh | sh -
source $HOME/.bashrc
pnpm env use --global 22
pnpm env use --global 20
%endif
pnpm install
pnpm build
+1 -1
View File
@@ -1,4 +1,4 @@
%define _ubuntu_rel 22.10.20220822-0ubuntu16
%define _ubuntu_rel 22.10.20220822-0ubuntu13
%global _hardened_build 0
Name: compiz9
@@ -1,6 +1,6 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version 48
%global minor_version 2
%global minor_version 1
%if 0%{?rhel}
%global portal_helper 0
@@ -10,7 +10,7 @@
Name: gnome-shell
Version: %{major_version}.%{minor_version}
Release: 3%{?dist}.switcheroo
Release: 2%{?dist}.switcheroo
Summary: Window management and application launching for GNOME
Provides: gnome-shell.switcheroo = %version-%release
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "nautilus-open-any-terminal.spec"
}
}
@@ -1,101 +0,0 @@
%global pypi_name nautilus_open_any_terminal
Name: nautilus-open-any-terminal
Version: 0.6.1
Release: 2%?dist
Summary: Context-menu entry for opening other terminal in Nautilus
License: GPL-3.0-only
URL: https://github.com/Stunkymonkey/nautilus-open-any-terminal
Source0: %{pypi_source}
Source1: https://raw.githubusercontent.com/Stunkymonkey/nautilus-open-any-terminal/refs/tags/%version/README.md
Source2: https://raw.githubusercontent.com/Stunkymonkey/nautilus-open-any-terminal/refs/tags/%version/LICENSE
Packager: madonuko <mado@fyralabs.com>
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools-scm)
BuildRequires: python3dist(pip)
BuildRequires: gettext
Requires: python3-%{name} = %{version}-%{release}
Requires: %{name}-caja = %{version}-%{release}
Obsoletes: python3-%{name} < 0.6.1-2
%global _description %{expand:
nautilus-open-any-terminal is an extension for nautilus, which adds an context-entry for opening other terminal emulators than `gnome-terminal`.}
%description %_description
%package -n %{name}-caja
Summary: Caja files for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description -n nautilus-open-any-terminal-caja
Python-caja files for %{name}.
%package -n python3-nautilus-open-any-terminal
Summary: Python files for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description -n python3-nautilus-open-any-terminal
Python files for %{name}.
%prep
%autosetup -n nautilus_open_any_terminal-%version
cp %{S:1} %{S:2} .
#generate_buildrequires
#pyproject_buildrequires
%build
%if 0%{?fedora} <= 41
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
%pyproject_save_files -l %{pypi_name}
%endif
#check
#pyproject_check_import
%files
%doc README.md
%license LICENSE
# These are GNOME config files
%_datadir/glib-2.0/schemas/com.github.stunkymonkey.nautilus-open-any-terminal.gschema.xml
%_datadir/locale/*/LC_MESSAGES/nautilus-open-any-terminal.mo
# As asinine as it is these don't belong in a Python subpackage because they're Nautilus files
%_datadir/nautilus-python/extensions/%{pypi_name}.py
%if 0%{?fedora} > 41
%_datadir/nautilus-python/extensions/__pycache__/%{pypi_name}.cpython-*.pyc
%endif
%files -n %{name}-caja
# Congratulations! You have discovered a -caja subpackage
%_datadir/caja-python/extensions/nautilus_open_any_terminal.py
%if 0%{?fedora} > 41
%_datadir/caja-python/extensions/__pycache__/%{pypi_name}.cpython-*.pyc
%endif
%if 0%{?fedora} <= 41
%files -n python3-nautilus-open-any-terminal
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%else
%files -n python3-nautilus-open-any-terminal -f %{pyproject_files}
%endif
@@ -1 +0,0 @@
rpm.version(pypi("nautilus_open_any_terminal"));
-1
View File
@@ -5,6 +5,5 @@ project pkg {
labels {
subrepo = "extras"
updbranch = 1
mock = 1
}
}
+26 -28
View File
@@ -1,20 +1,20 @@
%global framework kio
%global stable_kf6 stable
%global majmin_ver_kf6 6.16
%global majmin_ver_kf6 6.14
Name: kf6-%{framework}
Version: %{majmin_ver_kf6}.0
Release: 1%{?dist}.switcheroo
Release: 3%{?dist}.switcheroo
Summary: KDE Frameworks 6 Tier 3 solution for filesystem abstraction
Obsoletes: kf6-%{framework}.switcheroo < 6.14.0-4
Provides: kf6-%{framework}.switcheroo = %version-%release
Obsoletes: kf6-%{framework}.switcheroo < 6.13.0-2
License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT
URL: https://invent.kde.org/frameworks/%{framework}
Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz
Source1: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz.sig
# https://invent.kde.org/frameworks/kio/-/issues/26
# I'm not sending this upstream because I'm not sure it's really
@@ -28,6 +28,9 @@ Patch0: 0001-Give-the-kuriikwsfiltereng_private-a-VERSION-and-SOV.patch
Patch101: kio-no-help-protocol.patch
%endif
# https://invent.kde.org/frameworks/kio/-/merge_requests/1556
Patch201: 1556.patch
Provides: kf6-%{framework}
BuildRequires: extra-cmake-modules
BuildRequires: gcc-c++
@@ -99,7 +102,7 @@ Requires: cmake(KF6Solid)
Requires: cmake(KF6XmlGui)
Requires: cmake(KF6WindowSystem)
Requires: qt6-qtbase-devel
Obsoletes: kf6-kio.switcheroo-devel < 6.14.0-4
Provides: kf6-kio-devel = %version-%release
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
@@ -108,7 +111,8 @@ developing applications that use %{name}.
Summary: Documentation files for %{name}
Requires: %{name}-core = %{version}-%{release}
BuildArch: noarch
Obsoletes: kf6-kio.switcheroo-doc < 6.14.0-4
Provides: kf6-kio-doc = %version-%release
Obsoletes: kf6-kio-doc <= %version-%release
%description doc
Documentation for %{name}.
@@ -119,14 +123,16 @@ Requires: %{name}-core-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-doc = %{version}-%{release}
Requires: kf6-filesystem
Recommends: switcheroo-control
Obsoletes: kf6-kio.switcheroo-core < 6.14.0-4
Provides: kf6-kio-core = %version-%release
Obsoletes: kf6-kio-core <= %version-%release
%description core
KIOCore library provides core non-GUI components for working with KIO.
%package core-libs
Summary: Runtime libraries for KIO Core
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Obsoletes: kf6-kio.switcheroo-core-libs < 6.14.0-4
Provides: kf6-kio-core-libs = %version-%release
Obsoletes: kf6-kio-core-libs <= %version-%release
%description core-libs
%{summary}.
@@ -136,7 +142,8 @@ Summary: Widgets for KIO Framework
## included here for completeness, even those -core already has a dependency.
%{?kf6_kinit_requires}
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Obsoletes: kf6-kio.switcheroo-widgets < 6.14.0-4
Provides: kf6-kio-widgets = %version-%release
Obsoletes: kf6-kio-widgets <= %version-%release
%description widgets
KIOWidgets contains classes that provide generic job control, progress
reporting, etc.
@@ -144,14 +151,16 @@ reporting, etc.
%package widgets-libs
Summary: Runtime libraries for KIO Widgets library
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
Obsoletes: kf6-kio.switcheroo-widgets-libs < 6.14.0-4
Provides: kf6-kio-widgets-libs = %version-%release
Obsoletes: kf6-kio-widgets-libs <= %version-%release
%description widgets-libs
%{summary}.
%package file-widgets
Summary: Widgets for file-handling for KIO Framework
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
Obsoletes: kf6-kio.switcheroo-file-widgets < 6.14.0-4
Provides: kf6-kio-file-widgets = %version-%release
Obsoletes: kf6-kio-file-widgets <= %version-%release
%description file-widgets
The KIOFileWidgets library provides the file selection dialog and
its components.
@@ -160,23 +169,18 @@ its components.
Summary: Gui components for the KIO Framework
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Provides: kf6-kio-gui = %version-%release
Obsoletes: kf6-kio.switcheroo-gui < 6.14.0-4
Obsoletes: kf6-kio-gui <= %version-%release
%description gui
%{summary}.
%package qch-doc
Summary: Developer Documentation files for %{name}
BuildArch: noarch
Obsoletes: kf6-kio.switcheroo-qch-doc < 6.14.0-4
Provides: kf6-kio-qch-doc = %version-%release
Obsoletes: kf6-kio-qch-doc <= %version-%release
%description qch-doc
Developer Documentation files for %{name} for use with KDevelop or QtCreator.
%package html
Summary: Developer Documentation files for %{name}
BuildArch: noarch
%description html
Developer Documentation files for %{name} in HTML format
%prep
%autosetup -n %{framework}-%{version} -p1
@@ -184,11 +188,11 @@ Developer Documentation files for %{name} in HTML format
%build
%cmake_kf6
%cmake_build_kf6
%cmake_build
%install
%cmake_install_kf6
%cmake_install
%find_lang kf6-kio --all-name --with-man --with-html
%files
@@ -235,17 +239,11 @@ Developer Documentation files for %{name} in HTML format
%{_kf6_libdir}/cmake/KF6KIO/
%{_kf6_datadir}/kdevappwizard/templates/kioworker6.tar.bz2
%{_kf6_qtplugindir}/designer/kio6widgets.so
%{_qt6_docdir}/*/*.tags
%{_qt6_docdir}/*/*.index
%{_qt6_docdir}/*.tags
%files qch-doc
%{_qt6_docdir}/*.qch
%files html
%{_qt6_docdir}/*/*
%exclude %{_qt6_docdir}/*/*.tags
%exclude %{_qt6_docdir}/*/*.index
%changelog
* Fri Feb 07 2025 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.11.0-1
- 6.11.0
@@ -1,5 +1,5 @@
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
%global commit d10dc96fed940a01e129aae5202403aa61148c5d
%global commit 20e3ba0409e38ed34b96435282cd83317ccc3933
%forgemeta
Name: lomiri-system-settings
@@ -9,10 +9,8 @@ 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.3.1-4/debian/patches/0001_lib-LomiriSystemSettingsPrivate-accountsservice.cpp-Register-missing-D-Bus-types.patch
Patch1: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.1-4/debian/patches/2002_use-Noto-font-instead-of-Ubuntu-font.patch
Patch2: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.1-4/debian/patches/2011_build-without-trust-store.patch
Patch3: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.1-4/debian/patches/2013_show-hotspot-on-desktop.patch
Patch0: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.1-2/debian/patches/2002_use-Noto-font-instead-of-Ubuntu-font.patch
Patch1: https://sources.debian.org/data/main/l/lomiri-system-settings/1.3.1-2/debian/patches/2011_build-without-trust-store.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -75,10 +73,10 @@ developing applications that use %{name}.
%dir %{_datadir}/lomiri-system-settings
%{_datadir}/lomiri-system-settings/*.settings
%{_datadir}/lomiri-system-settings/*.svg
%dnl %{_datadir}/lomiri-system-settings/*.png
%{_datadir}/lomiri-system-settings/*.png
%{_datadir}/lomiri-system-settings/url-map.ini
%dnl %dir %{_datadir}/lomiri-system-settings/icons
%dnl %{_datadir}/lomiri-system-settings/icons/*.svg
%dir %{_datadir}/lomiri-system-settings/icons
%{_datadir}/lomiri-system-settings/icons/*.svg
%{_datadir}/lomiri-system-settings/qml-plugins/
%{_datadir}/lomiri-url-dispatcher/urls/lomiri-system-settings.url-dispatcher
@@ -85,11 +85,7 @@ Examples for Lomiri-ui-toolkit.
%build
%{qmake_qt5} 'CONFIG+=ubuntu-uitk-compat' 'CONFIG+=test'
pushd tests/autopilot
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_build
%else
%pyproject_wheel
%endif
popd
%make_build
@@ -101,11 +97,7 @@ rm -rf %{buildroot}%{_qt5_qmldir}/Extinct
%fdupes %buildroot%_libdir/qt5/examples/%name/examples/
pushd tests/autopilot
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_install
%else
%pyproject_install
%endif
mv lomiriuitoolkit/{tests,_custom_proxy_objects} -t %{buildroot}%{python3_sitelib}/lomiriuitoolkit/
popd
@@ -155,11 +147,7 @@ popd
%{python3_sitelib}/lomiriuitoolkit/_custom_proxy_objects/
%{python3_sitelib}/lomiriuitoolkit/__pycache__/
%{python3_sitelib}/lomiriuitoolkit/tests/
%if 0%{?fedora} <= 41 || 0%{?rhel}
%{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info/
%else
%{python3_sitelib}/lomiriuitoolkit-%{version}.dist-info/
%endif
%files doc
%license COPYING.CC-BY-SA-3.0
@@ -21,7 +21,7 @@ BuildRequires: pkgconfig(zeitgeist-2.0)
BuildRequires: libappstream-glib-devel
BuildRequires: libdbusmenu-devel
BuildRequires: bamf-devel
BuildRequires: libindicator-gtk3-devel
BuildRequires: terra-libindicator-gtk3-devel
BuildRequires: json-glib-devel
BuildRequires: libnotify-devel
BuildRequires: libsigc++20-devel
@@ -30,7 +30,6 @@ BuildRequires: doxygen
BuildRequires: pam-devel
BuildRequires: boost-devel
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(nux-4.0)
@@ -48,7 +47,7 @@ Requires: pam
Requires: bamf-daemon
Requires: unity-gtk-module-common
Requires: compiz9
Requires: libindicator-gtk3
Requires: terra-libindicator-gtk3
Recommends: unity-greeter
Recommends: unity-scope-home
@@ -116,20 +115,12 @@ sed -i '/libgeis/d' CMakeLists.txt
%cmake_build
pushd uwidgets/
%if 0%{?fedora} <= 41
%py3_build
%else
%pyproject_wheel
%endif
popd
%install
pushd uwidgets/
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
%endif
popd
%cmake_install
@@ -231,11 +222,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%doc README
%license uwidgets/LICENCE
%{_bindir}/uwidgets-runner
%if 0%{?fedora} <= 41
%{python3_sitearch}/uwidgets-*.egg-info/
%else
%{python3_sitearch}/uwidgets-*.dist-info/
%endif
%{python3_sitearch}/uwidgets/
%changelog
+4 -19
View File
@@ -8,7 +8,7 @@ License: GPL-2.0
URL: https://github.com/ubuntu-mate/mate-tweak
Source0: %url/archive/refs/tags/%version.tar.gz
Requires: python3
BuildRequires: python3dist(setuptools) python3-devel python3dist(pip) intltool desktop-file-utils
BuildRequires: python3dist(setuptools) rpm_macro(py3_build) intltool desktop-file-utils
%description
This is MATE Tweak, a fork of mintDesktop.
@@ -19,21 +19,10 @@ python3 -m ensurepip
python3 -m pip install distutils-extra-python
%build
%if 0%{?fedora} <= 41
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41
%py3_install
%else
%pyproject_install
desktop-file-install data/*.desktop
cp -r %{buildroot}%{python3_sitelib}%{_prefix} -t %{buildroot} --preserve=all
rm -rf %{buildroot}%{python3_sitelib}%{_prefix}
%endif
%check
desktop-file-validate %buildroot%_datadir/applications/*.desktop
@@ -50,13 +39,9 @@ desktop-file-validate %buildroot%_datadir/applications/*.desktop
%_datadir/applications/%name.desktop
%_datadir/applications/marco-{glx,no-composite,xr_glx_hybrid,xrender}.desktop
%_datadir/polkit-1/actions/org.mate.%name.policy
%{python3_sitelib}/__pycache__/
%{python3_sitelib}/setup.py
%if 0%{?fedora} <= 41
%{python3_sitelib}/mate_tweak-%version-py3.*.egg-info/
%else
%{python3_sitelib}/mate_tweak-%{version}.dist-info/
%endif
%ghost %_prefix/lib/python3.*/site-packages/__pycache__
%ghost %_prefix/lib/python3.*/site-packages/setup.py
%ghost %_prefix/lib/python3.*/site-packages/mate_tweak-%version-py3.*.egg-info/
%changelog
%autochangelog
+5 -5
View File
@@ -1,8 +1,8 @@
%global swayVersion 1.10.1
Name: swayfx
Version: 0.5.2
Release: 1%?dist
Version: 0.5
Release: 2%?dist
Summary: SwayFX: Sway, but with eye candy!
URL: https://github.com/WillPower3309/swayfx
@@ -33,8 +33,8 @@ BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-server) >= 1.21.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.24
BuildRequires: pkgconfig(scenefx-0.4)
BuildRequires: pkgconfig(wlroots-0.19)
BuildRequires: pkgconfig(scenefx-0.2)
BuildRequires: pkgconfig(wlroots-0.18)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-icccm)
BuildRequires: pkgconfig(xkbcommon) >= 1.5.0
@@ -149,4 +149,4 @@ install -d -m755 -pv %{buildroot}%{_sysconfdir}/sway/config.d
%files wallpapers
%license assets/LICENSE
%{_datadir}/backgrounds/sway
%{_datadir}/backgrounds/sway
+2 -2
View File
@@ -1,7 +1,7 @@
# Generated by rust2rpm 27
%global commit fddb4a09b107237819e661151e007b99b5cab36d
%global commit 98c220126d912b935987766f56650b55f3e226eb
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250630
%global commit_date 20250518
%global ver v0.6.0
%bcond check 0
@@ -1,9 +0,0 @@
project pkg {
rpm {
spec = "hyprgraphics.nightly.spec"
}
labels {
nightly = 1
subrepo = "extras"
}
}
@@ -1,67 +0,0 @@
#? https://src.fedoraproject.org/rpms/hyprgraphics/blob/rawhide/f/hyprgraphics.spec
%global realname hyprgraphics
%global ver 0.1.5
%global commit 340494a38b5ec453dfc542c6226481f736cc8a9a
%global commit_date 20250711
%global shortcommit %{sub %commit 1 7}
%bcond libjxl 1
Name: %realname.nightly
Version: %ver^%{commit_date}git.%shortcommit
Release: 1%?dist
Summary: Graphics library for Hyprland
License: BSD-3-Clause
URL: https://github.com/hyprwm/hyprgraphics
Source0: %url/archive/%commit.tar.gz
Packager: madonuko <mado@fyralabs.com>
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: (pkgconfig(hyprlang) with hyprlang.nightly-devel)
BuildRequires: pkgconfig(cairo)
BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libmagic)
BuildRequires: pkgconfig(spng)
%if %{with libjxl}
BuildRequires: pkgconfig(libjxl)
BuildRequires: pkgconfig(libjxl_cms)
BuildRequires: pkgconfig(libjxl_threads)
%endif
%description
%{summary}.
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
%pkg_devel_files
%prep
%autosetup -p1 -n %realname-%commit
%build
%cmake
%cmake_build
%install
%cmake_install
%check
%ifarch s390x
rm tests/resource/images/hyprland.jpg
%endif
%ctest
%files
%license LICENSE
%doc README.md
%{_libdir}/libhyprgraphics.so.0
%{_libdir}/libhyprgraphics.so.%{ver}
@@ -1,5 +0,0 @@
rpm.global("commit", gh_commit("hyprwm/hyprgraphics"));
if rpm.changed() {
rpm.global("ver", gh_rawfile("hyprwm/hyprgraphics", "main", "VERSION"));
rpm.global("commit_date", date());
}
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "hypridle.spec"
}
}
@@ -1 +0,0 @@
sh("dnf swap sdbus-cpp sdbus-cpp.terra -y --allowerasing", #{});
@@ -1,45 +0,0 @@
Name: hypridle
Version: 0.1.6
Release: 1%?dist
Summary: Hyprland's idle daemon
License: BSD-3-Clause
URL: https://github.com/hyprwm/hypridle
Source0: %url/archive/refs/tags/v%version.tar.gz
Packager: madonuko <mado@fyralabs.com>
BuildRequires: cmake gcc gcc-c++
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: (pkgconfig(hyprland-protocols) with hyprland-protocols.nightly-devel)
BuildRequires: (pkgconfig(hyprlang) with hyprlang.nightly-devel)
BuildRequires: (pkgconfig(sdbus-c++) with sdbus-cpp.terra-devel)
BuildRequires: (pkgconfig(hyprwayland-scanner) with hyprwayland-scanner.nightly-devel)
BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel)
%description
%summary.
%prep
%autosetup
%build
%cmake -DCMAKE_BUILD_TYPE:STRING=Release
%cmake_build
%install
%cmake_install
%post
%systemd_user_post %name.service
%preun
%systemd_user_preun %name.service
%postun
%systemd_user_postun_with_restart %name.service
%files
%doc README.md
%license LICENSE
%_bindir/hypridle
%_datadir/hypr/hypridle.conf
%_userunitdir/%name.service
@@ -1,3 +0,0 @@
let v = gh_rawfile("hyprwm/hypridle", "main", "VERSION");
v.trim();
rpm.version(v);
@@ -1,10 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "hyprland-protocols.nightly.spec"
}
labels {
nightly = 1
subrepo = "extras"
}
}
@@ -1,53 +0,0 @@
#? https://src.fedoraproject.org/rpms/hyprland-protocols/blob/rawhide/f/hyprland-protocols.spec
%global realname hyprland-protocols
%global ver 0.6.4
%global commit 613878cb6f459c5e323aaafe1e6f388ac8a36330
%global commit_date 20250604
%global shortcommit %{sub %commit 1 7}
Name: %realname.nightly
Version: %ver^%{commit_date}git.%shortcommit
Release: 1%?dist
Summary: Wayland protocol extensions for Hyprland
BuildArch: noarch
License: BSD-3-Clause
URL: https://github.com/hyprwm/hyprland-protocols
Source0: %url/archive/%commit.tar.gz
BuildRequires: meson
Packager: madonuko <mado@fyralabs.com>
Provides: %realname = %evr
Conflicts: %realname
%description
%{summary}.
%package devel
Summary: Wayland protocol extensions for Hyprland
Provides: %realname-devel = %evr
Conflicts: %realname-devel
%description devel
%{summary}.
%prep
%autosetup -p1 -n %realname-%commit
%build
%meson
%meson_build
%install
%meson_install
%files devel
%license LICENSE
%doc README.md
%{_datadir}/pkgconfig/%{realname}.pc
%{_datadir}/%{realname}/
@@ -1,5 +0,0 @@
rpm.global("commit", gh_commit("hyprwm/hyprlang-protocols"));
if rpm.changed() {
rpm.global("ver", gh_rawfile("hyprwm/hyprlang-protocols", "main", "VERSION"));
rpm.global("commit_date", date());
}
-9
View File
@@ -1,9 +0,0 @@
project pkg {
rpm {
spec = "hyprlang.nightly.spec"
}
labels {
nightly = 1
subrepo = "extras"
}
}
@@ -1,57 +0,0 @@
#? https://src.fedoraproject.org/rpms/hyprlang/blob/rawhide/f/hyprlang.spec
%global realname hyprlang
%global ver 0.6.3
%global commit cee01452bca58d6cadb3224e21e370de8bc20f0b
%global commit_date 20250620
%global shortcommit %{sub %commit 1 7}
Name: %realname.nightly
Version: %ver^%{commit_date}git.%shortcommit
Release: 1%?dist
Summary: The official implementation library for the hypr config language
License: LGPL-3.0-only
URL: https://github.com/hyprwm/hyprlang
Source0: %url/archive/%commit.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel)
Provides: %realname = %evr
Conflicts: %realname
%description
%{summary}.
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %realname-devel = %evr
Conflicts: %realname-devel
%pkg_devel_files
%prep
%autosetup -p1 -n %realname-%commit
%build
%cmake
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%license LICENSE
%doc README.md
%{_libdir}/libhyprlang.so.2
%{_libdir}/libhyprlang.so.%{ver}
%changelog
%autochangelog
@@ -1,5 +0,0 @@
rpm.global("commit", gh_commit("hyprwm/hyprlang"));
if rpm.changed() {
rpm.global("ver", gh_rawfile("hyprwm/hyprlang", "main", "VERSION"));
rpm.global("commit_date", date());
}
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "hyprlock.spec"
}
}

Some files were not shown because too many files have changed in this diff Show More