diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index 677ef037ce..b440a8f11e 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -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 diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 65f9cbc920..ba360e8da8 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -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 diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 48ab98209d..96fdfbd925 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -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 diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 5043d216b9..7e2b048049 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -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 diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index 717552ea4d..0ac164eafa 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -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 diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index 474f868aff..a037d5af42 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -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 diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 8b10b74f1f..10f1b34aa7 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -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 diff --git a/anda/devs/rgbds/terra-rgbds.spec b/anda/devs/rgbds/terra-rgbds.spec index 1358ce7b15..cea227b557 100644 --- a/anda/devs/rgbds/terra-rgbds.spec +++ b/anda/devs/rgbds/terra-rgbds.spec @@ -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 diff --git a/anda/devs/zed/preview/anda.hcl b/anda/devs/zed/preview/anda.hcl new file mode 100644 index 0000000000..4f9b04a0c5 --- /dev/null +++ b/anda/devs/zed/preview/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "zed-preview.spec" + } + labels { + large = 1 + } +} diff --git a/anda/devs/zed/preview/update.rhai b/anda/devs/zed/preview/update.rhai new file mode 100644 index 0000000000..135a06de91 --- /dev/null +++ b/anda/devs/zed/preview/update.rhai @@ -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(); +} diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec new file mode 100644 index 0000000000..10973e4736 --- /dev/null +++ b/anda/devs/zed/preview/zed-preview.spec @@ -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 diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index 7a949d9cbe..1072f6edea 100644 --- a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec +++ b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec @@ -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 diff --git a/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec b/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec index c8792a89e2..3195bd60da 100644 --- a/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec +++ b/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec @@ -27,6 +27,7 @@ License: BSD-3-Clause URL: %{gourl} Source: %{gosource} BuildRequires: git-core gcc +Provides: gendesk %description %{common_description} diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index d11409087e..e0ba914930 100644 --- a/anda/langs/groovy/groovy-docs/groovy-docs.spec +++ b/anda/langs/groovy/groovy-docs/groovy-docs.spec @@ -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/ diff --git a/anda/langs/groovy/groovy.spec b/anda/langs/groovy/groovy.spec index 147d3c8757..7009e3e8a5 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -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 diff --git a/anda/langs/nim/mkfstab/mkfstab.spec b/anda/langs/nim/mkfstab/mkfstab.spec index 74b3cb1f83..8073c4ac4c 100644 --- a/anda/langs/nim/mkfstab/mkfstab.spec +++ b/anda/langs/nim/mkfstab/mkfstab.spec @@ -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 diff --git a/anda/langs/python/pillow-heif/anda.hcl b/anda/langs/python/pillow-heif/anda.hcl new file mode 100644 index 0000000000..257479e388 --- /dev/null +++ b/anda/langs/python/pillow-heif/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "python3-pillow-heif.spec" + } +} diff --git a/anda/langs/python/pillow-heif/python3-pillow-heif.spec b/anda/langs/python/pillow-heif/python3-pillow-heif.spec new file mode 100644 index 0000000000..14568f3f94 --- /dev/null +++ b/anda/langs/python/pillow-heif/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 diff --git a/anda/langs/python/pillow-heif/test.py b/anda/langs/python/pillow-heif/test.py new file mode 100644 index 0000000000..099f11044d --- /dev/null +++ b/anda/langs/python/pillow-heif/test.py @@ -0,0 +1,2 @@ +import pillow_heif; +print(pillow_heif.libheif_info()); diff --git a/anda/langs/python/pillow-heif/update.rhai b/anda/langs/python/pillow-heif/update.rhai new file mode 100644 index 0000000000..6db9721b57 --- /dev/null +++ b/anda/langs/python/pillow-heif/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pillow-heif")); diff --git a/anda/langs/python/ruff/python3-ruff.spec b/anda/langs/python/ruff/python3-ruff.spec index b6541c1bf7..2d5969d30d 100644 --- a/anda/langs/python/ruff/python3-ruff.spec +++ b/anda/langs/python/ruff/python3-ruff.spec @@ -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 diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 4cf0dea68b..6546452a56 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -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 diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 95029d48b5..33f329fa6c 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -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 diff --git a/anda/themes/tau-helium/tau-helium.spec b/anda/themes/tau-helium/tau-helium.spec index f237677c40..d3b193c8de 100644 --- a/anda/themes/tau-helium/tau-helium.spec +++ b/anda/themes/tau-helium/tau-helium.spec @@ -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 diff --git a/anda/tools/fuc/fuc.spec b/anda/tools/fuc/fuc.spec index 44742bc74c..7ea89be98b 100644 --- a/anda/tools/fuc/fuc.spec +++ b/anda/tools/fuc/fuc.spec @@ -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 diff --git a/anda/tools/sops/sops.spec b/anda/tools/sops/sops.spec index 2b5408953d..a7d01ac821 100644 --- a/anda/tools/sops/sops.spec +++ b/anda/tools/sops/sops.spec @@ -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