mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2846e2f51a | |||
| 0186a71f5b |
@@ -0,0 +1,9 @@
|
||||
ARG VARIANT="rawhide"
|
||||
FROM fedora:${VARIANT}
|
||||
|
||||
RUN useradd -m vscode
|
||||
RUN groupadd mock
|
||||
RUN usermod -aG mock vscode
|
||||
RUN echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode
|
||||
RUN curl -Lo /etc/yum.repos.d/terra.repo https://raw.githubusercontent.com/terrapkg/subatomic-repos/main/terra.repo
|
||||
RUN dnf -y install git mock createrepo_c anda terra-mock-configs
|
||||
@@ -1,19 +1,18 @@
|
||||
{
|
||||
"name": "Terra Devcontainer",
|
||||
"image": "ghcr.io/terrapkg/builder:frawhide",
|
||||
"name": "Fedora",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"args": { "VARIANT": "rawhide" }
|
||||
},
|
||||
"remoteUser": "vscode",
|
||||
"runArgs": [
|
||||
"--privileged"
|
||||
],
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/common-utils:2": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"rhaiscript.vscode-rhai"
|
||||
]
|
||||
}
|
||||
},
|
||||
"remoteUser": "vscode",
|
||||
"onCreateCommand": "sudo usermod -a -G mock vscode"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -10,37 +10,23 @@ jobs:
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: registry.fedoraproject.org/fedora-minimal:${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Install repositories
|
||||
run: |
|
||||
dnf5 swap -y --setopt=install_weak_deps=False systemd-standalone-sysusers systemd
|
||||
dnf5 install -y --setopt=install_weak_deps=False curl wget git-core openssl-devel cargo podman fuse-overlayfs dnf5-plugins rpmbuild script
|
||||
dnf5 install -y --setopt=install_weak_deps=False curl wget git-core openssl-devel cargo podman fuse-overlayfs
|
||||
dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/tools/buildsys/{anda,subatomic}/*.spec
|
||||
|
||||
- name: Install Anda
|
||||
run: cargo install anda
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Build anda-srpm-macros
|
||||
run: |
|
||||
mkdir -p anda-build/rpm/rpms
|
||||
rpmbuild -bb anda/terra/srpm-macros/*.spec --undefine=_disable_source_fetch -D "_sourcedir $(pwd)/anda/terra/srpm-macros/" -D "_rpmdir $(pwd)/anda-build/rpm/rpms/"
|
||||
mv ./anda-build/rpm/rpms/*/anda-*.rpm ./anda-build/rpm/rpms/
|
||||
dnf5 install -y ./anda-build/rpm/rpms/anda-*.rpm
|
||||
|
||||
- name: Install build dependencies
|
||||
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/tools/buildsys/{anda,subatomic}/*.spec
|
||||
|
||||
- name: Install Anda
|
||||
run: |
|
||||
rpmbuild -bb anda/tools/buildsys/anda/*.spec --undefine=_disable_source_fetch -D "_sourcedir $(pwd)/anda/tools/buildsys/anda/" -D "_rpmdir $(pwd)/anda-build/rpm/rpms/"
|
||||
mv ./anda-build/rpm/rpms/*/anda-*.rpm ./anda-build/rpm/rpms/
|
||||
dnf5 install -y ./anda-build/rpm/rpms/anda-*.rpm
|
||||
|
||||
- name: Build terra-mock-configs
|
||||
run: |
|
||||
echo "PATH=$PATH:/github/home/.cargo/bin" >> $GITHUB_ENV
|
||||
@@ -50,16 +36,16 @@ jobs:
|
||||
- name: Install terra-mock-configs
|
||||
run: dnf5 install -y anda-build/rpm/rpms/terra-mock-configs*.rpm
|
||||
|
||||
- name: Build trra-release
|
||||
run: anda build -rrpmbuild anda/terra/release/pkg
|
||||
- name: Build anda-srpm-macros
|
||||
run: anda build -rrpmbuild anda/terra/srpm-macros/pkg
|
||||
|
||||
- name: Build Subatomic
|
||||
run: anda build -rrpmbuild anda/tools/buildsys/subatomic/pkg
|
||||
- name: Install Subatomic
|
||||
run: dnf5 install -y ./anda-build/rpm/rpms/subatomic-*.rpm
|
||||
|
||||
- name: Tidy up output directory
|
||||
run: rmdir anda-build/rpm/rpms/{noarch,aarch64,x86_64} | true
|
||||
- name: Build Andaman
|
||||
run: anda build -rrpmbuild anda/tools/buildsys/anda/pkg
|
||||
|
||||
- name: Upload packages to subatomic
|
||||
run: |
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
version: ["rawhide"]
|
||||
arch: ${{ fromJson(needs.parse.outputs.arch) }}
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-22.04-arm' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -13,7 +13,6 @@ jobs:
|
||||
- frawhide
|
||||
- f40
|
||||
- f41
|
||||
- f42
|
||||
- el10
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
|
||||
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f42
|
||||
- f41
|
||||
- f40
|
||||
- el10
|
||||
|
||||
@@ -48,7 +48,6 @@ jobs:
|
||||
}
|
||||
copy_over f40 || true
|
||||
copy_over f41 || true
|
||||
copy_over f42 || true
|
||||
copy_over el10 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,6 @@ jobs:
|
||||
}
|
||||
copy_over f40 || true
|
||||
copy_over f41 || true
|
||||
copy_over f42 || true
|
||||
copy_over el10 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,6 @@ jobs:
|
||||
}
|
||||
copy_over f40 || true
|
||||
copy_over f41 || true
|
||||
copy_over f42 || true
|
||||
copy_over el10 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global xurl https://files.pythonhosted.org/packages/68/9c/7685bd012e597332f8ce379a31b0d58dd4eae960da96ff43e9fcd978c93f/anki-25.02-cp39-abi3-manylinux_2_35_x86_64.whl
|
||||
%global aurl https://files.pythonhosted.org/packages/da/36/741cef7b7fce943d187784549fd8de8152986067d9226f384959c07770a7/anki-25.02-cp39-abi3-manylinux_2_35_aarch64.whl
|
||||
%global qurl https://files.pythonhosted.org/packages/2c/bc/763589b97aa5c91acf3d834beaa473c25ca7f335c7b40954fd0d5fd41ddc/aqt-25.02-py3-none-any.whl
|
||||
%global xurl https://files.pythonhosted.org/packages/ef/fa/6c86371d0e3b71129d2a79e63fc3fdc17733c9ebbf77345c62caad8c9fca/anki-24.11-cp39-abi3-manylinux_2_28_x86_64.whl
|
||||
%global aurl https://files.pythonhosted.org/packages/58/6e/9f2d4853a83e57cea48ccae3bc2d887bf7c0550042185e156bab23f524bf/anki-24.11-cp39-abi3-manylinux_2_31_aarch64.whl
|
||||
%global qurl https://files.pythonhosted.org/packages/40/3c/b70ef91f1dad8248332971c0cbb2922277512789cadc33cb16233e360a56/aqt-24.11-py3-none-any.whl
|
||||
|
||||
Name: anki-bin
|
||||
Version: 25.02
|
||||
Release: 1%?dist
|
||||
Version: 24.11
|
||||
Release: 2%?dist
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
@@ -60,8 +60,6 @@ rm -rf %buildroot%_bindir/{distro,flask,jsonschema,markdown_py,normalizer,send2t
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%_bindir/anki
|
||||
%_bindir/pyuic6
|
||||
%_bindir/pylupdate6
|
||||
/usr/lib/python*/site-packages/_aqt/
|
||||
/usr/lib/python*/site-packages/anki-%{version}.dist-info/
|
||||
/usr/lib/python*/site-packages/anki/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: anki-qt5
|
||||
Version: 25.02
|
||||
Version: 24.11
|
||||
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,5 +1,5 @@
|
||||
Name: anki
|
||||
Version: 25.02
|
||||
Version: 24.11
|
||||
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,11 +1,8 @@
|
||||
%global __requires_exclude ^lib-.*.so
|
||||
%global __provides_exclude ^lib-.*.so
|
||||
|
||||
%global ver Audacity 3.7.1
|
||||
%global sanitized_ver %(sed 's/ *//;s/Audacity//' <<< "%{ver}")
|
||||
|
||||
Name: audacity-freeworld
|
||||
Version: %{sanitized_ver}
|
||||
Version: Audacity.3.7.1
|
||||
Release: 1%?dist
|
||||
Summary: Multitrack audio editor
|
||||
License: GPLv2
|
||||
@@ -749,4 +746,4 @@ rm -f %{buildroot}%{_prefix}/%{realname}
|
||||
- New upstream version 1.2.0-pre3
|
||||
|
||||
* Sat Oct 25 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-pre2.fdr.1
|
||||
- First Fedora release
|
||||
- First Fedora release
|
||||
@@ -1 +1 @@
|
||||
rpm.global("ver", gh("audacity/audacity"));
|
||||
rpm.version(gh("audacity/audacity"));
|
||||
@@ -1,5 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ags.spec"
|
||||
spec = "authy.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: authy
|
||||
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_23.snap
|
||||
Requires: gtk3
|
||||
Requires: nss
|
||||
BuildRequires: squashfs-tools desktop-file-utils
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
unsquashfs -q -f -d snap %{SOURCE0}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d %buildroot%_datadir/authy
|
||||
cp -r snap/. %buildroot%_datadir/authy
|
||||
|
||||
sed -i 's|${SNAP}/meta/gui/icon.png|authy|g' %buildroot%_datadir/authy/meta/gui/authy.desktop
|
||||
install -Dm644 %buildroot%_datadir/authy/meta/gui/authy.desktop -t %buildroot%_datadir/applications
|
||||
install -Dm644 %buildroot%_datadir/authy/meta/gui/icon.png %buildroot%_datadir/pixmaps/authy.png
|
||||
|
||||
rm -rf %buildroot%_datadir/authy/{data-dir,gnome-platform,lib,meta,scripts,usr,*.sh}
|
||||
|
||||
install -d %buildroot%_bindir
|
||||
ln -s %_datadir/authy/authy %buildroot%_bindir
|
||||
|
||||
%check
|
||||
desktop-file-validate %buildroot%_datadir/applications/authy.desktop
|
||||
|
||||
%files
|
||||
%_datadir/authy/
|
||||
%_bindir/authy
|
||||
%_datadir/applications/authy.desktop
|
||||
%_datadir/pixmaps/authy.png
|
||||
|
||||
%changelog
|
||||
* Sat Jun 17 2023 windowsboy111 <windowsboy111@fyralabs.com> - 2.3.0-2
|
||||
- Use /usr/share/ instead of /opt/
|
||||
|
||||
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com> - 2.2.1-2
|
||||
- Initial release
|
||||
@@ -0,0 +1,5 @@
|
||||
let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy");
|
||||
req.head("Snap-Device-Series", "16");
|
||||
let obj = json(req.get())["channel-map"][0];
|
||||
rpm.version(obj.version);
|
||||
rpm.source(0, obj.download.url);
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "blackbox-terminal.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
%global commit d5fff0dd5bfb8bda19b050f66610d19370c5fd39
|
||||
%global commit_date 20241019
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
|
||||
Name: blackbox-terminal
|
||||
Version: 0.14.0^%{commit_date}.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: A beautiful GTK 4 terminal
|
||||
|
||||
License: GPL-3.0
|
||||
URL: https://gitlab.gnome.org/raggesilver/blackbox
|
||||
Source0: %{url}/-/archive/%{commit}/blackbox-%{commit}.tar.gz
|
||||
|
||||
BuildRequires: vala meson gettext
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.6.2
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.50
|
||||
BuildRequires: libadwaita-devel >= 1.1
|
||||
BuildRequires: pkgconfig(pqmarble) >= 2
|
||||
BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.69.0
|
||||
BuildRequires: pkgconfig(json-glib-1.0) >= 1.4.4
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.9.12
|
||||
BuildRequires: pkgconfig(librsvg-2.0) >= 2.54.0
|
||||
BuildRequires: pkgconfig(libpcre2-8)
|
||||
BuildRequires: pkgconfig(graphene-gobject-1.0)
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: desktop-file-utils libappstream-glib cmake
|
||||
|
||||
%description
|
||||
An elegant and customizable terminal for GNOME.
|
||||
|
||||
%prep
|
||||
%autosetup -n blackbox-%{commit}
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/com.raggesilver.BlackBox.metainfo.xml
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%_bindir/blackbox
|
||||
%_bindir/terminal-toolbox
|
||||
%_datadir/applications/com.raggesilver.BlackBox.desktop
|
||||
%_datadir/metainfo/com.raggesilver.BlackBox.metainfo.xml
|
||||
%_datadir/blackbox/
|
||||
%_datadir/glib-2.0/schemas/com.raggesilver.BlackBox.gschema.xml
|
||||
%_datadir/icons/hicolor/scalable/actions/com.raggesilver.BlackBox-fullscreen-symbolic.svg
|
||||
%_datadir/icons/hicolor/scalable/actions/com.raggesilver.BlackBox-show-headerbar-symbolic.svg
|
||||
%_datadir/icons/hicolor/scalable/actions/external-link-symbolic.svg
|
||||
%_datadir/icons/hicolor/scalable/actions/settings-symbolic.svg
|
||||
%_datadir/icons/hicolor/scalable/apps/com.raggesilver.BlackBox.svg
|
||||
%_datadir/locale/*/LC_MESSAGES/blackbox.mo
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 23 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", gitlab_commit("gitlab.gnome.org", "20397", "main"));
|
||||
if rpm.changed {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.601
|
||||
Version: 0.0.574
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.601
|
||||
Version: 0.0.574
|
||||
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.87
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.132
|
||||
Version: 0.0.127
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.132
|
||||
Version: 0.0.127
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.87
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9c6bfe110a50f7f96cd5204205397a9ccd2548d4
|
||||
%global commit_date 20250224
|
||||
%global commit 2bec37ee24d404a7b3f27aae499be13d5873b56f
|
||||
%global commit_date 20250122
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: envision-nightly
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.12.2
|
||||
Version: 0.12.1
|
||||
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
|
||||
BuildRequires: nodejs20-npm jq libxcrypt-compat
|
||||
BuildRequires: nodejs-npm jq libxcrypt-compat
|
||||
|
||||
%description
|
||||
%summary.
|
||||
@@ -38,13 +38,9 @@ Keywords=Music;Jellyfin;Audio;Stream;Sonixd
|
||||
EOF
|
||||
|
||||
%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
|
||||
npm install --legacy-peer-deps
|
||||
npm run postinstall
|
||||
npm run build
|
||||
%ifarch x86_64
|
||||
|
||||
%define a linux
|
||||
@@ -52,7 +48,7 @@ npm-20 run build
|
||||
%define a arm64
|
||||
%endif
|
||||
|
||||
npx-20 electron-builder --linux dir --%a
|
||||
npx electron-builder --linux dir --%a
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "grayjay.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
%define __strip /bin/true
|
||||
%define debug_package %nil
|
||||
|
||||
Name: grayjay
|
||||
Version: 5
|
||||
Release: 1%?dist
|
||||
Summary: Watch content on your own terms, ensuring you retain full ownership and control over what you watch
|
||||
License: SFL-1.1
|
||||
URL: https://grayjay.app/desktop
|
||||
Source0: https://github.com/futo-org/Grayjay.Desktop/archive/refs/tags/%version.tar.gz
|
||||
BuildRequires: npm dotnet-host dotnet-hostfxr-8.0 dotnet-sdk-8.0
|
||||
BuildRequires: anda-srpm-macros git-core
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Grayjay is a multi-platform media application that allows you to watch content from multiple platforms in a single application. Using an extendable plugin system developers can make new integrations with additional platforms. Plugins are cross-compatible between Android and Desktop.
|
||||
|
||||
%prep
|
||||
%autosetup -n Grayjay.Desktop-%version
|
||||
git init
|
||||
git remote add origin https://github.com/futo-org/Grayjay.Desktop
|
||||
git submodule update --init --recursive #{?_smp_mflags}
|
||||
|
||||
%build
|
||||
pushd Grayjay.Desktop.Web
|
||||
npm i
|
||||
rm -rf dist
|
||||
npm run build
|
||||
popd
|
||||
|
||||
pushd Grayjay.Desktop.CEF
|
||||
rm -rf bin
|
||||
dotnet publish -c Release
|
||||
popd
|
||||
|
||||
# Copy wwwroot
|
||||
dir=$(ls Grayjay.Desktop.CEF/bin/Release/net8.0)
|
||||
mkdir -p Grayjay.Desktop.CEF/bin/Release/net8.0/$dir/publish/wwwroot
|
||||
cp -r Grayjay.Desktop.Web/dist Grayjay.Desktop.CEF/bin/Release/net8.0/$dir/publish/wwwroot/web
|
||||
|
||||
gendesk \
|
||||
--name=Grayjay \
|
||||
--pkgname=%name \
|
||||
--pkgdesc='%summary' \
|
||||
--exec=%_bindir/grayjay \
|
||||
--icon=%_datadir/grayjay/logo.ico
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_datadir/grayjay %buildroot%_bindir
|
||||
cp -r Grayjay.Desktop.CEF/bin/Release/net8.0/*/publish/* %buildroot%_datadir/grayjay/
|
||||
ln -s %_datadir/Grayjay %buildroot%_bindir/grayjay
|
||||
install -Dm644 %buildroot%_datadir/grayjay/logo.ico %buildroot%_datadir/pixmaps/grayjay.ico
|
||||
install -Dm644 grayjay.desktop -t %buildroot%_datadir/applications
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%_bindir/grayjay
|
||||
%_datadir/applications/grayjay.desktop
|
||||
%_datadir/grayjay/
|
||||
%_iconsdir/hicolor/256x256/apps/grayjay.ico
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh_tag("futo-org/Grayjay.Desktop"));
|
||||
@@ -5,7 +5,7 @@
|
||||
%global pure_protobuf_version 2.0.0
|
||||
|
||||
Name: komikku
|
||||
Version: 1.70.0
|
||||
Version: 1.68.0
|
||||
%forgemeta
|
||||
Release: 1%?dist
|
||||
Summary: A manga reader for GNOME
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "legcord-bin.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
%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.0.8
|
||||
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.zip
|
||||
Source1: legcord.png
|
||||
Source2: https://raw.githubusercontent.com/LegCord/LegCord/v%version/README.md
|
||||
Requires: xdg-utils
|
||||
BuildRequires: unzip
|
||||
ExclusiveArch: x86_64 aarch64 armv7l
|
||||
Conflicts: legcord
|
||||
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
|
||||
mkdir legcord
|
||||
cd legcord
|
||||
unzip %SOURCE0
|
||||
|
||||
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
|
||||
cd legcord
|
||||
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,44 +2,47 @@
|
||||
%global _build_id_links none
|
||||
|
||||
%ifarch x86_64
|
||||
%global src Legcord-%version-linux-x64
|
||||
%global src LegCord-%version-linux-x64
|
||||
%elifarch aarch64
|
||||
%global src Legcord-%version-linux-arm64
|
||||
%global src LegCord-%version-linux-arm64
|
||||
%elifarch armv7l
|
||||
%global src Legcord-%version-linux-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.0
|
||||
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
|
||||
Name: legcord-bin
|
||||
Version: 1.0.8
|
||||
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.zip
|
||||
Source1: legcord.png
|
||||
Source2: https://raw.githubusercontent.com/LegCord/LegCord/v%version/README.md
|
||||
Requires: xdg-utils
|
||||
BuildRequires: unzip
|
||||
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
|
||||
LegCord is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
%autosetup -n %src
|
||||
mkdir legcord
|
||||
cd legcord
|
||||
unzip %SOURCE0
|
||||
|
||||
cat <<EOF > .legcord.desktop
|
||||
[Desktop Entry]
|
||||
Name=Legcord
|
||||
Name=LegCord
|
||||
Comment=%summary
|
||||
GenericName=Internet Messenger
|
||||
Type=Application
|
||||
@@ -53,6 +56,7 @@ EOF
|
||||
%build
|
||||
|
||||
%install
|
||||
cd legcord
|
||||
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
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
%global commit 1833760c8be5b5fd4a76bbcd0cf1632d7bff0216
|
||||
%global commit_date 20250215
|
||||
%global commit b8b5bcb6f48531ef55800b63b7b567db831be105
|
||||
%global commit_date 20250124
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%define debug_package %nil
|
||||
|
||||
Name: legcord-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
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/archive/%commit/Legcord-%commit.tar.gz
|
||||
Source1: launch.sh
|
||||
Packager: Owen <owen@fyralabs.com>
|
||||
Requires: electron xdg-utils
|
||||
Provides: armcord-nightly
|
||||
Obsoletes: armcord < 3.3.2-1
|
||||
Conflicts: legcord-bin
|
||||
Conflicts: legcord
|
||||
BuildArch: noarch
|
||||
Name: legcord-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
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/archive/%commit/legcord-%commit.tar.gz
|
||||
Source1: launch.sh
|
||||
Packager: Owen <owen@fyralabs.com>
|
||||
Requires: electron xdg-utils
|
||||
Provides: armcord-nightly
|
||||
Obsoletes: armcord < 3.3.2-1
|
||||
Conflicts: legcord-bin
|
||||
Conflicts: legcord
|
||||
BuildArch: noarch
|
||||
BuildRequires: anda-srpm-macros pnpm
|
||||
|
||||
%description
|
||||
Legcord is a custom client designed to enhance your Discord experience
|
||||
legcord is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
@@ -30,7 +30,7 @@ while keeping everything lightweight.
|
||||
|
||||
cat <<EOF > legcord.desktop
|
||||
[Desktop Entry]
|
||||
Name=Legcord
|
||||
Name=LegCord
|
||||
Comment=%summary
|
||||
GenericName=Internet Messenger
|
||||
Type=Application
|
||||
|
||||
@@ -4,25 +4,25 @@
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
|
||||
|
||||
Name: legcord
|
||||
Version: 1.1.0
|
||||
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: electron xdg-utils
|
||||
Provides: armcord
|
||||
Obsoletes: armcord < 3.3.2-1
|
||||
Conflicts: legcord-bin
|
||||
Conflicts: legcord-nightly
|
||||
BuildArch: noarch
|
||||
Name: legcord
|
||||
Version: 1.0.8
|
||||
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: electron xdg-utils
|
||||
Provides: armcord
|
||||
Obsoletes: armcord < 3.3.2-1
|
||||
Conflicts: legcord-bin
|
||||
Conflicts: legcord-nightly
|
||||
BuildArch: noarch
|
||||
BuildRequires: anda-srpm-macros pnpm
|
||||
|
||||
%description
|
||||
Legcord is a custom client designed to enhance your Discord experience
|
||||
legcord is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 5338f4ba70903e7517bbfc7881e10ff13a912ffc
|
||||
%global commit df3872e318ff7dd1ad9a4f6ca0822014e2c3f439
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250227
|
||||
%global commit_date 20250123
|
||||
%global ver 0.39.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Categories=Utility;
|
||||
Comment=A cross-platform system monitor
|
||||
Exec=NeoHtop
|
||||
Icon=NeoHtop
|
||||
Name=NeoHtop
|
||||
Terminal=false
|
||||
Type=Application
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "neohtop.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
|
||||
Name: neohtop
|
||||
Version: 1.1.2
|
||||
Release: 1%?dist
|
||||
Summary: System monitoring on steroids
|
||||
License: MIT
|
||||
URL: https://github.com/Abdenasser/neohtop
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Source1: NeoHtop.desktop
|
||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
BuildRequires: rust
|
||||
BuildRequires: nodejs-npm
|
||||
BuildRequires: webkit2gtk4.1-devel
|
||||
BuildRequires: javascriptcoregtk4.1-devel
|
||||
BuildRequires: libsoup3-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: rust-gdk-pixbuf-sys-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n neohtop-%version
|
||||
|
||||
%build
|
||||
npm install
|
||||
npm run tauri build
|
||||
|
||||
%install
|
||||
install -Dpm755 src-tauri/target/release/NeoHtop %buildroot%_bindir/NeoHtop
|
||||
install -Dpm644 %{SOURCE1} %buildroot%{_datadir}/applications/NeoHtop.desktop
|
||||
# don't mind the numbers not matching, this is how the offical rpm installs these files
|
||||
install -Dpm644 src-tauri/icons/128x128@2x.png %buildroot%{_iconsdir}/hicolor/256x256@2/apps/NeoHtop.png
|
||||
install -Dpm644 src-tauri/icons/32x32.png %buildroot%{_iconsdir}/hicolor/32x32/apps/NeoHtop.png
|
||||
install -Dpm644 src-tauri/icons/128x128.png %buildroot%{_iconsdir}/hicolor/128x128/apps/NeoHtop.png
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%_bindir/NeoHtop
|
||||
%{_datadir}/applications/NeoHtop.desktop
|
||||
%{_iconsdir}/hicolor/256x256@2/apps/NeoHtop.png
|
||||
%{_iconsdir}/hicolor/32x32/apps/NeoHtop.png
|
||||
%{_iconsdir}/hicolor/128x128/apps/NeoHtop.png
|
||||
|
||||
%changelog
|
||||
* Sat Feb 15 2025 Owen Zimmerman <owen@fyralabs.com>
|
||||
- Initial package
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("Abdenasser/neohtop"));
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
+++ b/desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
@@ -54,7 +54,7 @@ Comment[zh_CN]=播放 Flash 游戏和动画
|
||||
Comment[zh_TW]=播放 Flash 遊戲和動畫
|
||||
Comment=Play Flash games & movies
|
||||
Icon=rs.ruffle.Ruffle
|
||||
-Exec=ruffle %u
|
||||
+Exec=ruffle_desktop %u
|
||||
MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie
|
||||
Categories=AudioVideo;Player;Graphics;Viewer;VectorGraphics;Game
|
||||
Keywords[ar]=الفلاش;swf;مشغل;محاكي
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2025-03-01
|
||||
%global ver 2025-01-24
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
@@ -14,6 +14,7 @@ Summary: A Flash Player emulator written in Rust
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://ruffle.rs/
|
||||
Source0: https://github.com/ruffle-rs/ruffle/archive/refs/tags/nightly-%ver.tar.gz
|
||||
Patch0: desktop_file_patch.diff
|
||||
Provides: ruffle
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros mold
|
||||
@@ -39,8 +40,6 @@ Packager: madonuko <mado@fyralabs.com>
|
||||
%prep
|
||||
%autosetup -n ruffle-nightly-%ver -p1
|
||||
%cargo_prep_online
|
||||
sed -iE 's@^Exec=ruffle %%u$@Exec=ruffle_desktop %%u@' desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
cat desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
|
||||
%build
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gitlab("gitlab.freedesktop.org", "4339"));
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 1.5.5
|
||||
Version: 1.5.4
|
||||
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
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: voicevox
|
||||
Version: 0.23.0
|
||||
Version: 0.22.4
|
||||
Release: 1%?dist
|
||||
Summary: Free Japanese text-to-speech editor
|
||||
License: LGPL-3.0
|
||||
|
||||
@@ -2,8 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "youtube-music.spec"
|
||||
}
|
||||
|
||||
labels = {
|
||||
mock = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,6 @@ TryExec=/usr/bin/youtube-music
|
||||
Icon=youtube-music
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=com.github.th_ch.youtube_music
|
||||
StartupWMClass=YouTube Music
|
||||
Comment=YouTube Music Desktop App - including custom plugins
|
||||
Categories=AudioVideo;
|
||||
|
||||
@@ -1,19 +1,12 @@
|
||||
%define debug_package %nil
|
||||
|
||||
# Exclude private libraries since this is bundled with electron
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
# macro shorthand for calling pnpm
|
||||
%global pnpm npx pnpm@%{pnpm_version}
|
||||
|
||||
# Try to vendor PNPM directly from Fedora
|
||||
# but if this fails, you can try setting this to 1 to vendor PNPM directly from upstream
|
||||
%global vendor_pnpm 1
|
||||
|
||||
Name: youtube-music
|
||||
Version: 3.7.5
|
||||
Release: 2%?dist
|
||||
Version: 3.7.2
|
||||
Release: 1%?dist
|
||||
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
Source1: youtube-music.desktop
|
||||
License: MIT
|
||||
@@ -28,10 +21,6 @@ BuildRequires: git-core gcc make
|
||||
# Required for usocket native module built with node-gyp
|
||||
BuildRequires: python3 gcc-c++
|
||||
|
||||
%if !0%{?vendor_pnpm}
|
||||
BuildRequires: pnpm nodejs20
|
||||
%endif
|
||||
|
||||
%description
|
||||
YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
|
||||
@@ -46,11 +35,9 @@ git checkout v%{version}
|
||||
%build
|
||||
# Vendor PNPM directly instead of installing from packages, because we need to somehow force PNPM to use Node.js 20
|
||||
# We are not using Fedora's PNPM because we need to use `pnpm env`, which PNPM does not support when not vendored directly from upstream
|
||||
%if 0%{?vendor_pnpm}
|
||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
source $HOME/.bashrc
|
||||
source /builddir/.bashrc
|
||||
pnpm env use --global 20
|
||||
%endif
|
||||
pnpm install
|
||||
pnpm build
|
||||
pnpm electron-builder --linux --dir
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
diff --color -ru budgie-extras-1.4.0/budgie-weathershow/src/desktop_weather/desktop_weather.vala budgie-extras-1.4.0-patched/budgie-weathershow/src/desktop_weather/desktop_weather.vala
|
||||
--- budgie-extras-1.4.0/budgie-weathershow/src/desktop_weather/desktop_weather.vala 2022-03-11 06:24:44.000000000 +0700
|
||||
+++ budgie-extras-1.4.0-patched/budgie-weathershow/src/desktop_weather/desktop_weather.vala 2022-06-09 14:57:46.677283438 +0700
|
||||
@@ -308,7 +308,7 @@
|
||||
private void get_icondata () {
|
||||
// fetch the icon list
|
||||
string icondir = "/".concat(
|
||||
- "usr/lib/budgie-desktop/plugins",
|
||||
+ "usr/lib64/budgie-desktop/plugins",
|
||||
"/budgie-weathershow/weather_icons"
|
||||
);
|
||||
iconnames = {};
|
||||
@@ -1,12 +1,13 @@
|
||||
Name: budgie-extras
|
||||
Version: 1.9.0
|
||||
Release: 1%?dist
|
||||
Version: 1.8.0
|
||||
Release: 2%{?dist}
|
||||
|
||||
License: GPL-3.0
|
||||
Summary: Additional Budgie Desktop enhancements for user experience
|
||||
URL: https://ubuntubudgie.org/
|
||||
|
||||
Source0: https://github.com/UbuntuBudgie/budgie-extras/releases/download/v%{version}/budgie-extras-%{version}.tar.xz
|
||||
Patch0: 0001-fix-weathershow-desktop-widget-icon-path.patch
|
||||
|
||||
BuildRequires: rpm_macro(fdupes)
|
||||
BuildRequires: cmake
|
||||
@@ -276,7 +277,7 @@ workspaces.
|
||||
# Remove absolute symlink and replace with relative symlink
|
||||
rm -f %{buildroot}%{_bindir}/quickchar
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}/budgie-desktop/budgie-weathershow/weather_icons
|
||||
%fdupes %_libdir/budgie-desktop/plugins/budgie-weathershow/weather_icons
|
||||
|
||||
%post
|
||||
|
||||
@@ -402,8 +403,6 @@ rm -f %{buildroot}%{_bindir}/quickchar
|
||||
|
||||
%files -n budgie-applet-weathershow
|
||||
%{_libdir}/budgie-desktop/plugins/budgie-weathershow
|
||||
%{_datadir}/budgie-desktop/budgie-weathershow/cities
|
||||
%{_datadir}/budgie-desktop/budgie-weathershow/weather_icons/*
|
||||
%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.plugins.weathershow.gschema.xml
|
||||
%{_datadir}/pixmaps/budgie-wticon-symbolic.svg
|
||||
|
||||
|
||||
@@ -4,6 +4,5 @@ project pkg {
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
updbranch = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||
%global major_version 47
|
||||
%global minor_version 3
|
||||
%global minor_version 1
|
||||
|
||||
%if 0%{?rhel}
|
||||
%global portal_helper 0
|
||||
@@ -8,15 +8,14 @@
|
||||
%global portal_helper 1
|
||||
%endif
|
||||
|
||||
Name: gnome-shell.switcheroo
|
||||
Name: gnome-shell
|
||||
Version: %{major_version}.%{minor_version}
|
||||
Release: 1%{?dist}.switcheroo
|
||||
Release: %autorelease.switcheroo
|
||||
Summary: Window management and application launching for GNOME
|
||||
|
||||
Provides: gnome-shell = %version-%release
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://wiki.gnome.org/Projects/GnomeShell
|
||||
Source0: https://download.gnome.org/sources/gnome-shell/%{major_version}/gnome-shell-%{tarball_version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/gnome-shell/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
||||
|
||||
# Replace Epiphany with Firefox in the default favourite apps list
|
||||
Patch: gnome-shell-favourite-apps-firefox.patch
|
||||
@@ -179,7 +178,7 @@ innovative user interface concepts to provide a visually attractive and
|
||||
easy to use experience.
|
||||
|
||||
%prep
|
||||
%autosetup -S git -n gnome-shell-%{tarball_version}
|
||||
%autosetup -S git -n %{name}-%{tarball_version}
|
||||
|
||||
%build
|
||||
%meson \
|
||||
@@ -199,7 +198,7 @@ easy to use experience.
|
||||
mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions
|
||||
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
|
||||
|
||||
%find_lang gnome-shell
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.desktop
|
||||
@@ -209,7 +208,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.Exten
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
|
||||
%endif
|
||||
|
||||
%files -f gnome-shell.lang
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_bindir}/gnome-shell
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
let pkg = "gnome-shell";
|
||||
let branch = bump::as_bodhi_ver(labels.branch);
|
||||
|
||||
let url = `https://bodhi.fedoraproject.org/updates/?search=${pkg}&status=stable&releases=${branch}&rows_per_page=10&page=1`;
|
||||
|
||||
let done = false;
|
||||
|
||||
for entry in get(url).json().updates {
|
||||
for entry in entry.title.split(' ') {
|
||||
let matches = find_all(`${pkg}-([\d.]+)-(\d+)\.[\w\d]+$`, entry);
|
||||
if matches.len() == 0 { continue; }
|
||||
let majminv = matches[0][1].split('.');
|
||||
if majminv.len() != 2 {
|
||||
print(`gnome-shell: ${matches[0][1]} has invalid version?`);
|
||||
terminate();
|
||||
}
|
||||
rpm.global("major_version", majminv[0]);
|
||||
rpm.global("minor_version", majminv[1]);
|
||||
rpm.f = sub(`Release:(\s+)(.+?)\n`, "Release:${1}" + matches[0][2] + "%{?dist}.switcheroo\n", rpm.f);
|
||||
done = true;
|
||||
}
|
||||
if done { break; }
|
||||
}
|
||||
@@ -4,6 +4,5 @@ project pkg {
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
updbranch = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%global framework kio
|
||||
|
||||
%global stable_kf6 stable
|
||||
%global majmin_ver_kf6 6.11
|
||||
%global majmin_ver_kf6 6.7
|
||||
|
||||
Name: kf6-%{framework}.switcheroo
|
||||
Name: kf6-%{framework}
|
||||
Version: %{majmin_ver_kf6}.0
|
||||
Release: 1%{?dist}.switcheroo
|
||||
Release: 2%{?dist}.switcheroo
|
||||
Summary: KDE Frameworks 6 Tier 3 solution for filesystem abstraction
|
||||
|
||||
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
|
||||
@@ -28,7 +28,6 @@ Patch101: kio-no-help-protocol.patch
|
||||
# https://invent.kde.org/frameworks/kio/-/merge_requests/1556
|
||||
Patch201: 1556.patch
|
||||
|
||||
Provides: kf6-%{framework}
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: kf6-rpm-macros
|
||||
@@ -99,7 +98,6 @@ Requires: cmake(KF6Solid)
|
||||
Requires: cmake(KF6XmlGui)
|
||||
Requires: cmake(KF6WindowSystem)
|
||||
Requires: qt6-qtbase-devel
|
||||
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 +106,6 @@ developing applications that use %{name}.
|
||||
Summary: Documentation files for %{name}
|
||||
Requires: %{name}-core = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Provides: kf6-kio-doc = %version-%release
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
@@ -119,14 +116,12 @@ Requires: %{name}-core-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-doc = %{version}-%{release}
|
||||
Requires: kf6-filesystem
|
||||
Recommends: switcheroo-control
|
||||
Provides: 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}
|
||||
Provides: kf6-kio-core-libs = %version-%release
|
||||
%description core-libs
|
||||
%{summary}.
|
||||
|
||||
@@ -136,7 +131,6 @@ 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}
|
||||
Provides: kf6-kio-widgets = %version-%release
|
||||
%description widgets
|
||||
KIOWidgets contains classes that provide generic job control, progress
|
||||
reporting, etc.
|
||||
@@ -144,14 +138,12 @@ reporting, etc.
|
||||
%package widgets-libs
|
||||
Summary: Runtime libraries for KIO Widgets library
|
||||
Requires: %{name}-widgets%{?_isa} = %{version}-%{release}
|
||||
Provides: 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}
|
||||
Provides: kf6-kio-file-widgets = %version-%release
|
||||
%description file-widgets
|
||||
The KIOFileWidgets library provides the file selection dialog and
|
||||
its components.
|
||||
@@ -159,14 +151,12 @@ its components.
|
||||
%package gui
|
||||
Summary: Gui components for the KIO Framework
|
||||
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
||||
Provides: kf6-kio-gui = %version-%release
|
||||
%description gui
|
||||
%{summary}.
|
||||
|
||||
%package qch-doc
|
||||
Summary: Developer Documentation files for %{name}
|
||||
BuildArch: noarch
|
||||
Provides: kf6-kio-qch-doc = %version-%release
|
||||
%description qch-doc
|
||||
Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||||
|
||||
@@ -182,7 +172,7 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%find_lang kf6-kio --all-name --with-man --with-html
|
||||
%find_lang %{name} --all-name --with-man --with-html
|
||||
|
||||
%files
|
||||
%license LICENSES/*.txt
|
||||
@@ -197,7 +187,6 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||||
%{_kf6_plugindir}/kio/
|
||||
%{_kf6_plugindir}/kded/
|
||||
%{_kf6_plugindir}/kiod/
|
||||
%{_kf6_plugindir}/kio_dnd/
|
||||
%{_kf6_datadir}/kf6/searchproviders/*.desktop
|
||||
%{_kf6_datadir}/applications/*.desktop
|
||||
%{_datadir}/dbus-1/services/org.kde.*.service
|
||||
@@ -206,7 +195,7 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||||
%files core-libs
|
||||
%{_kf6_libdir}/libKF6KIOCore.so.*
|
||||
|
||||
%files doc -f kf6-kio.lang
|
||||
%files doc -f %{name}.lang
|
||||
|
||||
%files gui
|
||||
%{_kf6_libdir}/libKF6KIOGui.so.*
|
||||
@@ -234,28 +223,6 @@ Developer Documentation files for %{name} for use with KDevelop or QtCreator.
|
||||
%{_qt6_docdir}/*.qch
|
||||
|
||||
%changelog
|
||||
* Fri Feb 07 2025 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.11.0-1
|
||||
- 6.11.0
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.10.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Jan 07 2025 Steve Cossette <farchord@gmail.com> - 6.10.0-2
|
||||
- File Picker: Fix 'All supported files' for more than 3
|
||||
filters
|
||||
|
||||
* Fri Jan 03 2025 Steve Cossette <farchord@gmail.com> - 6.10.0-1
|
||||
- 6.10.0
|
||||
|
||||
* Sat Dec 14 2024 Steve Cossette <farchord@gmail.com> - 6.9.0-1
|
||||
- 6.9.0
|
||||
|
||||
* Sat Nov 02 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 6.8.0-1
|
||||
- 6.8.0
|
||||
|
||||
* Mon Oct 14 2024 Jan Grulich <jgrulich@redhat.com> - 6.7.0-2
|
||||
- Rebuild (qt6)
|
||||
|
||||
* Fri Oct 04 2024 Steve Cossette <farchord@gmail.com> - 6.7.0-1
|
||||
- 6.7.0
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
let pkg = "kf6-kio";
|
||||
let branch = bump::as_bodhi_ver(labels.branch);
|
||||
|
||||
let url = `https://bodhi.fedoraproject.org/updates/?search=${pkg}&status=stable&releases=${branch}&rows_per_page=1&page=1`;
|
||||
|
||||
for entry in get(url).json().updates[0].title.split(' ') {
|
||||
let matches = find_all(`${pkg}-([\d.]+)-(\d+)\.[\w\d]+$`, entry);
|
||||
if matches.len() == 0 { continue; }
|
||||
if matches[0][1].ends_with(".0") {
|
||||
rpm.global("majmin_ver_kf6", matches[0][1][0..matches[0][1].len()-2]);
|
||||
rpm.f = sub(`Release: (.+?)\n`, "Release: " + matches[0][2] + "%{?dist}.switcheroo\n", rpm.f);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "latte-dock-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 6acb37bc5af067686c87924c7bd6955839599f6a
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: latte-dock-nightly
|
||||
Version: 0.10.0^%{snapshot_info}
|
||||
|
||||
%forgemeta
|
||||
Release: 1%?dist
|
||||
Summary: Latte is a dock based on plasma frameworks
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: %{forgeurl}
|
||||
Source0: https://github.com/KDE/latte-dock/archive/%{commit}.tar.gz
|
||||
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: xcb-util-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: kf5-karchive-devel
|
||||
BuildRequires: kf5-kio-devel
|
||||
BuildRequires: kf5-kirigami2-devel
|
||||
BuildRequires: kf5-kactivities-devel
|
||||
BuildRequires: kf5-kcoreaddons-devel
|
||||
BuildRequires: kf5-kdbusaddons-devel
|
||||
BuildRequires: kf5-kdeclarative-devel
|
||||
BuildRequires: kf5-knewstuff-devel
|
||||
BuildRequires: kf5-knotifications-devel
|
||||
BuildRequires: kf5-kiconthemes-devel
|
||||
BuildRequires: kf5-kitemmodels-devel
|
||||
BuildRequires: kf5-ki18n-devel
|
||||
BuildRequires: kf5-kpackage-devel
|
||||
BuildRequires: kf5-plasma-devel
|
||||
BuildRequires: kf5-kwayland-devel
|
||||
BuildRequires: kf5-kwindowsystem-devel
|
||||
BuildRequires: kf5-kxmlgui-devel
|
||||
BuildRequires: kf5-kglobalaccel-devel
|
||||
BuildRequires: kf5-kguiaddons-devel
|
||||
BuildRequires: kf5-kcrash-devel
|
||||
BuildRequires: qt5-qtwayland-devel
|
||||
BuildRequires: plasma-wayland-protocols-devel
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: plasma-workspace-devel
|
||||
|
||||
Recommends: %{name}-lang
|
||||
|
||||
Conflicts: latte-dock
|
||||
Provides: latte-dock = 0.10.0^%{snapshot_info}
|
||||
Provides: latte-dock%{?_isa} = 0.10.0^%{snapshot_info}
|
||||
|
||||
%description
|
||||
Latte is a dock based on plasma frameworks that provides an elegant and
|
||||
intuitive experience for your tasks and plasmoids. It animates its contents by
|
||||
using parabolic zoom effect and tries to be there only when it is needed.
|
||||
|
||||
"Art in Coffee"
|
||||
|
||||
%package lang
|
||||
Summary: Translation files for latte-dock
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description lang
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%{forgesetup}
|
||||
%autosetup -n %{archivename}
|
||||
|
||||
%build
|
||||
%cmake_kf5 \
|
||||
-Wno-dev
|
||||
|
||||
%cmake_build
|
||||
%install
|
||||
|
||||
%cmake_install
|
||||
%find_lang %{name} --all-name
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSES/*
|
||||
%{_bindir}/latte-dock
|
||||
%{_datadir}/metainfo/org.kde.latte-dock.appdata.xml
|
||||
%{_datadir}/metainfo/org.kde.latte.plasmoid.appdata.xml
|
||||
%{_datadir}/metainfo/org.kde.latte.shell.appdata.xml
|
||||
%{_kf5_datadir}/applications/org.kde.latte-dock.desktop
|
||||
%{_kf5_datadir}/dbus-1/interfaces/org.kde.LatteDock.xml
|
||||
%{_kf5_datadir}/icons/breeze/*/*/*
|
||||
%{_kf5_datadir}/icons/hicolor/*/*/*
|
||||
%{_kf5_datadir}/knotifications5/lattedock.notifyrc
|
||||
%{_kf5_datadir}/kservicetypes5/latte-indicator.desktop
|
||||
%{_kf5_datadir}/plasma/plasmoids/org.kde.latte.plasmoid/
|
||||
%{_kf5_datadir}/plasma/plasmoids/org.kde.latte.containment/
|
||||
%{_kf5_datadir}/plasma/shells/org.kde.latte.shell/
|
||||
%{_kf5_datadir}/latte
|
||||
%{_kf5_datadir}/knsrcfiles/latte-indicators.knsrc
|
||||
%{_kf5_datadir}/knsrcfiles/latte-layouts.knsrc
|
||||
%{_kf5_qmldir}/org/kde/latte
|
||||
%{_qt5_plugindir}/kpackage/packagestructure/latte_indicator.so
|
||||
%{_qt5_plugindir}/plasma/containmentactions/plasma_containmentactions_lattecontextmenu.so
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
* Sun Dec 25 2022 lleyton <lleyton@fyralabs.com> - 0.10.0^20221226.93c50a7-1
|
||||
- Comply with packaging policy
|
||||
* Sun Dec 25 2022 windowsboy111 <windowsboy111@fyralabs.com> - 0.10.9-1
|
||||
- Initial package
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/KDE/latte-dock/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = json(req.get()).sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit 3a0dacbbf99b45b67c39bb92449235c576cbf05a
|
||||
%global commit 59b299a43db2443152b0dbe48d14bfc72d205e8b
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 1b3d0ee6c1142d928a2b08a929723dbc41dc7fea
|
||||
%global commit 9f9a92375a49f01fdef9e06fe825ce8cf815ef6e
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: ayatana-indicator-sound
|
||||
Summary: Ayatana Indicator Sound Applet
|
||||
Version: 24.5.2
|
||||
Version: 24.5.1
|
||||
Release: 1%?dist
|
||||
License: GPLv3
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "mwc.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
%global commit 9b9d4256be440b511e6c37165e01a6c2686e606f
|
||||
%global commit_date 20250301
|
||||
%global shortcommit %{sub %{commit} 1 7 }
|
||||
%global ver 0.1.2
|
||||
|
||||
Name: mwc
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Tiling Wayland compositor based on wlroots and scenefx
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/dqrk0jeste/mwc
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(libinput)
|
||||
BuildRequires: pkgconfig(scenefx-0.2)
|
||||
BuildRequires: pkgconfig(wlroots-0.18)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: wayland-devel
|
||||
|
||||
Requires: libdrm
|
||||
Requires: libinput
|
||||
Requires: libxkbcommon
|
||||
Requires: pixman
|
||||
Requires: wayland-devel
|
||||
Requires: wlroots
|
||||
Requires: xdg-desktop-portal-wlr
|
||||
|
||||
Recommends: waybar kitty rofi-wayland
|
||||
|
||||
Packager: sadlerm <lerm@chromebooks.lol>
|
||||
|
||||
Provides: owl = %{version}-%{release}
|
||||
Obsoletes: owl < 0^20250124.9999999
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit}
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
install -Dm644 examples/example.conf %{buildroot}%{_datadir}/%{name}/example.conf
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-ipc
|
||||
%{_datadir}/%{name}/default.conf
|
||||
%{_datadir}/%{name}/example.conf
|
||||
%{_datadir}/wayland-sessions/%{name}.desktop
|
||||
%{_datadir}/xdg-desktop-portal/%{name}-portals.conf
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 27 2025 sadlerm <lerm@chromebooks.lol>
|
||||
- New upstream name
|
||||
- Package is now built with meson
|
||||
* Fri Jan 31 2025 sadlerm <lerm@chromebooks.lol>
|
||||
- Initial package
|
||||
@@ -1,9 +0,0 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("dqrk0jeste/mwc"));
|
||||
let v = gh("dqrk0jeste/mwc");
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
v.crop(1);
|
||||
rpm.global("ver", v);
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
%global swayVersion 1.9
|
||||
|
||||
Name: swayfx
|
||||
Version: 0.5
|
||||
Release: 1%?dist
|
||||
Version: 0.4
|
||||
Release: 2%{?dist}
|
||||
|
||||
Summary: SwayFX: Sway, but with eye candy!
|
||||
URL: https://github.com/WillPower3309/swayfx
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# Generated by rust2rpm 27
|
||||
%global commit 5b4cc3e7a8055afb758421f4a114ef4032806e39
|
||||
%global commit 593a4f4666f0bc42790d6d033e64a2b38449090f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250216
|
||||
%global ver v0.6.0
|
||||
%global commit_date 20250115
|
||||
%global ver 0.6.0
|
||||
%bcond check 0
|
||||
|
||||
Name: eww
|
||||
Version: %ver^%commit_date.git~%shortcommit
|
||||
Release: 1%?dist
|
||||
Release: %autorelease
|
||||
Summary: Widgets for everyone!
|
||||
|
||||
SourceLicense: MIT
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "swaylock-effects.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
%global commit 496059a8565c2d5eed672c2e5bc5e1edd14b3de8
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
|
||||
Name: swaylock-effects
|
||||
Version: 1.7.0.0^1.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: Swaylock, with fancy effects
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/jirutka/swaylock-effects
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
|
||||
Packager: sadlerm <lerm@chromebooks.lol>
|
||||
|
||||
BuildRequires: meson gcc
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: scdoc
|
||||
|
||||
Recommends: %{name}-bash-completion
|
||||
|
||||
Conflicts: swaylock
|
||||
|
||||
%define binary_name swaylock
|
||||
|
||||
%description
|
||||
swaylock-effects is a fork of swaylock which adds built-in screenshots and image manipulation effects like blurring.
|
||||
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash completion for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
|
||||
%description bash-completion
|
||||
Bash command-line completion support for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh completion for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command-line completion support for %{name}.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish completion for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: fish
|
||||
Supplements: (%{name} and fish)
|
||||
|
||||
%description fish-completion
|
||||
Fish command-line completion support for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit}
|
||||
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{binary_name}
|
||||
%{_mandir}/man1/%{binary_name}.1.gz
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/%{binary_name}
|
||||
|
||||
%files bash-completion
|
||||
%{bash_completions_dir}/%{binary_name}
|
||||
|
||||
%files zsh-completion
|
||||
%{zsh_completions_dir}/_%{binary_name}
|
||||
|
||||
%files fish-completion
|
||||
%{fish_completions_dir}/%{binary_name}.fish
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 04 2025 sadlerm <lerm@chromebooks.lol>
|
||||
- Initial package
|
||||
@@ -6,13 +6,9 @@
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} <= 40
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
# https://github.com/abenz1267/walker
|
||||
%global goipath github.com/abenz1267/walker
|
||||
Version: 0.12.16
|
||||
Version: 0.12.10
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: asar
|
||||
Version: 3.3.1
|
||||
Version: 3.2.18
|
||||
Release: 1%?dist
|
||||
Summary: Simple extensive tar-like archive format with indexing
|
||||
License: MIT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "pokemon-colorscripts.spec"
|
||||
spec = "terra-blueprint-compiler.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
Name: terra-blueprint-compiler
|
||||
Version: 0.16.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/
|
||||
Source0: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v%version/blueprint-compiler-v%version.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: meson gtk4-devel python3-devel python3-gobject-devel
|
||||
Requires: python3-gobject-devel
|
||||
|
||||
%description
|
||||
GtkBuilder XML format is quite verbose, and many app developers don't like
|
||||
using WYSIWYG editors for creating UIs. Blueprint files are intended to be a
|
||||
concise, easy-to-read format that makes it easier to create and edit GTK UIs.
|
||||
Internally, it compiles to GtkBuilder XML as part of an app's build system. It
|
||||
adds no new features, just makes the features that exist more accessible.
|
||||
Another goal is to have excellent developer tooling--including a language
|
||||
server--so that less knowledge of the format is required. Hopefully this will
|
||||
increase adoption of cool advanced features like GtkExpression.
|
||||
|
||||
%prep
|
||||
%autosetup -n blueprint-compiler-v%version
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
#check
|
||||
#meson_test
|
||||
|
||||
%files
|
||||
%doc README.md docs/*.rst
|
||||
%license COPYING
|
||||
%_bindir/blueprint-compiler
|
||||
%python3_sitelib/blueprintcompiler
|
||||
%_datadir/pkgconfig/blueprint-compiler.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jun 13 2023 windowsboy111 <windowsboy111@fyralabs.com> - 0.8.0-1
|
||||
- Initial package
|
||||
@@ -0,0 +1,2 @@
|
||||
let txt = get("https://gitlab.gnome.org/api/v4/projects/17669/releases/");
|
||||
rpm.version(txt.json_arr()[0].tag_name);
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "bun-bin.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
%define debug_package %nil
|
||||
%ifarch x86_64
|
||||
%global a x64
|
||||
%elifarch aarch64
|
||||
%global a aarch64
|
||||
%endif
|
||||
|
||||
Name: bun-bin
|
||||
Version: 1.2.4
|
||||
Release: 1%?dist
|
||||
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
|
||||
License: MIT
|
||||
URL: https://bun.sh
|
||||
Source0: https://github.com/oven-sh/bun/releases/download/bun-v%version/bun-linux-%a.zip
|
||||
BuildRequires: unzip
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
unzip %SOURCE0
|
||||
%global buildsubdir bun-linux-%a
|
||||
cd %buildsubdir
|
||||
cat<<EOF > LICENSE
|
||||
MIT License
|
||||
|
||||
Copyright (c) Jarred Sumner
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
EOF
|
||||
|
||||
%install
|
||||
declare -a shells=("zsh" "bash" "fish")
|
||||
for s in "${shells[@]}"; do
|
||||
SHELL=$s ./bun completions > bun.$s
|
||||
done
|
||||
|
||||
install -Dpm755 bun -t %buildroot%_bindir
|
||||
install -Dm644 bun.zsh %buildroot%zsh_completions_dir/_bun
|
||||
install -Dm644 bun.bash -t %buildroot%bash_completions_dir
|
||||
install -Dm644 bun.fish -t %buildroot%fish_completions_dir
|
||||
ln -s bun %buildroot%_bindir/bunx
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%_bindir/bun
|
||||
%_bindir/bunx
|
||||
%bash_completions_dir/bun.bash
|
||||
%fish_completions_dir/bun.fish
|
||||
%zsh_completions_dir/_bun
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh_rawfile("oven-sh/bun", "main", "LATEST"));
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.97.2.25045
|
||||
Version: 1.96.4.25017
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "flow-control.spec"
|
||||
spec = "flow-control-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
%global commit 1d947ab49967943b04a1c4ae37c048d657b52ca9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250124
|
||||
|
||||
Name: flow-control-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: A programmer's text editor
|
||||
License: MIT
|
||||
URL: https://github.com/neurocyte/flow
|
||||
Source0: %url/archive/%commit.tar.gz
|
||||
BuildRequires: zig
|
||||
Provides: flow = %version-%release
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n flow-%commit
|
||||
|
||||
%build
|
||||
zig build -Doptimize=ReleaseFast --release=fast
|
||||
|
||||
%install
|
||||
install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow
|
||||
|
||||
%files
|
||||
%doc README.md help.md
|
||||
%license LICENSE
|
||||
%_bindir/flow
|
||||
@@ -1,28 +0,0 @@
|
||||
Name: flow-control
|
||||
Epoch: 1
|
||||
Version: 0.3.3
|
||||
Release: 1%?dist
|
||||
Summary: A programmer's text editor
|
||||
License: MIT
|
||||
URL: https://github.com/neurocyte/flow
|
||||
BuildRequires: zig
|
||||
BuildRequires: anda-srpm-macros
|
||||
Provides: flow = %epoch:%version-%release
|
||||
Obsoletes: flow-control-nightly < 20250212.9999999
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%git_clone %url v%version
|
||||
|
||||
%build
|
||||
zig build -Doptimize=ReleaseFast --release=fast
|
||||
|
||||
%install
|
||||
install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow
|
||||
|
||||
%files
|
||||
%doc README.md help.md
|
||||
%license LICENSE
|
||||
%_bindir/flow
|
||||
@@ -1 +1,7 @@
|
||||
rpm.version(gh("neurocyte/flow"));
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("neurocyte/flow"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.29.0
|
||||
Version: 3.27.3
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,21 +1,12 @@
|
||||
%global commit c6485b9fd5514992e9acf8f6986e7986195dc3fc
|
||||
%global commit 95327bff18188b713ae22e47bf6272f2ec61ef9b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2025-02-28
|
||||
%global commit_date %(echo %{fulldate} | sed 's/-//g')
|
||||
%global commit_date 20250124
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global ver 1.1.3
|
||||
%if 0%{?fedora} <= 40
|
||||
%global cache_dir %{_builddir}/zig-cache
|
||||
%else
|
||||
%global cache_dir %{builddir}/zig-cache
|
||||
%endif
|
||||
|
||||
Name: ghostty-nightly
|
||||
Version: %{ver}~tip^%{commit_date}git%{shortcommit}
|
||||
Version: %{commit_date}.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
%if 0%{?fedora} <= 41
|
||||
Epoch: 1
|
||||
%endif
|
||||
Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build.
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
|
||||
URL: https://ghostty.org/
|
||||
@@ -23,112 +14,74 @@ Source0: https://github.com/ghostty-org/ghostty/releases/download/tip/gho
|
||||
Source1: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz.minisig
|
||||
BuildRequires: gtk4-devel
|
||||
BuildRequires: libadwaita-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: minisign
|
||||
BuildRequires: ncurses
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pandoc-cli
|
||||
BuildRequires: zig
|
||||
BuildRequires: pkgconfig(blueprint-compiler)
|
||||
Requires: %{name}-terminfo = %{version}-%{release}
|
||||
Requires: %{name}-shell-integration = %{version}-%{release}
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(oniguruma)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: %{name}-terminfo
|
||||
Requires: %{name}-shell-integration
|
||||
Requires: gtk4
|
||||
Requires: libadwaita
|
||||
BuildRequires: pkgconfig(oniguruma)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: libX11-devel
|
||||
Conflicts: ghostty
|
||||
Provides: ghostty-tip = %{version}-%{release}
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name} = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
Obsoletes: %{name} = 20250130.04d3636
|
||||
Packager: ShinyGil <rockgrub@disroot.org>
|
||||
Packager: ShinyGil <rockgrub@protonmail.com>
|
||||
|
||||
%description
|
||||
👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Ghostty Bash completion
|
||||
Requires: %{name}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name}-bash-completion = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Ghostty Fish completion
|
||||
Requires: %{name}
|
||||
Requires: fish
|
||||
Supplements: (%{name} and fish)
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name}-fish-completion = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Ghostty Zsh completion
|
||||
Requires: %{name}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name}-zsh-completion = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package shell-integration
|
||||
Summary: Ghostty shell integration
|
||||
Supplements: %{name}
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name}-shell-integration = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description shell-integration
|
||||
This package contains files allowing Ghostty to integrate with various shells.
|
||||
%summary.
|
||||
|
||||
%package terminfo
|
||||
Summary: Ghostty terminfo
|
||||
Supplements: %{name}
|
||||
%if 0%{?fedora} <= 41
|
||||
Provides: %{name}-terminfo = %{commit_date}.%{shortcommit}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description terminfo
|
||||
Ghostty's terminfo. Needed for basic terminal function.
|
||||
|
||||
%package terminfo-source
|
||||
Summary: Source files for Ghostty's terminfo
|
||||
Requires: %{name}
|
||||
Requires: %{name}-terminfo
|
||||
BuildArch: noarch
|
||||
|
||||
%description terminfo-source
|
||||
This package contains files for Ghostty's terminfo. Available for debugging use.
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key}
|
||||
%autosetup -n ghostty-source
|
||||
|
||||
# Download everything ahead of time so we can enable system integration mode
|
||||
ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh
|
||||
|
||||
%build
|
||||
@@ -142,13 +95,10 @@ zig build \
|
||||
--prefix "%{_prefix}" --prefix-lib-dir "%{_libdir}" \
|
||||
--prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \
|
||||
--verbose \
|
||||
-Dversion-string="%{ver}-dev+%{shortcommit}" \
|
||||
-Dcpu=baseline \
|
||||
-Dstrip=false \
|
||||
-Dpie=true \
|
||||
-Demit-docs \
|
||||
-Demit-termcap \
|
||||
-Demit-terminfo
|
||||
-Demit-docs
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -158,7 +108,7 @@ zig build \
|
||||
%_datadir/bat/syntaxes/ghostty.sublime-syntax
|
||||
%_datadir/ghostty/
|
||||
%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop
|
||||
%_datadir/nautilus-python/extensions/ghostty.py
|
||||
%_datadir/nautilus-python/extensions/com.mitchellh.ghostty.py
|
||||
%_datadir/nvim/site/compiler/ghostty.vim
|
||||
%_datadir/nvim/site/ftdetect/ghostty.vim
|
||||
%_datadir/nvim/site/ftplugin/ghostty.vim
|
||||
@@ -198,24 +148,16 @@ zig build \
|
||||
%_datadir/ghostty/shell-integration/zsh/ghostty-integration
|
||||
|
||||
%files terminfo
|
||||
%_datadir/terminfo/ghostty.termcap
|
||||
%_datadir/terminfo/ghostty.terminfo
|
||||
%_datadir/terminfo/g/ghostty
|
||||
%_datadir/terminfo/x/xterm-ghostty
|
||||
|
||||
%files terminfo-source
|
||||
%_datadir/terminfo/ghostty.termcap
|
||||
%_datadir/terminfo/ghostty.terminfo
|
||||
|
||||
%changelog
|
||||
* Fri Jan 31 2025 ShinyGil <rockgrub@disroot.org>
|
||||
- Update to 1.1.1-1%{?dist}.20250131tipc5508e7
|
||||
* Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances
|
||||
* Better Git versioning scheme
|
||||
* Ghostty terminfo source files are now a subpackage
|
||||
* Shell integration and completion and terminfo subpackages are now properly noarch
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@disroot.org>
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Update to 20241231.3f7c3af
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@disroot.org>
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Initial package
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
let url = `https://api.github.com/repos/ghostty-org/ghostty/releases/83450291`;
|
||||
let json = get(url).json();
|
||||
let commit = json.target_commitish;
|
||||
rpm.global("commit", commit);
|
||||
rpm.global("commit", gh_commit("ghostty-org/ghostty"));
|
||||
if rpm.changed() {
|
||||
let date = json.created_at;
|
||||
date.truncate(10);
|
||||
let html = get(`https://raw.githubusercontent.com/ghostty-org/ghostty/refs/heads/main/build.zig.zon`);
|
||||
let ver = find(".version = \"([\\d.]+)\"", html, 1);
|
||||
rpm.global("fulldate", date);
|
||||
rpm.global("ver", ver);
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
|
||||
@@ -1,110 +1,87 @@
|
||||
# Signing key from https://github.com/ghostty-org/ghostty/blob/main/PACKAGING.md
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%if 0%{?fedora} <= 40
|
||||
%global cache_dir %{_builddir}/zig-cache
|
||||
%else
|
||||
|
||||
%global cache_dir %{builddir}/zig-cache
|
||||
%endif
|
||||
|
||||
Name: ghostty
|
||||
Version: 1.1.2
|
||||
Release: 2%?dist
|
||||
Version: 1.0.1
|
||||
Release: 5%{?dist}
|
||||
Summary: A fast, native terminal emulator written in Zig.
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
|
||||
URL: https://ghostty.org/
|
||||
Source0: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz
|
||||
Source1: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz.minisig
|
||||
Patch0: no-strip.diff
|
||||
BuildRequires: gtk4-devel
|
||||
BuildRequires: libadwaita-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: minisign
|
||||
BuildRequires: ncurses
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pandoc-cli
|
||||
BuildRequires: zig
|
||||
BuildRequires: minisign
|
||||
Requires: %{name}-terminfo = %{version}-%{release}
|
||||
Requires: %{name}-shell-integration = %{version}-%{release}
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(oniguruma)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Requires: %{name}-terminfo = %{version}-%{release}
|
||||
Requires: %{name}-shell-integration = %{version}-%{release}
|
||||
Requires: gtk4
|
||||
Requires: libadwaita
|
||||
BuildRequires: pkgconfig(oniguruma)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(gtk4)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: libX11-devel
|
||||
Conflicts: ghostty-nightly
|
||||
Packager: ShinyGil <rockgrub@disroot.org>
|
||||
Packager: ShinyGil <rockgrub@protonmail.com>
|
||||
|
||||
%description
|
||||
👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Ghostty Bash completion
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package fish-completion
|
||||
Summary: Ghostty Fish completion
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: fish
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Ghostty Zsh completion
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: zsh
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh shell completion for Ghostty.
|
||||
%summary.
|
||||
|
||||
%package shell-integration
|
||||
Summary: Ghostty shell integration
|
||||
Supplements: %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description shell-integration
|
||||
This package contains files allowing Ghostty to integrate with various shells.
|
||||
%summary.
|
||||
|
||||
%package terminfo
|
||||
Summary: Ghostty terminfo
|
||||
Supplements: %{name}
|
||||
BuildArch: noarch
|
||||
|
||||
%description terminfo
|
||||
Ghostty's terminfo. Needed for basic terminal function.
|
||||
|
||||
%package terminfo-source
|
||||
Summary: Source files for Ghostty's terminfo
|
||||
Requires: %{name}
|
||||
Requires: %{name}-terminfo
|
||||
BuildArch: noarch
|
||||
|
||||
%description terminfo-source
|
||||
Source files for Ghostty's terminfo. Available for debugging use.
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key}
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
export ZIG_GLOBAL_CACHE_DIR="%{cache_dir}"
|
||||
zig build --fetch
|
||||
zig fetch git+https://github.com/zigimg/zigimg#3a667bdb3d7f0955a5a51c8468eac83210c1439e
|
||||
zig fetch git+https://github.com/mitchellh/libxev#f6a672a78436d8efee1aa847a43a900ad773618b
|
||||
# Download everything ahead of time so we can enable system integration mode
|
||||
ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh
|
||||
|
||||
%build
|
||||
|
||||
@@ -119,11 +96,8 @@ zig build \
|
||||
--verbose \
|
||||
-Dversion-string=%{version} \
|
||||
-Dcpu=baseline \
|
||||
-Dstrip=false \
|
||||
-Dpie=true \
|
||||
-Demit-docs \
|
||||
-Demit-termcap \
|
||||
-Demit-terminfo
|
||||
-Demit-docs
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -133,12 +107,9 @@ zig build \
|
||||
%_datadir/bat/syntaxes/ghostty.sublime-syntax
|
||||
%_datadir/ghostty/
|
||||
%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop
|
||||
%_datadir/nautilus-python/extensions/ghostty.py
|
||||
%_datadir/nvim/site/compiler/ghostty.vim
|
||||
%_datadir/nvim/site/ftdetect/ghostty.vim
|
||||
%_datadir/nvim/site/ftplugin/ghostty.vim
|
||||
%_datadir/nvim/site/syntax/ghostty.vim
|
||||
%_datadir/vim/vimfiles/compiler/ghostty.vim
|
||||
%_datadir/vim/vimfiles/ftdetect/ghostty.vim
|
||||
%_datadir/vim/vimfiles/ftplugin/ghostty.vim
|
||||
%_datadir/vim/vimfiles/syntax/ghostty.vim
|
||||
@@ -173,23 +144,16 @@ zig build \
|
||||
%_datadir/ghostty/shell-integration/zsh/ghostty-integration
|
||||
|
||||
%files terminfo
|
||||
%_datadir/terminfo/ghostty.termcap
|
||||
%_datadir/terminfo/ghostty.terminfo
|
||||
%_datadir/terminfo/g/ghostty
|
||||
%_datadir/terminfo/x/xterm-ghostty
|
||||
|
||||
%files terminfo-source
|
||||
%_datadir/terminfo/ghostty.termcap
|
||||
%_datadir/terminfo/ghostty.terminfo
|
||||
|
||||
%changelog
|
||||
* Fri Jan 31 2025 ShinyGil <rockgrub@disroot.org>
|
||||
- Update to 1.1.0-1%{?dist}
|
||||
* Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances
|
||||
* Ghostty terminfo source files are now a subpackage
|
||||
* Shell integration and completion and terminfo subpackages are now properly noarch
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@disroot.org>
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Update to 1.0.1
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@disroot.org>
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Initial package
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
diff --git a/build.zig b/build.zig
|
||||
index c3f7302..a0ecf25 100644
|
||||
--- a/build.zig
|
||||
+++ b/build.zig
|
||||
@@ -295,11 +295,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
- .strip = switch (optimize) {
|
||||
- .Debug => false,
|
||||
- .ReleaseSafe => false,
|
||||
- .ReleaseFast, .ReleaseSmall => true,
|
||||
- },
|
||||
+ .strip = false,
|
||||
}) else null;
|
||||
|
||||
// Exe
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: kvrocks
|
||||
Version: 2.11.1
|
||||
Version: 2.10.1
|
||||
Release: 1%?dist
|
||||
Summary: Distributed key value NoSQL database that uses RocksDB
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rust-lowfi.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Generated by rust2rpm 27
|
||||
%global crate lowfi
|
||||
|
||||
Name: rust-lowfi
|
||||
Version: 1.5.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Extremely simple lofi player
|
||||
|
||||
License: MIT
|
||||
URL: https://crates.io/crates/lowfi
|
||||
Source: %{crates_source}
|
||||
|
||||
Packager: sadlerm <lerm@chromebooks.lol>
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: mold
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
|
||||
%global _description %{expand:
|
||||
An extremely simple lofi player.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (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 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 OR MIT OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT)
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_bindir}/lowfi
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version}
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license_summary_online}
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
install -Dm755 target/rpm/%{crate} %{buildroot}%{_bindir}/%{crate}
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(crates("lowfi"));
|
||||
@@ -1,8 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "micro-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
# Generated by go2rpm 1.15.0
|
||||
%bcond check 0
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# Naming variable as something other than "commit" is necessary
|
||||
# to stop %%gometa from putting commit hash in release
|
||||
%global commit_hash 272a308275f3b543647c6171e86dc521ce2822a0
|
||||
%global commit_date 20250228
|
||||
%global shortcommit %{sub %{commit_hash} 1 7}
|
||||
%global ver 2.0.14
|
||||
|
||||
# https://github.com/zyedidia/micro
|
||||
%global goipath github.com/zyedidia/micro
|
||||
Version: %{ver}^%{commit_date}git.%{shortcommit}
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
micro is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals. It strives to be enjoyable as a full-time editor for people who prefer to work in a terminal, or those who regularly edit files over SSH.}
|
||||
|
||||
%global golicenses LICENSE LICENSE-THIRD-PARTY
|
||||
%global godocs README.md runtime/help/colors.md runtime/help/commands.md\\\
|
||||
runtime/help/copypaste.md runtime/help/defaultkeys.md\\\
|
||||
runtime/help/help.md runtime/help/keybindings.md\\\
|
||||
runtime/help/options.md runtime/help/plugins.md\\\
|
||||
runtime/help/tutorial.md
|
||||
|
||||
Name: micro.nightly
|
||||
Release: 2%{?dist}
|
||||
Summary: A modern and intuitive terminal-based text editor
|
||||
|
||||
License: MIT
|
||||
URL: %{gourl}
|
||||
Packager: sadlerm <lerm@chromebooks.lol>
|
||||
|
||||
BuildRequires: anda-srpm-macros
|
||||
|
||||
Recommends: wl-clipboard
|
||||
Recommends: (xclip or xsel)
|
||||
|
||||
Provides: micro-nightly = %{version}-%{release}
|
||||
Provides: micro
|
||||
Conflicts: micro
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%global buildsubdir micro-%{version}
|
||||
|
||||
%prep
|
||||
git clone --recurse-submodules -q %{gourl} micro-%{version}
|
||||
cd %{builddir}/micro-%{version} && git checkout -q %{commit_hash}
|
||||
%gomkdir
|
||||
%go_prep_online
|
||||
|
||||
%build
|
||||
%if %{without bootstrap}
|
||||
go generate ./runtime
|
||||
|
||||
MICRO_VERSION=$(go run ./tools/build-version.go)
|
||||
MICRO_DATE=$(date --date=%{commit_date} +"%%B %%d, %%Y")
|
||||
|
||||
LDFLAGS="-X internal/util.version=${MICRO_VERSION} \
|
||||
-X internal/util.hash=%{shortcommit} \
|
||||
-X 'internal/util.date=${MICRO_DATE}'"
|
||||
|
||||
%define gomodulesmode GO111MODULE=on
|
||||
%gobuild -o %{gobuilddir}/bin/micro ./cmd/micro
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without bootstrap}
|
||||
install -Dm755 %{gobuilddir}/bin/micro -t %{buildroot}%{_bindir}
|
||||
install -Dm644 assets/packaging/micro.1 -t %{buildroot}%{_mandir}/man1
|
||||
install -Dm644 assets/packaging/micro.desktop -t %{buildroot}%{_datadir}/applications
|
||||
install -Dm644 assets/micro-logo-mark.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/micro.svg
|
||||
|
||||
# for %%doc packaging
|
||||
mv -v ./runtime/help .
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gotest ./internal/... ./cmd/micro/...
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE LICENSE-THIRD-PARTY
|
||||
%doc README.md help
|
||||
%{_bindir}/micro
|
||||
%{_mandir}/man1/micro.1.gz
|
||||
%{_datadir}/applications/micro.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/micro.svg
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1,7 +0,0 @@
|
||||
rpm.global("commit_hash", gh_commit("zyedidia/micro"));
|
||||
let v = gh("zyedidia/micro");
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
v.crop(1);
|
||||
rpm.global("ver", v);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user