diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 22e6e08fe2..6c3f4ddcaa 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,7 +1,7 @@ --- name: Bug report about: Report an issue with a package (or Terra itsself) -title: '' +title: '[BUG] ' labels: bug assignees: '' diff --git a/.github/ISSUE_TEMPLATE/package-request.md b/.github/ISSUE_TEMPLATE/package-request.md index 9841c9240e..ad87007abf 100644 --- a/.github/ISSUE_TEMPLATE/package-request.md +++ b/.github/ISSUE_TEMPLATE/package-request.md @@ -1,8 +1,8 @@ --- name: Package request about: Request a new package -title: "[Package Request] " -labels: enhancement +title: "[Request] " +labels: ["enhancement", "new"] assignees: '' --- diff --git a/.github/workflows/bootstrap-f38.yml b/.github/workflows/bootstrap-f38.yml index e2a100c9ea..1730e6876c 100644 --- a/.github/workflows/bootstrap-f38.yml +++ b/.github/workflows/bootstrap-f38.yml @@ -1,4 +1,4 @@ -name: Bootstrap Andaman and Subatomic +name: Bootstrap Andaman and Subatomic (Fedora 38) on: workflow_dispatch: @@ -43,7 +43,6 @@ jobs: - name: Build Subatomic run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" - git log -1 --format='%H' anda build -c anda-38-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')" - name: Install Subatomic run: sudo dnf install -y ./anda-build/rpm/rpms/subatomic-*.rpm diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index a50bf270f2..0087520fd6 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: discord-canary-openasar -Version: 0.0.146 -Release: 4%{?dist} +Version: 0.0.147 +Release: 1%{?dist} Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index 45827907be..36f7c60e49 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: discord-canary -Version: 0.0.146 +Version: 0.0.147 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 70c31e6775..45e8695a2d 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: discord-ptb-openasar -Version: 0.0.38 -Release: 4%{?dist} +Version: 0.0.39 +Release: 1%{?dist} Summary: OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and include more features like further customization and theming License: MIT and https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 4cd68b6220..3bd83aeb0a 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: discord-ptb -Version: 0.0.38 -Release: %autorelease +Version: 0.0.39 +Release: 1%{?dist} Summary: Free Voice and Text Chat for Gamers. URL: discord.com Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz diff --git a/anda/apps/tectonic/tectonic.spec b/anda/apps/tectonic/tectonic.spec index f46160a8ce..d3ba3d4ea6 100644 --- a/anda/apps/tectonic/tectonic.spec +++ b/anda/apps/tectonic/tectonic.spec @@ -2,7 +2,7 @@ Name: tectonic Version: 0.12.0 -Release: %autorelease +Release: 2%{?dist} Summary: A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive URL: https://github.com/tectonic-typesetting/tectonic License: MIT diff --git a/anda/desktops/elementary/pantheon-tweaks/pantheon-tweaks.spec b/anda/desktops/elementary/pantheon-tweaks/pantheon-tweaks.spec index 388cd47419..358d08540a 100644 --- a/anda/desktops/elementary/pantheon-tweaks/pantheon-tweaks.spec +++ b/anda/desktops/elementary/pantheon-tweaks/pantheon-tweaks.spec @@ -31,7 +31,7 @@ lets you easily and safely customise your desktop's appearance. /usr/lib64/switchboard/personal/libpantheon-tweaks.so %{_datadir}/icons/hicolor/32x32/categories/preferences-desktop-tweaks.svg %{_datadir}/locale/*/LC_MESSAGES/pantheon-tweaks-plug.mo -%{_datadir}/metainfo/pantheon-tweaks.appdata.xml +%{_datadir}/metainfo/pantheon-tweaks.metainfo.xml %changelog diff --git a/anda/desktops/elementary/switchboard-plug-tweaks/switchboard-plug-tweaks.spec b/anda/desktops/elementary/switchboard-plug-tweaks/switchboard-plug-tweaks.spec index 2e7abde70b..4652acabcb 100644 --- a/anda/desktops/elementary/switchboard-plug-tweaks/switchboard-plug-tweaks.spec +++ b/anda/desktops/elementary/switchboard-plug-tweaks/switchboard-plug-tweaks.spec @@ -65,12 +65,12 @@ de trabalho. %find_lang %{plug_name}-plug -# remove the specified stock icon from appdata (invalid in libappstream-glib) -sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_name}.appdata.xml +# remove the specified stock icon from metainfo (invalid in libappstream-glib) +sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_name}.metainfo.xml %check appstream-util validate-relax --nonet \ - %{buildroot}/%{_datadir}/metainfo/%{plug_name}.appdata.xml + %{buildroot}/%{_datadir}/metainfo/%{plug_name}.metainfo.xml %files -f %{plug_name}-plug.lang @@ -81,7 +81,7 @@ appstream-util validate-relax --nonet \ %{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so -%{_datadir}/metainfo/%{plug_name}.appdata.xml +%{_datadir}/metainfo/%{plug_name}.metainfo.xml %{_datadir}/icons/hicolor/*/categories/preferences-*.svg diff --git a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec index 3b0857ab52..55b90a78ec 100644 --- a/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec +++ b/anda/desktops/kde/latte-dock-nightly/latte-dock-nightly.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/KDE/latte-dock/ -%global commit 159496edc0609c953a813a41844bbb4f0ee22db4 +%global commit 9fbafbfbb4e85d5851bf356915f1c5a3f32ddabd %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commit_date %(date '+%Y%m%d') %global snapshot_info %{commit_date}.%{shortcommit} diff --git a/anda/fonts/hannom/hannom-fonts.spec b/anda/fonts/hannom/hannom-fonts.spec index 72c0bcbef2..60e9ef42d7 100644 --- a/anda/fonts/hannom/hannom-fonts.spec +++ b/anda/fonts/hannom/hannom-fonts.spec @@ -1,6 +1,6 @@ Name: hannom-fonts Version: 2005 -Release: %autorelease +Release: 2%{?dist} URL: https://vietunicode.sourceforge.net/fonts/fonts_hannom.html Source0: https://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v%{version}/hannomH.zip Source1: COPYING diff --git a/anda/games/opsu/anda.hcl b/anda/games/opsu/anda.hcl new file mode 100644 index 0000000000..f8413f1510 --- /dev/null +++ b/anda/games/opsu/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "opsu.spec" + } +} diff --git a/anda/games/opsu/opsu.spec b/anda/games/opsu/opsu.spec new file mode 100644 index 0000000000..e5c3770b0e --- /dev/null +++ b/anda/games/opsu/opsu.spec @@ -0,0 +1,57 @@ +Name: opsu +Version: 0.16.1 +Release: 1%{?dist} +URL: https://itdelatrisu.github.io/opsu/ +Source0: https://github.com/itdelatrisu/opsu/releases/download/%{version}/opsu-%{version}.jar +Source1: https://github.com/itdelatrisu/opsu/raw/%{version}/res/logo.png +Source2: https://raw.githubusercontent.com/itdelatrisu/opsu/%{version}/LICENSE +Source3: https://raw.githubusercontent.com/itdelatrisu/opsu/%{version}/README.md +License: GPLv3 +Summary: An open source osu!-client written in Java +Requires: java-latest-openjdk hicolor-icon-theme xrandr +Recommends: ffmpeg +BuildArch: noarch + + +%description +opsu! is an unofficial open-source client for the rhythm game osu!, written in Java using Slick2D and LWJGL (wrappers around OpenGL and OpenAL). + +%build +cat < %{name}.sh +#!/bin/sh +exec /usr/bin/java -jar '/usr/share/java/opsu/opsu.jar' "\$@" +EOF + +cat < %{name}.desktop +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Opsu! +Comment=An open source osu!-client written in Java. +Exec=opsu +Icon=opsu +Terminal=false +StartupNotify=false +Categories=Game;ActionGame; +EOF + +%install +mkdir -p %{buildroot}/usr/share/{applications,{licenses,doc}/%{name}} +install -Dm644 %{name}.sh %{buildroot}/usr/bin/%{name} +install -Dm644 %{SOURCE0} %{buildroot}/usr/share/java/%{name}/%{name}.jar +install -Dm644 %{SOURCE1} %{buildroot}/usr/share/icons/hicolor/scalable/apps/%{name}.png +install -Dm644 %{name}.desktop %{buildroot}/usr/share/applications/ +install -Dm644 %{SOURCE2} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE" +install -Dm644 %{SOURCE3} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" + +%files +%doc README.md +%license LICENSE +/usr/bin/%{name} +/usr/share/java/%{name}/%{name}.jar +/usr/share/icons/hicolor/scalable/apps/%{name}.png +/usr/share/applications/%{name}.desktop + +%changelog +* Tue Feb 7 2023 windowsboy111 +- Initial package diff --git a/anda/games/opsu/update.rhai b/anda/games/opsu/update.rhai new file mode 100644 index 0000000000..a023584237 --- /dev/null +++ b/anda/games/opsu/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("itdelatrisu/opsu")); diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 73fccd3012..0d1730d309 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit c78db5459ef7afbc8fd5a5b81b03f672f94235bc +%global commit f36c3a3f6c795f1aa6b3dc9ff6f151b077531aaa %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index ce0dbfd712..99c2ead78d 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit c78db5459ef7afbc8fd5a5b81b03f672f94235bc +%global commit f36c3a3f6c795f1aa6b3dc9ff6f151b077531aaa %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/go/gendesk/anda.hcl b/anda/go/gendesk/anda.hcl new file mode 100644 index 0000000000..496d858a83 --- /dev/null +++ b/anda/go/gendesk/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-xyproto-gendesk.spec" + } +} diff --git a/anda/go/gendesk/golang-github-xyproto-gendesk.spec b/anda/go/gendesk/golang-github-xyproto-gendesk.spec new file mode 100644 index 0000000000..874a12ac08 --- /dev/null +++ b/anda/go/gendesk/golang-github-xyproto-gendesk.spec @@ -0,0 +1,68 @@ +# Generated by go2rpm 1.8.2 +%bcond_without check + +# https://github.com/xyproto/gendesk +%global goipath github.com/xyproto/gendesk +Version: 1.0.9 +%global tag 1.0.9 +%global commit 7ac050a54c2f771ce41da2a38f633cefc3353383 + +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +# --- +# New Fedora packages should use %%gometa -f, which makes the package +# ExclusiveArch to %%golang_arches_future and thus excludes the package from +# %%ix86. If the new package is needed as a dependency for another pacage, +# please consider removing that package from %%ix86 in the same way, instead of +# building more go packages for i686. If your package is not a leaf package, +# you'll need to coordinate the removal of the package's dependents first. +# --- +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +%gometa -f + +%global common_description %{expand: +:herb: Generate .desktop files and download .png icons by specifying a minimum +of information.} + +%global golicenses LICENSE +%global godocs README.md + +Name: gendesk +Release: %autorelease +Summary: :herb: Generate .desktop files and download .png icons by specifying a minimum of information + +License: BSD-3-Clause +URL: https://gendesk.roboticoverlords.org +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%build +%gobuild -o %{gobuilddir}/bin/gendesk %{goipath} + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/go/gendesk/update.rhai b/anda/go/gendesk/update.rhai new file mode 100644 index 0000000000..eb75e81a6c --- /dev/null +++ b/anda/go/gendesk/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("xyproto/gendesk")); diff --git a/anda/go/xyproto-env/anda.hcl b/anda/go/xyproto-env/anda.hcl new file mode 100644 index 0000000000..6e7b73859b --- /dev/null +++ b/anda/go/xyproto-env/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-xyproto-env.spec" + } +} diff --git a/anda/go/xyproto-env/golang-github-xyproto-env.spec b/anda/go/xyproto-env/golang-github-xyproto-env.spec new file mode 100644 index 0000000000..c2ded7cf3c --- /dev/null +++ b/anda/go/xyproto-env/golang-github-xyproto-env.spec @@ -0,0 +1,56 @@ +# Generated by go2rpm 1.8.2 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/xyproto/env +%global goipath github.com/xyproto/env +Version: 1.8.0 + +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +# --- +# New Fedora packages should use %%gometa -f, which makes the package +# ExclusiveArch to %%golang_arches_future and thus excludes the package from +# %%ix86. If the new package is needed as a dependency for another pacage, +# please consider removing that package from %%ix86 in the same way, instead of +# building more go packages for i686. If your package is not a leaf package, +# you'll need to coordinate the removal of the package's dependents first. +# --- +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +%gometa -f + +%global common_description %{expand: +Provide default values when fetching environment variables.} + +%global golicenses LICENSE +%global godocs README.md + +Name: golang-%{goname} +Release: %autorelease +Summary: Provide default values when fetching environment variables + +License: BSD-3-Clause +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/go/xyproto-env/update.rhai b/anda/go/xyproto-env/update.rhai new file mode 100644 index 0000000000..d4bb0c43a3 --- /dev/null +++ b/anda/go/xyproto-env/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("xyproto/env")); diff --git a/anda/go/xyproto-textoutput/anda.hcl b/anda/go/xyproto-textoutput/anda.hcl new file mode 100644 index 0000000000..ec4dc825c9 --- /dev/null +++ b/anda/go/xyproto-textoutput/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-xyproto-textoutput.spec" + } +} diff --git a/anda/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec b/anda/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec new file mode 100644 index 0000000000..30cd3bc8da --- /dev/null +++ b/anda/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec @@ -0,0 +1,67 @@ +# Generated by go2rpm 1.8.2 +%bcond_without check + +# https://github.com/xyproto/textoutput +%global goipath github.com/xyproto/textoutput +Version: 1.14.1 + +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +# --- +# New Fedora packages should use %%gometa -f, which makes the package +# ExclusiveArch to %%golang_arches_future and thus excludes the package from +# %%ix86. If the new package is needed as a dependency for another pacage, +# please consider removing that package from %%ix86 in the same way, instead of +# building more go packages for i686. If your package is not a leaf package, +# you'll need to coordinate the removal of the package's dependents first. +# --- +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +%gometa -f + +%global common_description %{expand: +:a: Output text, with and without colors.} + +%global golicenses LICENSE +%global godocs README.md + +Name: golang-%{goname} +Release: %autorelease +Summary: :a: Output text, with and without colors + +License: BSD-3-Clause +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%build +for cmd in cmd/* ; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck +%endif + +%files +%license LICENSE +%doc README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/go/xyproto-textoutput/update.rhai b/anda/go/xyproto-textoutput/update.rhai new file mode 100644 index 0000000000..833227bdaa --- /dev/null +++ b/anda/go/xyproto-textoutput/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("xyproto/textoutput")); diff --git a/anda/go/xyproto-vt100/anda.hcl b/anda/go/xyproto-vt100/anda.hcl new file mode 100644 index 0000000000..23d0a4a7b3 --- /dev/null +++ b/anda/go/xyproto-vt100/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-xyproto-vt100.spec" + } +} diff --git a/anda/go/xyproto-vt100/golang-github-xyproto-vt100.spec b/anda/go/xyproto-vt100/golang-github-xyproto-vt100.spec new file mode 100644 index 0000000000..eb93a572b9 --- /dev/null +++ b/anda/go/xyproto-vt100/golang-github-xyproto-vt100.spec @@ -0,0 +1,67 @@ +# Generated by go2rpm 1.8.2 +%bcond_without check + +# https://github.com/xyproto/vt100 +%global goipath github.com/xyproto/vt100 +Version: 1.11.3 + +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +# --- +# New Fedora packages should use %%gometa -f, which makes the package +# ExclusiveArch to %%golang_arches_future and thus excludes the package from +# %%ix86. If the new package is needed as a dependency for another pacage, +# please consider removing that package from %%ix86 in the same way, instead of +# building more go packages for i686. If your package is not a leaf package, +# you'll need to coordinate the removal of the package's dependents first. +# --- +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +%gometa -f + +%global common_description %{expand: +:computer: VT100 Terminal Package.} + +%global golicenses LICENSE +%global godocs TODO.md README.md cmd/widget/README.md + +Name: golang-%{goname} +Release: %autorelease +Summary: :computer: VT100 Terminal Package + +License: # FIXME +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%build +for cmd in cmd/* ; do + %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd +done + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ + +%if %{with check} +%check +%gocheck +%endif + +%files +%license LICENSE +%doc TODO.md README.md cmd/widget/README.md +%{_bindir}/* + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/go/xyproto-vt100/update.rhai b/anda/go/xyproto-vt100/update.rhai new file mode 100644 index 0000000000..4b9f0ef2b6 --- /dev/null +++ b/anda/go/xyproto-vt100/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("xyproto/vt100")); diff --git a/anda/go/yhat-scrape/anda.hcl b/anda/go/yhat-scrape/anda.hcl new file mode 100644 index 0000000000..9f8363daa2 --- /dev/null +++ b/anda/go/yhat-scrape/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-yhat-scrape.spec" + } +} diff --git a/anda/go/yhat-scrape/golang-github-yhat-scrape.spec b/anda/go/yhat-scrape/golang-github-yhat-scrape.spec new file mode 100644 index 0000000000..4dd8f2dd9c --- /dev/null +++ b/anda/go/yhat-scrape/golang-github-yhat-scrape.spec @@ -0,0 +1,57 @@ +# Generated by go2rpm 1.8.2 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/yhat/scrape +%global goipath github.com/yhat/scrape +%global commit 24b7890b0945459dbf91743e4d2ac5d75a51fee2 + +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +# --- +# New Fedora packages should use %%gometa -f, which makes the package +# ExclusiveArch to %%golang_arches_future and thus excludes the package from +# %%ix86. If the new package is needed as a dependency for another pacage, +# please consider removing that package from %%ix86 in the same way, instead of +# building more go packages for i686. If your package is not a leaf package, +# you'll need to coordinate the removal of the package's dependents first. +# --- +# REMOVE BEFORE SUBMITTING THIS FOR REVIEW +%gometa -f + +%global common_description %{expand: +A simple, higher level interface for Go web scraping.} + +%global golicenses LICENSE +%global godocs example README.md + +Name: golang-%{goname} +Version: 0 +Release: %autorelease -p +Summary: A simple, higher level interface for Go web scraping + +License: BSD-2-Clause +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/go/yhat-scrape/update.rhai b/anda/go/yhat-scrape/update.rhai new file mode 100644 index 0000000000..7043e72b33 --- /dev/null +++ b/anda/go/yhat-scrape/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("yhat/scrape")); diff --git a/anda/groovy/anda.hcl b/anda/groovy/anda.hcl new file mode 100644 index 0000000000..6a66e0bee1 --- /dev/null +++ b/anda/groovy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "groovy.spec" + } +} diff --git a/anda/groovy/groovy-docs/anda.hcl b/anda/groovy/groovy-docs/anda.hcl new file mode 100644 index 0000000000..af5c87bfed --- /dev/null +++ b/anda/groovy/groovy-docs/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "groovy-docs.spec" + } +} diff --git a/anda/groovy/groovy-docs/groovy-docs.spec b/anda/groovy/groovy-docs/groovy-docs.spec new file mode 100644 index 0000000000..1d696e6457 --- /dev/null +++ b/anda/groovy/groovy-docs/groovy-docs.spec @@ -0,0 +1,31 @@ +Name: groovy-docs +Version: 3.0.9 +Release: 1%{?dist} +Summary: Documentation for the Groovy programming language +URL: https://groovy-lang.org/ +License: Apache-2.0 +BuildArch: noarch +Source0: https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-docs-%{version}.zip +BuildRequires: unzip + +%description +%{summary}. + +%prep +unzip %{SOURCE0} +find groovy-%{version} -type f -exec chmod -x {} \; + +%build + +%install +install -d %{buildroot}/usr/share/doc/groovy-%{version} +cp -r groovy-%{version} %{buildroot}/usr/share/doc/ + +%files +%doc groovy-%{version}/NOTICE +%license groovy-%{version}/LICENSE +/usr/share/doc/groovy-%{version} + +%changelog +* Tue Feb 7 2023 windowsboy111 +- Initial package diff --git a/anda/groovy/groovy.spec b/anda/groovy/groovy.spec new file mode 100644 index 0000000000..00ac9a4173 --- /dev/null +++ b/anda/groovy/groovy.spec @@ -0,0 +1,68 @@ +Name: groovy +Version: 4.0.7 +Release: 1%{?dist} +Summary: A multi-faceted language for the Java platform +BuildArch: noarch +URL: https://groovy-lang.org/ +License: Apache-2.0 +BuildRequires: gendesk unzip +Requires: bash java-latest-openjdk +Recommends: groovy-docs +Source0: https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-%{version}.zip + +%description +Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax. It integrates smoothly with any Java program, and immediately delivers to your application powerful features, including scripting capabilities, Domain-Specific Language authoring, runtime and compile-time meta-programming and functional programming. + +%prep +unzip %{SOURCE0} +cd %{name}-%{version} +gendesk -f -n --pkgname %{name} --pkgdesc 'Groovy programming language' --exec groovyConsole --name 'Groovy Console' + +for f in bin/*; do + sed 's:bin/env\ sh:bin/env\ sh\nGROOVY_HOME=/usr/share/groovy\nexport _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=gasp $_JAVA_OPTIONS":' -i "$f" +done + +%build + +%install +cd %{name}-%{version} +# Create the directories and package the files +install -d %{buildroot}/usr/share/groovy %{buildroot}/usr/bin +cp -r lib conf %{buildroot}/usr/share/groovy +cp bin/* %{buildroot}/usr/bin +rm %{buildroot}/usr/bin/*completion +install -Dm644 bin/*completion -t %{buildroot}/usr/share/bash-completion/completions + +# Remove all DOS/Windows batch files +find %{buildroot} -name '*.bat' -exec rm {} \; + +# Package the license file +install -Dm644 LICENSE -t %{buildroot}/usr/share/licenses/%{name} + +# Package the desktop shortcut for Groovy Console +install -Dm644 %{name}.desktop -t %{buildroot}/usr/share/applications + +%files +%license LICENSE +/usr/bin/grape +/usr/bin/groovy +/usr/bin/groovy.ico +/usr/bin/groovyConsole +/usr/bin/groovyc +/usr/bin/groovydoc +/usr/bin/groovysh +/usr/bin/java2groovy +/usr/bin/startGroovy +/usr/share/groovy +/usr/share/applications/groovy.desktop +/usr/share/bash-completion/completions/grape_completion +/usr/share/bash-completion/completions/groovyConsole_completion +/usr/share/bash-completion/completions/groovy_completion +/usr/share/bash-completion/completions/groovyc_completion +/usr/share/bash-completion/completions/groovydoc_completion +/usr/share/bash-completion/completions/groovysh_completion + + +%changelog +* Wed Feb 8 2023 windowsboy111 +- Initial package diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index a7de480e6e..9af7da7213 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.3.13 +Version: 1.3.57 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/libhelium diff --git a/anda/moby-extras/moby-compose/moby-compose.spec b/anda/moby-extras/moby-compose/moby-compose.spec index c172d72258..672a2c615c 100644 --- a/anda/moby-extras/moby-compose/moby-compose.spec +++ b/anda/moby-extras/moby-compose/moby-compose.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: moby-compose -Version: 2.15.1 +Version: 2.16.0 Release: 1%{?dist} Summary: Define and run multi-container applications with Docker diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index 0446ab8e3d..483c0ddd1f 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,6 +1,6 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium -Version: 1.2.77 +Version: 1.2.204 Release: 1%{?dist} License: GPLv3 URL: https://github.com/tau-OS/tau-helium diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 90d2278f2f..9b58b9a1fd 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.0.240 +Version: 0.0.243 Release: 1%{?dist} Summary: An extremely fast Python linter, written in Rust License: MIT diff --git a/anda/rust/rnote/rnote.spec b/anda/rust/rnote/rnote.spec index 37924db72b..c1ff55b6ec 100644 --- a/anda/rust/rnote/rnote.spec +++ b/anda/rust/rnote/rnote.spec @@ -1,6 +1,6 @@ Name: rnote -Version: 0.5.12 -Release: %autorelease +Version: 0.5.13 +Release: 1%{?dist} Summary: Sketch and take handwritten notes. License: GPLv3 URL: https://github.com/flxzt/rnote diff --git a/anda/tools/gradle/anda.hcl b/anda/tools/gradle/anda.hcl new file mode 100644 index 0000000000..b5437558af --- /dev/null +++ b/anda/tools/gradle/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "gradle.spec" + } +} diff --git a/anda/tools/gradle/gradle.spec b/anda/tools/gradle/gradle.spec new file mode 100644 index 0000000000..e7ebe5ac40 --- /dev/null +++ b/anda/tools/gradle/gradle.spec @@ -0,0 +1,121 @@ +Name: gradle +Version: 7.6.0 +Release: 1%{?dist} +Summary: Powerful build system for the JVM +URL: https://gradle.org/ +Source0: https://github.com/gradle/gradle/archive/refs/tags/v%{version}.tar.gz +Source2: https://raw.githubusercontent.com/gradle/gradle/v%{version}/LICENSE +Source3: https://raw.githubusercontent.com/gradle/gradle/v%{version}/README.md +License: Apache-2.0 +Requires: java-latest-openjdk coreutils findutils sed which bash +BuildRequires: java-11-openjdk asciidoc xmlto groovy +BuildArch: noarch +Recommends: gradle-doc gradle-src + +%description +Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, Kotlin, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins. + + +%package doc +Summary: Gradle documentation +%description doc +Documentation for gradle, a powerful build system for the JVM. + +%package src +Summary: Gradle sources +%description src +Sources for gradle, a powerful build system for the JVM. + + +# See PKGBUILD on Arch Linux + +%prep +%autosetup + +cat < gradle.sh +#!/bin/sh +export GRADLE_HOME=/usr/share/java/gradle +EOF + +# remove ADOPTIUM contraint from all build related files +sed -i '/JvmVendorSpec.ADOPTIUM/d' \ + build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts \ + subprojects/docs/src/snippets/java/toolchain-filters/groovy/build.gradle \ + subprojects/docs/src/snippets/java/toolchain-filters/kotlin/build.gradle.kts \ + build-logic-commons/gradle-plugin/src/main/kotlin/common.kt +# inhibit automatic download of binary gradle +sed -i "s#distributionUrl=.*#distributionUrl=file\:${srcdir}/${pkgbase}-${pkgver}-all.zip#" \ + gradle/wrapper/gradle-wrapper.properties + + +%build +export PATH="/usr/lib/jvm/java-11-openjdk/bin:${PATH}" +./gradlew installAll \ + -Porg.gradle.java.installations.auto-download=false \ + -PfinalRelease=true \ + -Pgradle_installPath="$(pwd)/dist" \ + --no-configuration-cache + + +%install +cd dist + +# install profile.d script +install -Dm755 gradle.sh %{buildroot}/etc/profile.d/ + +# create the necessary directory structure +install -d "%{buildroot}/usr/share/java/%{name}/bin" +install -d "%{buildroot}/usr/share/java/%{name}/lib/plugins" +install -d "%{buildroot}/usr/share/java/%{name}/init.d" + +# copy across jar files +install -Dm644 lib/*.jar "%{buildroot}/usr/share/java/%{name}/lib" +install -Dm644 lib/plugins/*.jar "%{buildroot}/usr/share/java/%{name}/lib/plugins" + +# copy across supporting text documentation and scripts +install -m644 NOTICE "%{buildroot}/usr/share/java/%{name}" +install -m755 bin/gradle "%{buildroot}/usr/share/java/%{name}/bin" +install -m644 init.d/*.* "%{buildroot}/usr/share/java/%{name}/init.d" + +# link gradle script to /usr/bin +ln -s /usr/share/java/%{name}/bin/%{name} "%{buildroot}/usr/bin" + + +install -d %{buildroot}/usr/share/java/gradle/docs +cp -r docs/* %{buildroot}/usr/share/java/gradle/docs + + +install -d %{buildroot}/usr/share/java/gradle/src +cp -r src/* %{buildroot}/usr/share/java/gradle/src + + +install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/ +install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}-doc/ +install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}-src/ +install -Dm644 %{SOURCE3} %{buildroot}/%{_datadir}/doc/%{name}/ +install -Dm644 %{SOURCE3} %{buildroot}/%{_datadir}/doc/%{name}-doc/ +install -Dm644 %{SOURCE3} %{buildroot}/%{_datadir}/doc/%{name}-src/ + + +%files +%doc README.md +%license LICENSE +/etc/profile.d/gradle.sh +/usr/share/java/%{name}/ +/usr/bin/%{name} + +%files doc +%doc README.md +%license LICENSE +/usr/share/java/gradle/docs + +%files src +%doc README.md +%license LICENSE +/usr/share/java/gradle/src + + +%changelog +* Tue Feb 7 2023 windowsboy111 +- Initial package + diff --git a/anda/tools/gradle/update.rhai b/anda/tools/gradle/update.rhai new file mode 100644 index 0000000000..48907aeb4a --- /dev/null +++ b/anda/tools/gradle/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("gradle/gradle")); diff --git a/anda/tools/vala-lint-nightly/anda.hcl b/anda/tools/vala-lint-nightly/anda.hcl new file mode 100644 index 0000000000..00dcdba63b --- /dev/null +++ b/anda/tools/vala-lint-nightly/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "vala-lint-nightly.spec" + } +} diff --git a/anda/tools/vala-lint-nightly/update.rhai b/anda/tools/vala-lint-nightly/update.rhai new file mode 100644 index 0000000000..b964fdd1e5 --- /dev/null +++ b/anda/tools/vala-lint-nightly/update.rhai @@ -0,0 +1,7 @@ +if filters.contains("nightly") { + let req = new_req("https://api.github.com/repos/vala-lang/vala-lint/commits/HEAD"); + req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); + let sha = json(req.get()).sha; + rpm.global("commit", sha); + rpm.release(); +} diff --git a/anda/tools/vala-lint-nightly/vala-lint-nightly.spec b/anda/tools/vala-lint-nightly/vala-lint-nightly.spec new file mode 100644 index 0000000000..f32c163ae2 --- /dev/null +++ b/anda/tools/vala-lint-nightly/vala-lint-nightly.spec @@ -0,0 +1,62 @@ +%global real_name vala-lint + +%global commit 923adb5d3983ed654566304284607e3367998e22 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%global commit_date %(date '+%Y%m%d') +%global snapshot_info %{commit_date}.%{shortcommit} + +Name: vala-lint-nightly +Summary: Check Vala code files for code-style errors +Version: 0.1.0^%{snapshot_info} +Release: 1%{?dist} +License: GPLv2+ + +URL: https://github.com/vala-lang/vala-lint +Source0: https://github.com/vala-lang/vala-lint/archive/%{commit}/%{real_name}-%{shortcommit}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: meson +BuildRequires: ninja-build +BuildRequires: vala >= 0.48.12 +BuildRequires: vala-devel >= 0.48.12 + +%description +Small command line tool and library for checking Vala code files for code-style errors. +Based on the elementary Code-Style guidelines. + +%package devel +Summary: Development files for vala-lint +Requires: vala-lint-nightly = %{version}-%{release} + +%description devel +This package contains the libraries and header files that are needed +for using vala-lint as a library. + +%prep +%autosetup -n %{real_name}-%{commit} + +%build +%meson +%meson_build + +%install +%meson_install +ln -sf %{_bindir}/io.elementary.vala-lint %{buildroot}%{_bindir}/vala-lint + +%files +%license COPYING +%doc README.md +%{_bindir}/io.elementary.vala-lint +%{_bindir}/vala-lint +%{_libdir}/libvala-linter-1.0.so* + +%files devel +%{_includedir}/vala-linter-1.0/vala-linter.h +%{_libdir}/pkgconfig/vala-linter-1.pc +%{_datadir}/vala/vapi/vala-linter-1.vapi + +%changelog +* Tue Feb 7 2023 lleyton +- Initial package diff --git a/comps.xml b/comps.xml index 6f7494a240..d551bcc66e 100644 --- a/comps.xml +++ b/comps.xml @@ -60,6 +60,7 @@ switchboard-plug-printers switchboard-plug-sharing switchboard-plug-sound + pantheon-tweaks