Merge branch 'f39' into mado/w39/spacedrive

This commit is contained in:
madomado
2024-07-02 18:10:06 +08:00
committed by GitHub
26 changed files with 250 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki-bin
Version: 24.06.2
Version: 24.06.3
Release: 1%?dist
Summary: Flashcard program for using space repetition learning (Installed with wheel)
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki-qt5
Version: 24.06.2
Version: 24.06.3
Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anki
Version: 24.06.2
Version: 24.06.3
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
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.438
Version: 0.0.442
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.438
Version: 0.0.442
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-ptb-openasar
Version: 0.0.91
Version: 0.0.92
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb
Version: 0.0.91
Version: 0.0.92
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers.
URL: https://discord.com
+2 -2
View File
@@ -1,6 +1,6 @@
Name: terra-rgbds
Version: 0.7.0
Release: 1%{?dist}
Version: 0.8.0
Release: 1%?dist
Summary: A development package for the Game Boy, including an assembler
# See LICENSE for details
+8
View File
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "zed-preview.spec"
}
labels {
large = 1
}
}
+10
View File
@@ -0,0 +1,10 @@
let releases = "https://api.github.com/repos/zed-industries/zed/releases".get().json_arr();
for release in releases {
if !release.prerelease {
continue;
}
let tag = release.tag_name;
tag.pop(4); // remove the "-pre" suffix
rpm.global("ver", tag);
terminate();
}
+91
View File
@@ -0,0 +1,91 @@
%bcond_without check
%global debug_package %{nil}
%global ver 0.142.1
%global crate zed
%global app_id dev.zed.Zed-Preview
Name: zed-preview
Version: %ver
Release: pre1%?dist
Summary: Zed is a high-performance, multiplayer code editor
License: MIT
URL: https://zed.dev/
Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{ver}-pre.tar.gz
Conflicts: zed
Provides: zed
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: anda-srpm-macros
BuildRequires: gcc
BuildRequires: g++
BuildRequires: clang
BuildRequires: mold
BuildRequires: alsa-lib-devel
BuildRequires: fontconfig-devel
BuildRequires: wayland-devel
BuildRequires: libxkbcommon-x11-devel
BuildRequires: openssl-devel
BuildRequires: libzstd-devel
BuildRequires: perl-FindBin
BuildRequires: perl-IPC-Cmd
BuildRequires: perl-File-Compare
BuildRequires: perl-File-Copy
BuildRequires: perl-lib
BuildRequires: vulkan-loader
%description
Code at the speed of thought - Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
%prep
%autosetup -n %{crate}-%{ver}-pre -p1
%cargo_prep_online
export DO_STARTUP_NOTIFY="true"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_NAME="Zed Preview"
export APP_CLI="zed"
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra."
export ZED_RELEASE_CHANNEL=preview
export BRANDING_LIGHT="#99c1f1"
export BRANDING_DARK="#1a5fb4"
echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in
envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml
%build
export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra."
echo "preview" > crates/zed/RELEASE_CHANNEL
%cargo_build -- --package zed --package cli
script/generate-licenses
%install
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
%if %{with check}
%check
%cargo_test
%endif
%files
%{_libexecdir}/zed-editor
%{_bindir}/zed
%{_datadir}/applications/%app_id.desktop
%{_datadir}/pixmaps/%app_id.png
%{_metainfodir}/%app_id.metainfo.xml
%license assets/licenses.md
%changelog
%autochangelog
@@ -1,5 +1,5 @@
Name: sarasa-gothic-fonts
Version: 1.0.14
Version: 1.0.15
Release: 1%?dist
URL: https://github.com/be5invis/Sarasa-Gothic
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
@@ -27,6 +27,7 @@ License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
BuildRequires: git-core gcc
Provides: gendesk
%description %{common_description}
@@ -1,5 +1,5 @@
Name: groovy-docs
Version: 4.0.21
Version: 4.0.22
Release: 1%?dist
Summary: Documentation for the Groovy programming language
URL: https://groovy-lang.org/
+1 -1
View File
@@ -1,5 +1,5 @@
Name: groovy
Version: 4.0.21
Version: 4.0.22
Release: 1%?dist
Summary: A multi-faceted language for the Java platform
BuildArch: noarch
+1 -1
View File
@@ -1,5 +1,5 @@
Name: mkfstab
Version: 0.1.1
Version: 0.1.2
Release: 1%?dist
Summary: An alternative to genfstab: generate output suitable for addition to /etc/fstab
License: MIT
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "python3-pillow-heif.spec"
}
}
@@ -0,0 +1,112 @@
%global py3_incdir %(RPM_BUILD_ROOT= %{python3} -Ic 'import sysconfig; print(sysconfig.get_path("include"))')
%global srcname pillow-heif
# Dependencies are missing to build the documentation
%bcond_with doc
Name: python-%{srcname}
Version: 0.16.0
Release: 1%{?dist}
Summary: Python library for working with HEIF images and plugin for Pillow
License: BSD-3-Clause
URL: https://github.com/bigcat88/pillow_heif
Source0: https://github.com/bigcat88/pillow_heif/archive/refs/tags/v%{version}/pillow-heif-%{version}.tar.gz
Source1: test.py
BuildRequires: gcc
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-pillow-devel
BuildRequires: libheif-devel
%if %{with doc}
BuildRequires: make
BuildRequires: python%{python3_pkgversion}-sphinx
BuildRequires: python%{python3_pkgversion}-sphinx-copybutton
BuildRequires: python%{python3_pkgversion}-sphinx-issues
BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme
%endif
%description
Python library for working with HEIF images and plugin for Pillow
There are two subpackages: devel (development) and doc (documentation).
%package -n python%{python3_pkgversion}-%{srcname}
Summary: Python library for working with HEIF images and plugin for Pillow
Requires: python%{python3_pkgversion}-pillow
Requires: libheif
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname}
Python library for working with HEIF images and plugin for Pillow
There are two subpackages: devel (development) and doc (documentation).
%package -n python%{python3_pkgversion}-%{srcname}-devel
Summary: Development files for %{srcname}
Requires: python%{python3_pkgversion}-devel, libheif-devel
Requires: python%{python3_pkgversion}-%{srcname}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-devel}
%description -n python%{python3_pkgversion}-%{srcname}-devel
Development files for %{srcname}.
%package -n python%{python3_pkgversion}-%{srcname}-doc
Summary: Documentation for %{srcname}
BuildArch: noarch
Requires: python%{python3_pkgversion}-%{srcname} = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-doc}
%description -n python%{python3_pkgversion}-%{srcname}-doc
Documentation for %{srcname}.
%prep
%autosetup -p1 -n pillow_heif-%{version}
%build
# Native build
%py3_build
# Doc build
%if %{with doc}
PYTHONPATH=$(echo $PWD/build/lib.linux-*) make -C docs html BUILDDIR=_build_py3 SPHINXBUILD=sphinx-build-%python3_version
rm -f docs/_build_py3/html/.buildinfo
%endif
%install
# Native build
%py3_install
%check
# Check Python 3 modules
cp %{SOURCE1} $(echo $PWD/build/lib.linux-*)/
pushd build/lib.linux-*
PYTHONPATH=$PWD %{__python3} test.py
pytest pillow_heif && echo "Test done"
popd
%files -n python%{python3_pkgversion}-%{srcname}
%doc README.md CHANGELOG.md
%license LICENSE.txt
%{python3_sitearch}/pillow_heif/
%{python3_sitearch}/pillow_heif-%{version}-py%{python3_version}.egg-info/
%{python3_sitearch}/_pillow_heif.*.so
%files -n python%{python3_pkgversion}-%{srcname}-devel
%if %{with doc}
%files -n python%{python3_pkgversion}-%{srcname}-doc
%doc docs/_build_py3/html
%endif
%changelog
* Thu Jun 27 2024 Trung Lê <8@tle.id.au> - 0.16.0-1
- Initial RPM package
+2
View File
@@ -0,0 +1,2 @@
import pillow_heif;
print(pillow_heif.libheif_info());
@@ -0,0 +1 @@
rpm.version(pypi("pillow-heif"));
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: python3-ruff
Version: 0.4.10
Version: 0.5.0
Release: 1%?dist
Summary: An extremely fast Python linter, written in Rust
License: MIT
+1 -1
View File
@@ -1,6 +1,6 @@
Summary: The Application Framework for tauOS apps
Name: libhelium
Version: 1.8.11.1
Version: 1.8.12
Release: 1%?dist
License: GPL-3.0
URL: https://github.com/tau-OS/libhelium
+1 -1
View File
@@ -1,5 +1,5 @@
Name: limine
Version: 7.8.0
Version: 7.9.1
Release: 1%?dist
Summary: Modern, advanced, portable, multiprotocol bootloader
License: BSD-2-Clause
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 1.8.10-10
%global ver 1.8.10-11
Summary: tauOS GTK/GNOME Shell Themes
Name: tau-helium
+1 -1
View File
@@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: fuc
Version: 2.1.0
Version: 2.2.0
Release: 1%?dist
Summary: Modern, performance focused unix commands
URL: https://github.com/SUPERCILEX/fuc
+2 -2
View File
@@ -1,7 +1,7 @@
%define debug_package %nil
Name: sops
Version: 3.8.1
Release: 1%{?dist}
Version: 3.9.0
Release: 1%?dist
Summary: Simple and flexible tool for managing secrets
License: MPL-2.0
URL: https://github.com/getsops/sops