mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore: sync with Terra 39 (#877)
* chore: sync with Terra 39 * fix: update mock-configs path * fix: use f38 specs for desktops * chore: move more lomiri/unity specific packages (#880) * Fix(ubuntu-sdk): update description & version (#878) Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> * fix: disable docs package (#887) * sync more changes from f39 * add keyd fixes --------- Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com> Signed-off-by: lleyton <lleyton@fyralabs.com> Co-authored-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
This commit is contained in:
@@ -63,10 +63,10 @@ jobs:
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v anda/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
cp -v anda/terra/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Build terra-mock-configs
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
anda build -c fedora-${{ matrix.version }}-${{ matrix.arch }} anda/mock-configs/pkg -p rpm
|
||||
anda build -c fedora-${{ matrix.version }}-${{ matrix.arch }} anda/terra/mock-configs/pkg -p rpm
|
||||
- name: Install terra-mock-configs
|
||||
run: sudo dnf install -y anda-build/rpm/rpms/terra-mock-configs*.rpm
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.arch }}-${{ matrix.pkg }}
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c anda/mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.cfg
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c anda/terra/mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -4,7 +4,7 @@ Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
BuildRequires: python3-installer python3.11 rpm_macro(fdupes)
|
||||
BuildRequires: python3-pip rpm_macro(fdupes)
|
||||
Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash
|
||||
@@ -29,28 +29,33 @@ Anki is based on a theory called spaced repetition.
|
||||
%build
|
||||
|
||||
%install
|
||||
python3.11 -m installer --destdir="%{buildroot}" %{SOURCE0}
|
||||
python3.11 -m installer --destdir="%{buildroot}" %{SOURCE1}
|
||||
pip3 install --root=%{buildroot} %SOURCE0 %SOURCE1
|
||||
install -Dm755 %{SOURCE2} "%{buildroot}/usr/bin/anki"
|
||||
install -Dm644 %{SOURCE3} "%{buildroot}/usr/share/applications/anki.desktop"
|
||||
install -Dm644 %{SOURCE4} "%{buildroot}/usr/share/pixmaps/anki.png"
|
||||
install -Dm644 %{SOURCE5} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE"
|
||||
install -Dm644 %{SOURCE6} "%{buildroot}/%{_datadir}/doc/%{name}/README.md"
|
||||
|
||||
%fdupes %_libdir/python*/site-packages/_aqt/data/
|
||||
cp -r %buildroot%_libdir/python3*/site-packages/{_aqt,anki*,aqt*} .
|
||||
rm -rf %buildroot{%_libdir,/usr/lib}/python3*/site-packages/*
|
||||
cp -r ./{_aqt,anki*,aqt*} %buildroot/usr/lib/python3*/site-packages/
|
||||
|
||||
rm -rf %buildroot%_bindir/{distro,flask,jsonschema,markdown_py,normalizer,send2trash,waitress-serve}
|
||||
|
||||
%fdupes %buildroot%_libdir/python*/site-packages/_aqt/data/
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
/usr/bin/anki
|
||||
/usr/lib64/python*/site-packages/_aqt/
|
||||
/usr/lib64/python*/site-packages/anki-%{version}.dist-info/
|
||||
/usr/lib64/python*/site-packages/anki/
|
||||
/usr/lib64/python*/site-packages/aqt-%{version}.dist-info/
|
||||
/usr/lib64/python*/site-packages/aqt/
|
||||
/usr/share/applications/anki.desktop
|
||||
/usr/share/pixmaps/anki.png
|
||||
%_bindir/anki
|
||||
/usr/lib/python*/site-packages/_aqt/
|
||||
/usr/lib/python*/site-packages/anki-%{version}.dist-info/
|
||||
/usr/lib/python*/site-packages/anki/
|
||||
/usr/lib/python*/site-packages/aqt-%{version}.dist-info/
|
||||
/usr/lib/python*/site-packages/aqt/
|
||||
%_datadir/applications/anki.desktop
|
||||
%_datadir/pixmaps/anki.png
|
||||
|
||||
%changelog
|
||||
* Fri Nov 10 2023 hazel-bunny <dabiswas112@gmail.com> - 23.10-2
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.209
|
||||
Version: 0.0.248
|
||||
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.209
|
||||
Version: 0.0.248
|
||||
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.34
|
||||
Version: 0.0.40
|
||||
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.58
|
||||
Version: 0.0.64
|
||||
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.58
|
||||
Version: 0.0.64
|
||||
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.34
|
||||
Version: 0.0.40
|
||||
Release: 1%{?dist}
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rust-sccache.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,601 @@
|
||||
# Generated by rust2rpm 25
|
||||
%bcond_with check
|
||||
# aarch64 dist is not available
|
||||
%ifarch aarch64
|
||||
%bcond_with dist_server
|
||||
%else
|
||||
%bcond_without dist_server
|
||||
%endif
|
||||
|
||||
# Don't mangle shebangs
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
|
||||
%global crate sccache
|
||||
|
||||
Name: rust-sccache
|
||||
Version: 0.7.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Ccache-like tool
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://crates.io/crates/sccache
|
||||
Source: %{crates_source}
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch: sccache-fix-metadata-auto.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%global _description %{expand:
|
||||
Sccache is a ccache-like tool. It is used as a compiler wrapper and
|
||||
avoids compilation when possible, storing a cache in a remote storage
|
||||
using various cloud storage.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
# FIXME: paste output of %%cargo_license_summary here
|
||||
License: # FIXME
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
%doc README.md
|
||||
%{_bindir}/sccache
|
||||
%if %{with dist_server}
|
||||
%{_bindir}/sccache-dist
|
||||
%endif
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: rust >= 1.67.1
|
||||
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/LICENSE
|
||||
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
|
||||
%doc %{crate_instdir}/README.md
|
||||
%{crate_instdir}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/default) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/all) = 0.7.4
|
||||
|
||||
%description -n %{name}+default-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "default" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+all-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/all) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/azure) = 0.7.4
|
||||
Requires: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: crate(sccache/gcs) = 0.7.4
|
||||
Requires: crate(sccache/gha) = 0.7.4
|
||||
Requires: crate(sccache/memcached) = 0.7.4
|
||||
Requires: crate(sccache/redis) = 0.7.4
|
||||
Requires: crate(sccache/s3) = 0.7.4
|
||||
Requires: crate(sccache/webdav) = 0.7.4
|
||||
|
||||
%description -n %{name}+all-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "all" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+all-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+azure-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/azure) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+azure-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "azure" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+azure-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+dist-client-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-client-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dist-client" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dist-client-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
%if %{with dist_server}
|
||||
%package -n %{name}+dist-server-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-server) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-server-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dist-server" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dist-server-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+dist-tests-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/dist-tests) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/dist-client) = 0.7.4
|
||||
Requires: crate(sccache/dist-server) = 0.7.4
|
||||
|
||||
%description -n %{name}+dist-tests-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "dist-tests" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+dist-tests-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
%endif
|
||||
%package -n %{name}+flate2-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/flate2) = 0.7.4
|
||||
Requires: (crate(flate2) >= 1.0.0 with crate(flate2) < 2.0.0~)
|
||||
Requires: (crate(flate2/rust_backend) >= 1.0.0 with crate(flate2/rust_backend) < 2.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+flate2-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "flate2" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+flate2-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+gcs-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/gcs) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+gcs-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "gcs" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+gcs-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+gha-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/gha) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
|
||||
%description -n %{name}+gha-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "gha" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+gha-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hyper-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/hyper) = 0.7.4
|
||||
Requires: (crate(hyper/default) >= 0.14.27 with crate(hyper/default) < 0.15.0~)
|
||||
Requires: (crate(hyper/server) >= 0.14.27 with crate(hyper/server) < 0.15.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+hyper-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "hyper" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+hyper-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+jwt-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/jwt) = 0.7.4
|
||||
Requires: (crate(jsonwebtoken/default) >= 8.0.0 with crate(jsonwebtoken/default) < 9.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+jwt-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "jwt" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+jwt-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+libmount-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/libmount) = 0.7.4
|
||||
Requires: (crate(libmount/default) >= 0.1.10 with crate(libmount/default) < 0.2.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+libmount-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "libmount" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+libmount-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+memcached-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/memcached) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-memcached) >= 0.40.0 with crate(opendal/services-memcached) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+memcached-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "memcached" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+memcached-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+native-zlib-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/native-zlib) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+native-zlib-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "native-zlib" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+native-zlib-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+nix-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/nix) = 0.7.4
|
||||
Requires: (crate(nix/default) >= 0.26.2 with crate(nix/default) < 0.27.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+nix-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "nix" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+nix-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+opendal-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/opendal) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+opendal-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "opendal" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+opendal-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+openssl-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/openssl) = 0.7.4
|
||||
Requires: (crate(openssl/default) >= 0.10.55 with crate(openssl/default) < 0.11.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+openssl-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "openssl" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+openssl-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+redis-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/redis) = 0.7.4
|
||||
Requires: (crate(opendal/default) >= 0.40.0 with crate(opendal/default) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-redis) >= 0.40.0 with crate(opendal/services-redis) < 0.41.0~)
|
||||
Requires: (crate(opendal/services-redis-rustls) >= 0.40.0 with crate(opendal/services-redis-rustls) < 0.41.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/url) = 0.7.4
|
||||
|
||||
%description -n %{name}+redis-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "redis" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+redis-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+reqsign-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/reqsign) = 0.7.4
|
||||
Requires: (crate(reqsign/default) >= 0.14.1 with crate(reqsign/default) < 0.15.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+reqsign-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "reqsign" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+reqsign-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+reqwest-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/reqwest) = 0.7.4
|
||||
Requires: (crate(reqwest/blocking) >= 0.11.0 with crate(reqwest/blocking) < 0.12.0~)
|
||||
Requires: (crate(reqwest/default) >= 0.11.0 with crate(reqwest/default) < 0.12.0~)
|
||||
Requires: (crate(reqwest/json) >= 0.11.0 with crate(reqwest/json) < 0.12.0~)
|
||||
Requires: (crate(reqwest/rustls-tls) >= 0.11.0 with crate(reqwest/rustls-tls) < 0.12.0~)
|
||||
Requires: (crate(reqwest/stream) >= 0.11.0 with crate(reqwest/stream) < 0.12.0~)
|
||||
Requires: (crate(reqwest/trust-dns) >= 0.11.0 with crate(reqwest/trust-dns) < 0.12.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+reqwest-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "reqwest" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+reqwest-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+rouille-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/rouille) = 0.7.4
|
||||
Requires: (crate(rouille) >= 3.6.0 with crate(rouille) < 4.0.0~)
|
||||
Requires: (crate(rouille/ssl) >= 3.6.0 with crate(rouille/ssl) < 4.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+rouille-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "rouille" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+rouille-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+s3-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/s3) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
Requires: crate(sccache/reqsign) = 0.7.4
|
||||
|
||||
%description -n %{name}+s3-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "s3" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+s3-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+sha2-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/sha2) = 0.7.4
|
||||
Requires: (crate(sha2/default) >= 0.10.6 with crate(sha2/default) < 0.11.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+sha2-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "sha2" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+sha2-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+syslog-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/syslog) = 0.7.4
|
||||
Requires: (crate(syslog/default) >= 6.0.0 with crate(syslog/default) < 7.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+syslog-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "syslog" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+syslog-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+trust-dns-resolver-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/trust-dns-resolver) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+trust-dns-resolver-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "trust-dns-resolver" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+trust-dns-resolver-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+unstable-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/unstable) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+unstable-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "unstable" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+unstable-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+url-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/url) = 0.7.4
|
||||
Requires: (crate(url/default) >= 2.0.0 with crate(url/default) < 3.0.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+url-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "url" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+url-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+vendored-openssl-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/vendored-openssl) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+vendored-openssl-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "vendored-openssl" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+vendored-openssl-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+version-compare-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/version-compare) = 0.7.4
|
||||
Requires: (crate(version-compare/default) >= 0.1.1 with crate(version-compare/default) < 0.2.0~)
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
|
||||
%description -n %{name}+version-compare-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "version-compare" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+version-compare-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+webdav-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
Provides: crate(sccache/webdav) = 0.7.4
|
||||
Requires: cargo
|
||||
Requires: crate(sccache) = 0.7.4
|
||||
Requires: crate(sccache/opendal) = 0.7.4
|
||||
|
||||
%description -n %{name}+webdav-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "webdav" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+webdav-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
|
||||
%build
|
||||
%if %{with dist_server}
|
||||
%cargo_build -f dist-server
|
||||
%else
|
||||
%cargo_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with dist_server}
|
||||
%cargo_install -f dist-server
|
||||
%else
|
||||
%cargo_install
|
||||
%endif
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%if %{with dist_server}
|
||||
%cargo_test -f dist-server
|
||||
%else
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Dec 18 2023 Cappy Ishihara <cappy@cappuchino.xyz> - 0.7.4-1
|
||||
- Initial package
|
||||
@@ -0,0 +1,14 @@
|
||||
--- sccache-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ sccache-0.7.4/Cargo.toml 2023-12-18T06:08:52.420382+00:00
|
||||
@@ -384,11 +384,3 @@
|
||||
[target."cfg(unix)".dependencies.daemonize]
|
||||
version = "0.5"
|
||||
|
||||
-[target."cfg(windows)".dependencies.winapi]
|
||||
-version = "0.3"
|
||||
-features = [
|
||||
- "fileapi",
|
||||
- "handleapi",
|
||||
- "stringapiset",
|
||||
- "winnls",
|
||||
-]
|
||||
@@ -0,0 +1,5 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "vencord-desktop.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("Vencord/Vesktop"));
|
||||
@@ -0,0 +1,74 @@
|
||||
%define debug_package %nil
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/vesktop/.*\\.so
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 0.4.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
|
||||
URL: https://github.com/Vencord/Vesktop
|
||||
Group: Applications/Internet
|
||||
#Source1: launch.sh
|
||||
Source0: https://github.com/Vencord/Vesktop/archive/refs/tags/v%{version}.tar.gz
|
||||
Requires: xdg-utils
|
||||
BuildRequires: nodejs-npm git
|
||||
# Conflicts: vesktop-bin
|
||||
|
||||
%description
|
||||
vesktop is a custom client designed to enhance your Discord experience
|
||||
while keeping everything lightweight.
|
||||
|
||||
%prep
|
||||
git init
|
||||
git remote add origin %url || :
|
||||
git reset --hard
|
||||
git fetch
|
||||
git checkout v%version
|
||||
|
||||
cat <<EOF > vesktop.desktop
|
||||
[Desktop Entry]
|
||||
Name=Vesktop
|
||||
Comment=%summary
|
||||
GenericName=Internet Messenger
|
||||
Type=Application
|
||||
Exec=/usr/bin/vencorddesktop
|
||||
Icon=vesktop
|
||||
Categories=Network;InstantMessaging;
|
||||
StartupWMClass=VencordDesktop
|
||||
|
||||
Keywords=discord;vesktop;vencord;shelter;armcord;electron;
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
npx pnpm@8 install --no-frozen-lockfile
|
||||
npx pnpm@8 package:dir
|
||||
|
||||
|
||||
%install
|
||||
|
||||
mkdir -p %buildroot/usr/share/vesktop
|
||||
cp -r dist/*-unpacked/. %buildroot/usr/share/vesktop/.
|
||||
|
||||
install -Dm755 dist/*-unpacked/vencorddesktop %buildroot/usr/bin/vencorddesktop
|
||||
ln -sf /usr/share/vesktop/vencorddesktop %buildroot/usr/bin/vencorddesktop
|
||||
install -Dm644 vesktop.desktop %buildroot/usr/share/applications/vesktop.desktop
|
||||
install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/vesktop.png
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
/usr/bin/vencorddesktop
|
||||
/usr/share/applications/vesktop.desktop
|
||||
/usr/share/pixmaps/vesktop.png
|
||||
/usr/share/vesktop/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 07 2023 Cappy Ishihara <cappy@cappuchino.xyz> - 0.4.3-1
|
||||
- Initial package
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@ Requires: budgie-applet-recentlyused
|
||||
Requires: budgie-applet-rotation-lock
|
||||
Requires: budgie-applet-showtime
|
||||
Requires: budgie-applet-takeabreak
|
||||
Requires: budgie-applet-trash
|
||||
Requires: budgie-applet-visualspace
|
||||
Requires: budgie-applet-wallstreet
|
||||
Requires: budgie-applet-window-shuffler
|
||||
@@ -208,14 +207,6 @@ upside down, dim the screen, lock screen or show a countdown message on break
|
||||
time. The applet can be accessed quickly from the panel to temporarily switch
|
||||
it off.
|
||||
|
||||
%package -n budgie-applet-trash
|
||||
Requires: budgie-extras-common
|
||||
Summary: Applet allows access to trash capabilities for the Budgie Desktop
|
||||
%description -n budgie-applet-trash
|
||||
The trash applet allows the user access the desktop trash capabilities
|
||||
from the panel including the ability to delete and restore files stored
|
||||
in the trash folder.
|
||||
|
||||
%package -n budgie-applet-visualspace
|
||||
Requires: budgie-extras-common
|
||||
Summary: Shows the current workspace(s), as bullet(s)
|
||||
@@ -393,9 +384,6 @@ rm -f %{buildroot}%{_bindir}/quickchar
|
||||
%{_datadir}/glib-2.0/schemas/org.ubuntubudgie.plugins.takeabreak.gschema.xml
|
||||
%{_datadir}/pixmaps/takeabreak*.svg
|
||||
|
||||
%files -n budgie-applet-trash
|
||||
%{_libdir}/budgie-desktop/plugins/budgie-trash
|
||||
|
||||
%files -n budgie-applet-visualspace
|
||||
%config %{_sysconfdir}/xdg/autostart/visualspace-autostart.desktop
|
||||
%{_libdir}/budgie-desktop/plugins/budgie-visualspace
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: elementary-files
|
||||
Summary: File manager from elementary
|
||||
Version: 6.5.2
|
||||
Version: 6.5.3
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Name: elementary-icon-theme
|
||||
Summary: Icons from the Elementary Project
|
||||
Version: 7.3.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/icons
|
||||
@@ -89,9 +89,7 @@ gtk-update-icon-cache --force %{_datadir}/icons/elementary &>/dev/null || :
|
||||
%dir %{_datadir}/icons/elementary
|
||||
%ghost %{_datadir}/icons/elementary/icon-theme.cache
|
||||
|
||||
%{_datadir}/icons/elementary/*/
|
||||
%{_datadir}/icons/elementary/*@2x
|
||||
%{_datadir}/icons/elementary/*@3x
|
||||
%{_datadir}/icons/elementary/*
|
||||
|
||||
%{_datadir}/icons/elementary/cursor.theme
|
||||
%{_datadir}/icons/elementary/index.theme
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Name: elementary-onboarding
|
||||
Summary: Onboarding app for new users
|
||||
Version: 7.2.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/onboarding
|
||||
|
||||
@@ -13,10 +13,11 @@ BuildArch: noarch
|
||||
|
||||
Requires: elementary-settings-daemon
|
||||
Requires: gala
|
||||
# Gala has a hard runtime dependency on... GNOME Disks' DBus service!?!
|
||||
Requires: gnome-disk-utility
|
||||
Requires: gnome-keyring
|
||||
Requires: gnome-session
|
||||
Requires: gnome-session-xsession
|
||||
#Requires: gnome-session-xsession # this pulls in gnome-shell
|
||||
Requires: gnome-settings-daemon
|
||||
Requires: orca
|
||||
Requires: pantheon-agent-geoclue2
|
||||
@@ -41,6 +42,8 @@ Requires: elementary-sound-theme
|
||||
Requires: elementary-theme
|
||||
Requires: open-sans-fonts
|
||||
|
||||
Source1: https://github.com/elementary/default-settings/raw/master/xdg-desktop-portal/pantheon-portals.conf
|
||||
|
||||
%description
|
||||
Configuration files and settings overrides for the Pantheon desktop session.
|
||||
|
||||
@@ -84,6 +87,9 @@ mkdir -p %{buildroot}/%{_datadir}/accountsservice/interfaces
|
||||
ln -s ../../dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml \
|
||||
%{buildroot}/%{_datadir}/accountsservice/interfaces/io.elementary.pantheon.AccountsService.xml
|
||||
|
||||
mkdir -p %{buildroot}/%{_datadir}/xdg-desktop-portal
|
||||
install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/xdg-desktop-portal/
|
||||
|
||||
|
||||
# these scriptlets are apparently still necessary, because
|
||||
# .override files don't seem to trigger schema recompilation
|
||||
@@ -109,6 +115,7 @@ fi
|
||||
%{_datadir}/gnome-session/sessions/pantheon.session
|
||||
%{_datadir}/polkit-1/actions/io.elementary.pantheon.AccountsService.policy
|
||||
%{_datadir}/xsessions/pantheon.desktop
|
||||
%{_datadir}/xdg-desktop-portal/pantheon-portals.conf
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
From a3be778d1c4137d30af6ed9a08d0b54ee828687f Mon Sep 17 00:00:00 2001
|
||||
From: madomado <madonuko@outlook.com>
|
||||
Date: Tue, 21 Nov 2023 19:45:14 +0800
|
||||
Subject: [PATCH] fix(wallpaper): change wallpaper for dark theme settings
|
||||
|
||||
Previously before the fix, the wallpaper cannot be changed via settings because it only sets the wallpaper for the light theme, not the dark theme.
|
||||
This fixes the issue.
|
||||
---
|
||||
src/Views/Wallpaper.vala | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/Views/Wallpaper.vala b/src/Views/Wallpaper.vala
|
||||
index 07251444..7141cad8 100644
|
||||
--- a/src/Views/Wallpaper.vala
|
||||
+++ b/src/Views/Wallpaper.vala
|
||||
@@ -206,6 +206,7 @@ public class PantheonShell.Wallpaper : Gtk.Box {
|
||||
}
|
||||
|
||||
gnome_background_settings.set_string ("picture-uri", uri);
|
||||
+ gnome_background_settings.set_string ("picture-uri-dark", uri);
|
||||
}
|
||||
|
||||
private void update_checked_wallpaper (Gtk.FlowBox box, Gtk.FlowBoxChild child) {
|
||||
+1
@@ -14,6 +14,7 @@ License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-pantheon-shell
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Patch0: dark-theme-wallpaper.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "gnome-shell-extension-appmenu-is-back.spec"
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
%global extension appmenu-is-back
|
||||
%global uuid %{extension}@fthx
|
||||
|
||||
Name: gnome-shell-extension-%{extension}
|
||||
Version: 2
|
||||
Release: 1%{?dist}
|
||||
Summary: GNOME Shell extension to bring back the app menu
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/fthx/appmenu-is-back
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: https://github.com/fthx/appmenu-is-back/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
Requires: (gnome-shell >= 45~ with gnome-shell < 46~)
|
||||
Recommends: gnome-extensions-app
|
||||
|
||||
%description
|
||||
This extension brings back the app menu in the top panel, for GNOME 45 and later.
|
||||
|
||||
%prep
|
||||
%autosetup -n appmenu-is-back-%{version}
|
||||
|
||||
%install
|
||||
install -Dm644 metadata.json %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/metadata.json
|
||||
install -Dm644 extension.js %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/extension.js
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_datadir}/gnome-shell/extensions/%{uuid}
|
||||
|
||||
%changelog
|
||||
* Thu Nov 16 2023 Lleyton Gray <lleyton@fyralabs.com> - 2-1
|
||||
- Initial Release
|
||||
@@ -0,0 +1,2 @@
|
||||
let version = find("v(.+)", gh("fthx/appmenu-is-back"), 1);
|
||||
rpm.version(version);
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
From 3f8b19139bf3f13b4285fd9d949cb5460a0909df Mon Sep 17 00:00:00 2001
|
||||
From: Carl George <carl@george.computer>
|
||||
Date: Fri, 25 Jun 2021 22:26:50 -0500
|
||||
Subject: [PATCH] Remove schema handling from transpile.sh
|
||||
|
||||
---
|
||||
scripts/transpile.sh | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/scripts/transpile.sh b/scripts/transpile.sh
|
||||
index e619a8c..8977c29 100755
|
||||
--- a/scripts/transpile.sh
|
||||
+++ b/scripts/transpile.sh
|
||||
@@ -15,8 +15,6 @@ transpile() {
|
||||
|
||||
rm -rf _build
|
||||
|
||||
-glib-compile-schemas schemas &
|
||||
-
|
||||
# Transpile to JavaScript
|
||||
|
||||
for proj in ${PROJECTS}; do
|
||||
@@ -30,7 +28,7 @@ wait
|
||||
|
||||
# Convert JS to GJS-compatible scripts
|
||||
|
||||
-cp -r metadata.json icons schemas *.css _build &
|
||||
+cp -r metadata.json icons *.css _build &
|
||||
|
||||
for src in $(find target -name '*.js'); do
|
||||
dest=$(echo "$src" | sed s#target#_build#g)
|
||||
--
|
||||
2.31.1
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
[org.gnome.desktop.wm.keybindings]
|
||||
close = ['<Alt>F4', '<Super>q']
|
||||
maximize = []
|
||||
minimize = []
|
||||
move-to-monitor-down = []
|
||||
move-to-monitor-left = []
|
||||
move-to-monitor-right = []
|
||||
move-to-monitor-up = []
|
||||
move-to-workspace-down = []
|
||||
move-to-workspace-left = []
|
||||
move-to-workspace-right = []
|
||||
move-to-workspace-up = []
|
||||
switch-to-workspace-down = ['<Primary><Super>Down', '<Primary><Super>KP_Down', '<Primary><Super>j']
|
||||
switch-to-workspace-left = []
|
||||
switch-to-workspace-right = []
|
||||
switch-to-workspace-up = ['<Primary><Super>Up', '<Primary><Super>KP_Up', '<Primary><Super>k']
|
||||
toggle-maximized = ['<Super>m']
|
||||
unmaximize = []
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
[org.gnome.mutter:GNOME]
|
||||
attach-modal-dialogs = false
|
||||
workspaces-only-on-primary = false
|
||||
|
||||
[org.gnome.mutter.keybindings]
|
||||
toggle-tiled-left = ['<Primary><Super>Left', '<Primary><Super>KP_Left', '<Primary><Super>h']
|
||||
toggle-tiled-right = ['<Primary><Super>Right', '<Primary><Super>KP_Right', '<Primary><Super>l']
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
[org.gnome.mutter.wayland.keybindings]
|
||||
restore-shortcuts = []
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
[org.gnome.settings-daemon.plugins.media-keys]
|
||||
email = ['<Super>e']
|
||||
home = ['<Super>f']
|
||||
screensaver = ['<Super>Escape']
|
||||
www = ['<Super>b']
|
||||
rotate-video-lock-static = ['XF86RotationLockToggle']
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
[org.gnome.shell.keybindings]
|
||||
open-application-menu = []
|
||||
shift-overview-down = []
|
||||
shift-overview-up = []
|
||||
switch-to-application-1 = []
|
||||
switch-to-application-2 = []
|
||||
switch-to-application-3 = []
|
||||
switch-to-application-4 = []
|
||||
switch-to-application-5 = []
|
||||
switch-to-application-6 = []
|
||||
switch-to-application-7 = []
|
||||
switch-to-application-8 = []
|
||||
switch-to-application-9 = []
|
||||
toggle-message-tray = ['<Super>v']
|
||||
|
||||
[org.gnome.shell.overrides]
|
||||
attach-modal-dialogs = false
|
||||
workspaces-only-on-primary = false
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "terra-gnome-shell-extension-pop-shell.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
# from Fedora upstream
|
||||
%global extension pop-shell
|
||||
%global uuid %{extension}@system76.com
|
||||
%global commit cf3c932b55d5c247906efe9d81f988ee092d9f51
|
||||
%global shortcommit %{lua:print(macros.commit:sub(1,7))}
|
||||
%global ver 1.2.0
|
||||
|
||||
Name: terra-gnome-shell-extension-%{extension}
|
||||
Version: %{ver}^%{shortcommit}
|
||||
Release: 1%?dist
|
||||
Summary: GNOME Shell extension for advanced tiling window management
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/pop-os/shell
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: %{url}/archive/%{commit}/%{extension}-%{shortcommit}.tar.gz
|
||||
Source1: 50_org.gnome.desktop.wm.keybindings.%{extension}.gschema.override
|
||||
Source2: 50_org.gnome.mutter.%{extension}.gschema.override
|
||||
Source3: 50_org.gnome.mutter.wayland.%{extension}.gschema.override
|
||||
Source4: 50_org.gnome.settings-daemon.plugins.media-keys.%{extension}.gschema.override
|
||||
Source5: 50_org.gnome.shell.%{extension}.gschema.override
|
||||
# downstream-only
|
||||
Patch0: 0001-Remove-schema-handling-from-transpile.sh.patch
|
||||
|
||||
BuildRequires: typescript >= 3.8
|
||||
BuildRequires: make
|
||||
|
||||
Requires: (gnome-shell >= 45~ with gnome-shell < 46~)
|
||||
Recommends: gnome-extensions-app
|
||||
Recommends: %{name}-shortcut-overrides = %{version}-%{release}
|
||||
Provides: %{extension} = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
Pop Shell is a keyboard-driven layer for GNOME Shell which allows for quick and
|
||||
sensible navigation and management of windows. The core feature of Pop Shell
|
||||
is the addition of advanced tiling window management - a feature that has been
|
||||
highly sought within our community. For many - ourselves included - i3wm has
|
||||
become the leading competitor to the GNOME desktop.
|
||||
|
||||
|
||||
%package shortcut-overrides
|
||||
Summary: Shortcut overrides for %{name}
|
||||
|
||||
|
||||
%description shortcut-overrides
|
||||
Shortcut overrides for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -n shell-%{commit}
|
||||
|
||||
|
||||
%build
|
||||
%make_build compile
|
||||
|
||||
|
||||
%install
|
||||
# install main extension files
|
||||
%make_install
|
||||
|
||||
# install the schema file
|
||||
install -D -p -m 0644 \
|
||||
schemas/org.gnome.shell.extensions.%{extension}.gschema.xml \
|
||||
%{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extension}.gschema.xml
|
||||
|
||||
# install the gnome-control-center keybindings
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/gnome-control-center/keybindings
|
||||
install -p -m 0644 keybindings/*.xml %{buildroot}%{_datadir}/gnome-control-center/keybindings/
|
||||
|
||||
# install the schema override files
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/glib-2.0/schemas
|
||||
install -p -m 0644 %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{buildroot}%{_datadir}/glib-2.0/schemas/
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_datadir}/gnome-shell/extensions/%{uuid}
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extension}.gschema.xml
|
||||
%{_datadir}/gnome-control-center/keybindings/*.xml
|
||||
|
||||
|
||||
%files shortcut-overrides
|
||||
%{_datadir}/glib-2.0/schemas/*.%{extension}.gschema.override
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,4 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", get("https://api.github.com/repos/pop-os/shell/commits/HEAD").json().sha);
|
||||
rpm.global("ver", gh("pop-os/shell"));
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 755676d75272b51202bf31409ee013bc612a7f69
|
||||
%global commit df36844edd1924d835d414f4a61102677dc7187e
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit fc4bfff014a3b83640d0fca787aeefc84c055614
|
||||
%global commit 1a7a0ef6a8ab966b664f3515aba539b422f35849
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-indicator-network
|
||||
%global commit ac0ae8ec8968c934f81c2664879ab10f76ab0fc2
|
||||
%global commit 7d0fd44108cfb74da3fcb26e7de07f7610302f5c
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-indicator-network
|
||||
Version: 1.0.0
|
||||
Version: 1.0.1
|
||||
Release: %autorelease
|
||||
Summary: The Network indicator for Ubuntu Touch
|
||||
License: GPL-3.0 AND LGPL-3.0
|
||||
@@ -0,0 +1,7 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/31038307/repository/tags").json_arr()[0];
|
||||
let f = rpm.f;
|
||||
rpm.version(o.name);
|
||||
// check if changed
|
||||
if rpm.f != f {
|
||||
rpm.global("commit", o.commit.id);
|
||||
}
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-settings-components
|
||||
%global commit 5041243d56fb7aaab270b4d07284687ec33f75c6
|
||||
%global commit a2ce1155d385218a4b493f801867a45d2a41df02
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-settings-components
|
||||
Version: 1.0.1
|
||||
Version: 1.1.0
|
||||
Release: %autorelease
|
||||
Summary: The system settings components for Lomiri
|
||||
License: GPLv3 AND LGPLv3
|
||||
@@ -0,0 +1,7 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25770169/repository/tags").json_arr()[0];
|
||||
let f = rpm.f;
|
||||
rpm.version(o.name);
|
||||
// check if changed
|
||||
if rpm.f != f {
|
||||
rpm.global("commit", o.commit.id);
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 87ffe4bf29b3b220f66e34611f381e0d15054a89
|
||||
%global commit 2abbbdaedf243fc1629628b6c1ba764db4253840
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit c8062dca48c6ce3fc26a243f0641e4f0ed4b6e3a
|
||||
%global commit d09e76d2b3040b6d23fc42c6114db81332298c8e
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-url-dispatcher
|
||||
%global commit 1ac312239a088e5a797b786a22bec42cb0037039
|
||||
%global commit 6b6f2277e2a63fe0893c1fddd1cc75da5da87eb7
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-url-dispatcher
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit de472d04a682e1dc3d317c94b08a14facdf673e7
|
||||
%global commit ec65759f56e7eba4f084ecf031bde5d64da1cf35
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user