From 6acd48643b5e69de1cde6bc64a0778f844df3e26 Mon Sep 17 00:00:00 2001 From: madomado Date: Wed, 21 Jun 2023 05:23:29 +0800 Subject: [PATCH] chore: sync with Terra 38 (#598) * chore: sync with Terra 38 * bump: libappimage * fix(ci): add lint and `dnf in` tests * fix(ci): bump commit-comment to @v2 Signed-off-by: madomado --------- Signed-off-by: madomado --- .github/workflows/autobuild.yml | 79 +++++++++++++ .github/workflows/build.yml | 2 +- .github/workflows/json-build.yml | 2 +- .github/workflows/update-nightly.yml | 2 +- .github/workflows/update.yml | 2 +- anda/apps/anki-bin/anki-bin.spec | 8 +- anda/apps/anki-qt5/anki-qt5.spec | 8 +- anda/apps/anki/anda.hcl | 1 - anda/apps/anki/anki.spec | 22 ++-- anda/apps/armcord-bin/armcord-bin.spec | 42 ++++--- anda/apps/armcord/anda.hcl | 1 + anda/apps/armcord/armcord.spec | 14 ++- anda/apps/authy/authy.spec | 36 +++--- .../discord-canary-openasar.spec | 17 ++- anda/apps/discord-canary/discord-canary.spec | 15 +-- .../discord-openasar/discord-openasar.spec | 17 ++- .../discord-ptb-openasar.spec | 15 ++- anda/apps/discord-ptb/discord-ptb.spec | 18 ++- anda/apps/discord/discord.spec | 19 ++- .../vala-panel-appmenu.spec | 28 ++--- anda/apps/vala-panel/vala-panel.spec | 11 +- anda/audio/distrho/distrho.spec | 109 +++++++++--------- ...add-repository-entry-in-package.json.patch | 22 ++++ anda/audio/voicevox/anda.hcl | 5 + anda/audio/voicevox/update.rhai | 9 ++ anda/audio/voicevox/voicevox.spec | 60 ++++++++++ anda/crystal/blahaj/blahaj.spec | 21 ++-- anda/crystal/crystal/crystal.spec | 21 +++- anda/dart/dart.spec | 6 +- anda/fonts/arphic-ukai/arphic-ukai-fonts.spec | 5 +- .../arphic-uming/arphic-uming-fonts.spec | 4 +- anda/fonts/fakepearl/fakepearl-fonts.spec | 3 +- anda/fonts/hannom/hannom-fonts.spec | 3 +- .../kanjistrokeorders-fonts.spec | 5 +- .../mini-wakuwaku/mini-wakuwaku-fonts.spec | 5 +- anda/fonts/naikai/naikai-fonts.spec | 12 +- anda/fonts/nerd-fonts/nerd-fonts.spec | 9 +- anda/fonts/open-huninn/open-huninn-fonts.spec | 3 +- .../sarasa-gothic/sarasa-gothic-fonts.spec | 4 +- anda/fonts/seto/seto-fonts.spec | 18 +-- anda/fonts/sipa/anda.hcl | 1 + anda/fonts/sipa/sipa-fonts.spec | 11 +- anda/games/opsu/opsu.spec | 7 +- anda/games/osu-lazer/osu-lazer.spec | 4 +- anda/games/osu-mime/anda.hcl | 1 + .../prismlauncher-nightly.spec | 35 +----- anda/games/prismlauncher-nightly/update.rhai | 1 + .../prismlauncher-qt5-nightly.spec | 35 +----- .../prismlauncher-qt5-nightly/update.rhai | 1 + .../prismlauncher-qt5/prismlauncher-qt5.spec | 33 +----- anda/games/prismlauncher/prismlauncher.spec | 33 +----- anda/go/curlie/golang-github-rs-curlie.spec | 1 + .../golang-github-xyproto-gendesk.spec | 4 +- anda/groovy/anda.hcl | 1 + anda/groovy/groovy-docs/anda.hcl | 1 + anda/groovy/groovy.spec | 11 +- .../ayatana-indicator-notifications.spec | 11 +- .../ayatana-indicator-session.spec | 8 +- .../ayatana-indicator-sound.spec | 8 +- anda/kotlin/kotlin/anda.hcl | 1 + anda/kotlin/kotlin/kotlin.spec | 71 +++++++----- anda/lib/apparmor/apparmor.spec | 3 + anda/lib/argagg/argagg.spec | 20 ++-- .../ayatana-indicator-datetime.spec | 8 +- .../ayatana-indicator-messages.spec | 8 +- anda/lib/cmake-extras/anda.hcl | 1 + anda/lib/cmake-extras/cmake-extras.spec | 3 +- .../dbus-test-runner/dbus-test-runner.spec | 9 +- anda/lib/deviceinfo/deviceinfo.spec | 6 +- anda/lib/frame/frame.spec | 3 +- anda/lib/geonames/geonames.spec | 5 +- anda/lib/glewmx/glewmx.spec | 5 +- anda/lib/grail/grail.spec | 9 +- .../gtk4-layer-shell/gtk4-layer-shell.spec | 17 ++- anda/lib/libappimage/libappimage.spec | 20 ++-- .../{update.rhai => update.rhai.bak} | 0 .../libayatana-common/libayatana-common.spec | 5 +- anda/lib/libhelium/libhelium.spec | 3 +- anda/lib/libindicator/terra-libindicator.spec | 7 +- anda/lib/libunity-misc/libunity-misc.spec | 3 +- anda/lib/libusermetrics/libusermetrics.spec | 4 +- anda/lib/lomiri-api/lomiri-api.spec | 5 +- .../lomiri-download-manager.spec | 11 +- .../lomiri-indicator-network.spec | 3 +- .../lomiri-ui-toolkit/lomiri-ui-toolkit.spec | 8 +- .../lomiri-url-dispatcher.spec | 12 +- anda/lib/marble-gtk/marble-gtk.spec | 21 +++- anda/lib/nlohmann-json/nlohmann-json.spec | 10 +- anda/lib/nux/nux.spec | 3 +- anda/lib/process-cpp/process-cpp.spec | 3 + .../properties-cpp-devel.spec | 5 +- anda/lib/qdjango/qdjango.spec | 3 + anda/lib/qmenumodel/qmenumodel.spec | 3 +- anda/lib/qofono/qofono.spec | 1 + anda/lib/qt5-qtdbustest/qt5-qtdbustest.spec | 1 + anda/lib/qt5-qtsystems/qt5-qtsystems.spec | 10 +- anda/lib/qtmir/qtmir.spec | 1 + .../unity-settings-daemon.spec | 4 +- anda/moby-extras/moby-buildx/moby-buildx.spec | 16 ++- .../moby-compose/moby-compose.spec | 1 + anda/nim/choosenim/choosenim.spec | 24 ++-- anda/nim/nim-nightly/nim-nightly.spec | 24 ++-- anda/nim/nim/nim.spec | 15 +-- anda/others/click/click.spec | 10 +- .../gsettings-ubuntu-touch-schemas/anda.hcl | 1 + anda/others/lomiri-schemas/anda.hcl | 1 + anda/others/lomiri-session/anda.hcl | 1 + anda/others/lomiri-sounds/anda.hcl | 1 + anda/others/lomiri-sounds/lomiri-sounds.spec | 6 +- anda/others/sass/sass.spec | 5 +- .../system76-scheduler.spec | 13 ++- anda/others/tau-helium/anda.hcl | 1 + anda/others/tau-helium/tau-helium.spec | 4 +- anda/others/tau-hydrogen/anda.hcl | 1 + anda/others/tau-hydrogen/tau-hydrogen.spec | 4 +- .../terra-fractureiser-detector/anda.hcl | 1 + .../terra-fractureiser-detector.spec | 1 + anda/others/ubuntu-sdk/anda.hcl | 1 + anda/others/ubuntu-sdk/ubuntu-sdk.spec | 5 +- anda/others/unity-greeter/unity-greeter.spec | 3 +- .../unity-scope-home/unity-scope-home.spec | 3 +- anda/others/unity-session/anda.hcl | 1 + anda/others/unity-session/unity-session.spec | 2 +- anda/python/ruff/python3-ruff.spec | 3 +- anda/rust/bandwhich/rust-bandwhich.spec | 3 +- anda/rust/bat-extras/anda.hcl | 1 + anda/rust/bat-extras/bat-extras.spec | 5 +- anda/rust/kondo/rust-kondo.spec | 8 +- anda/rust/pop-launcher/pop-launcher.spec | 7 +- anda/rust/rnote/rnote.spec | 11 +- anda/rust/youki/youki.spec | 7 +- anda/srpm-macros/anda-srpm-macros.spec | 2 +- anda/srpm-macros/anda.hcl | 1 + .../adwaita++-icons/adwaita++-icons.spec | 7 +- anda/themes/adwaita++-icons/anda.hcl | 1 + anda/themes/bibata-cursor-theme/anda.hcl | 1 + .../bibata-cursor-theme.spec | 10 +- .../fluent-icon-theme/fluent-icon-theme.spec | 10 +- anda/themes/fluent-theme/fluent-theme.spec | 14 ++- anda/themes/unity-asset-pool/anda.hcl | 1 + anda/tools/anda/rust-anda.spec | 3 +- anda/tools/codium/codium.spec | 67 ++++++----- anda/tools/electron/electron.spec | 15 ++- anda/tools/fuc/fuc.spec | 12 +- anda/tools/gcm-core/gcm-core.spec | 11 +- anda/tools/graalvm/graalvm.spec | 48 ++++++-- anda/tools/graalvm/update.rhai | 8 +- anda/tools/gradle/anda.hcl | 1 + anda/tools/keyd/keyd.spec | 5 +- anda/tools/melody/anda.hcl | 1 + anda/tools/melody/melody.spec | 2 + anda/tools/muon/muon.spec | 11 +- anda/tools/subatomic/subatomic.spec | 16 +-- anda/tools/warpd/warpd.spec | 1 - .../vala-lint-nightly/vala-lint-nightly.spec | 11 +- 155 files changed, 1012 insertions(+), 642 deletions(-) create mode 100644 anda/audio/voicevox/0001-feat-add-repository-entry-in-package.json.patch create mode 100644 anda/audio/voicevox/anda.hcl create mode 100644 anda/audio/voicevox/update.rhai create mode 100644 anda/audio/voicevox/voicevox.spec rename anda/lib/libappimage/{update.rhai => update.rhai.bak} (100%) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 9098c70dd0..e3db3e0426 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -80,3 +80,82 @@ jobs: - name: Notify Madoguchi (Failure) if: ( cancelled() || failure() ) && github.event_name != 'pull_request' run: ./.github/workflows/mg.sh false ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}} + + - name: Lint RPMs and SRPMs + id: lint + if: success() + run: | + echo 'err=false' >> $GITHUB_ENV + rpmlint anda-build/ > rpmlint.txt || f=1 + if [[ $f -eq 1 ]]; then + EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) + echo "esc_lint_out<<$EOF" >> $GITHUB_ENV + cat rpmlint.txt | sed 's/`/\\`/g' >> $GITHUB_ENV + echo $EOF >> $GITHUB_ENV + echo "lint_out<<$EOF" >> $GITHUB_ENV + echo '```' >> $GITHUB_ENV + cat rpmlint.txt >> $GITHUB_ENV + echo '```' >> $GITHUB_ENV + echo $EOF >> $GITHUB_ENV + echo 'err=true' >> $GITHUB_ENV + fi + - name: Try to install package + id: dnf + if: success() + run: | + touch out + for f in anda-build/rpm/rpms/*.rpm; do + dnf in --downloadonly -y $f > $f.dnfout.txt 2>&1 || fail=1 + if [[ $fail -eq 1 ]]; then + echo "### $f" >> out + echo '```' >> out + cat $f.dnfout.txt >> out + echo '```' >> out + echo >> out + echo 'err=true' >> $GITHUB_ENV + fi + done + cat out + EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) + echo "esc_dnf_out<<$EOF" >> $GITHUB_ENV + cat out | sed 's/`/\\`/g' >> $GITHUB_ENV + echo $EOF >> $GITHUB_ENV + echo "dnf_out<<$EOF" >> $GITHUB_ENV + cat out >> $GITHUB_ENV + echo $EOF >> $GITHUB_ENV + - name: Comment RPMLint/DNF output (PR) + if: success() && github.event_name == 'pull_request' + uses: actions/github-script@v6 + with: + script: | + let out = ""; + if (`${{ env.esc_lint_out }}`.trim() != "") { + out += "## 🔨 Lint: [${{matrix.pkg.pkg}} (${{matrix.pkg.arch}})](https://github.com/terrapkg/packages/actions/runs/${{github.run_id}})\n"; + out += `\`\`\`\n${{ env.esc_lint_out }}\n\`\`\`\n`; + } + if (`${{ env.esc_dnf_out }}`.trim() != "") { + out += "## ❌ DNF: [${{matrix.pkg.pkg}} (${{matrix.pkg.arch}})](https://github.com/terrapkg/packages/actions/runs/${{github.run_id}})\n"; + out += `${{ env.esc_dnf_out }}`; + } + if (out != "") { + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: out, + }); + } + - name: Create commit comment + if: success() && env.err == 'true' + uses: peter-evans/commit-comment@v2 + with: + body: | + [run_id: ${{github.run_id}}](https://github.com/terrapkg/packages/actions/runs/${{github.run_id}}) + # Built RPM: ${{matrix.pkg.pkg}} (${{matrix.pkg.arch}}.fc${{matrix.version}}) + ## Lint + If you see anything below, RPMLint returned with a non-zero exit code. + ${{ env.lint_out }} + ## DNF + Output of `dnf in --downloadonly ...`. + If you see anything below, DNF returned with a non-zero exit code. + ${{ env.dnf_out }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5ade04de4..7cee4b9a78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Packages +name: Manual Builds on: workflow_dispatch: inputs: diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index 0263899ebf..5a1c2d7d6d 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -1,4 +1,4 @@ -name: Build Packages (JSON) +name: JSON Build on: workflow_dispatch: inputs: diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index 4d90f1241d..2add134544 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -1,4 +1,4 @@ -name: Automatic Nightly Update +name: Nightly Update on: schedule: - cron: "0 0 * * *" diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 15100884db..1a3e55a48e 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,4 +1,4 @@ -name: Automatically check for updates +name: Update on: schedule: - cron: "*/30 * * * *" diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index ea308cbc73..535e8fc5a1 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -4,11 +4,11 @@ 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 +BuildRequires: python3-installer python3.11 rpm_macro(fdupes) Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress -BuildArch: noarch +ExclusiveArch: x86_64 Conflicts: anki Source0: https://files.pythonhosted.org/packages/cp39/a/anki/anki-%{version}-cp39-abi3-manylinux_2_28_%{_arch}.whl Source1: https://files.pythonhosted.org/packages/py3/a/aqt/aqt-%{version}-py3-none-any.whl @@ -36,6 +36,8 @@ 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/ + %files %license LICENSE @@ -50,5 +52,5 @@ install -Dm644 %{SOURCE6} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" /usr/share/pixmaps/anki.png %changelog -* Wed Jan 11 2023 windowsboy111 +* Wed Jan 11 2023 windowsboy111 - 2.1.60 - Initial package diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 58db1d7945..1118ec8c96 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -4,12 +4,12 @@ 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 URL: https://apps.ankiweb.net/ -BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks +BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes) BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson python3-pyqt5-sip BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat -BuildArch: noarch +ExclusiveArch: x86_64 Conflicts: anki Patch0: 0001-No-update.patch Patch1: 0001-Force-qt5.patch @@ -46,6 +46,8 @@ chmod 755 %{buildroot}%{_bindir}/anki find %{buildroot} -iname __pycache__ | xargs -r rm -rf find %{buildroot} -iname direct_url.json | xargs -r rm -rf +%fdupes %_libdir/python*/site-packages/_aqt/data/ + %files %license LICENSE* @@ -60,5 +62,5 @@ find %{buildroot} -iname direct_url.json | xargs -r rm -rf /usr/lib64/python*/site-packages/anki-%{version}.dist-info/ %changelog -* Tue Jan 3 2023 windowsboy111 +* Tue Jan 3 2023 windowsboy111 - 2.1.60 - Initial package diff --git a/anda/apps/anki/anda.hcl b/anda/apps/anki/anda.hcl index 7da31b7cbe..8c72e132cd 100644 --- a/anda/apps/anki/anda.hcl +++ b/anda/apps/anki/anda.hcl @@ -1,5 +1,4 @@ project pkg { - arches = ["x86_64"] rpm { spec = "anki.spec" } diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 84149130ba..64476eebc2 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -4,13 +4,13 @@ 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 URL: https://apps.ankiweb.net/ -BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks +BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes) BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson -BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc +BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-devel python3-pyqt6 Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash -Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-qt5-webengine +Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-qt5-webengine python3-pyqt6 +Recommends: mpv Obsoletes: anki <= 2.1.15 -BuildArch: noarch Conflicts: anki-qt5 Patch0: 0001-No-update.patch @@ -27,6 +27,8 @@ git checkout %{version} # See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anki %build +export RELEASE=1 +export PYTHONPATH=%_libdir/python3/dist-packages mold -run ./tools/build @@ -47,6 +49,8 @@ find %{buildroot} -iname direct_url.json | xargs -r rm -rf chmod 755 %{buildroot}%{_bindir}/anki +%fdupes %_libdir/python*/site-packages/_aqt/data/ + %files %license LICENSE* @@ -54,11 +58,11 @@ chmod 755 %{buildroot}%{_bindir}/anki %{_bindir}/anki %{_datadir}/applications/anki.desktop %{_datadir}/pixmaps/anki.png -/usr/lib64/python*/site-packages/aqt/ -/usr/lib64/python*/site-packages/aqt-%{version}.dist-info/ -/usr/lib64/python*/site-packages/_aqt/ -/usr/lib64/python*/site-packages/anki/ -/usr/lib64/python*/site-packages/anki-%{version}.dist-info/ +%_libdir/python*/site-packages/aqt/ +%_libdir/python*/site-packages/aqt-%{version}.dist-info/ +%_libdir/python*/site-packages/_aqt/ +%_libdir/python*/site-packages/anki/ +%_libdir/python*/site-packages/anki-%{version}.dist-info/ %changelog diff --git a/anda/apps/armcord-bin/armcord-bin.spec b/anda/apps/armcord-bin/armcord-bin.spec index 303e0494df..4dc9cf8f74 100644 --- a/anda/apps/armcord-bin/armcord-bin.spec +++ b/anda/apps/armcord-bin/armcord-bin.spec @@ -10,14 +10,15 @@ Name: armcord-bin Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/ArmCord/ArmCord Group: Applications/Internet Source0: %url/releases/download/v%version/%src.tar.gz Source1: armcord.png -Requires: electron libnotify xdg-utils +Source2: https://raw.githubusercontent.com/ArmCord/ArmCord/v%version/README.md +Requires: electron xdg-utils ExclusiveArch: x86_64 aarch64 armv7l Conflicts: armcord @@ -34,9 +35,9 @@ Name=ArmCord Comment=%summary GenericName=Internet Messenger Type=Application -Exec=/usr/bin/armcord +Exec=%_bindir/armcord Icon=armcord -Categories=Internet;Network;InstantMessaging; +Categories=Network;InstantMessaging; StartupWMClass=armcord Keywords=discord;armcord;vencord;shelter;electron; EOF @@ -44,21 +45,28 @@ EOF %build %install -mkdir -p %buildroot/usr/bin %buildroot/usr/share/applications %buildroot/usr/share/pixmaps %buildroot/opt/armcord -cp -a * %buildroot/opt/armcord -ln -s /opt/armcord/armcord %buildroot/usr/bin/armcord -chmod +x -R %buildroot/opt/armcord/* -chmod 755 %buildroot/opt/armcord/armcord -install -Dm644 .armcord.desktop %buildroot/usr/share/applications/ArmCord.desktop -install -Dm644 %SOURCE1 %buildroot/usr/share/pixmaps/armcord.png +mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_datadir/pixmaps %buildroot%_datadir/armcord %buildroot%_docdir/%name +cp -a * %buildroot%_datadir/armcord/ +ln -s %_datadir/armcord/armcord %buildroot%_bindir/armcord +chmod +x -R %buildroot%_datadir/armcord/* +chmod 755 %buildroot%_datadir/armcord/armcord +install -Dm644 .armcord.desktop %buildroot%_datadir/applications/ArmCord.desktop +install -Dm644 %SOURCE1 %buildroot%_datadir/pixmaps/armcord.png +install -Dm644 %SOURCE2 %buildroot%_docdir/%name/ %files -/opt/armcord -/usr/bin/armcord -/usr/share/applications/ArmCord.desktop -/usr/share/pixmaps/armcord.png +%doc README.md +%_datadir/armcord +%_bindir/armcord +%_datadir/applications/ArmCord.desktop +%_datadir/pixmaps/armcord.png %changelog -* Sat May 6 2023 windowsboy111 -- Initial package +* Sat Jun 17 2023 windowsboy111 - 3.2.0-2 +- Remove libnotify dependency. +- Fix desktop entry. +- Set as noarch package because there are not binary files. +- Use /usr/share/ instead of /opt/ +* Sat May 6 2023 windowsboy111 - 3.1.7-1 +- Initial package diff --git a/anda/apps/armcord/anda.hcl b/anda/apps/armcord/anda.hcl index 236771976c..00e296d1b8 100644 --- a/anda/apps/armcord/anda.hcl +++ b/anda/apps/armcord/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "armcord.spec" } diff --git a/anda/apps/armcord/armcord.spec b/anda/apps/armcord/armcord.spec index 08f79a46d6..6d179e5b23 100644 --- a/anda/apps/armcord/armcord.spec +++ b/anda/apps/armcord/armcord.spec @@ -2,16 +2,17 @@ Name: armcord Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/ArmCord/ArmCord Group: Applications/Internet Source0: %url/archive/refs/tags/v%version.tar.gz Source1: launch.sh -Requires: electron libnotify xdg-utils +Requires: electron xdg-utils BuildRequires: nodejs-npm Conflicts: armcord-bin +BuildArch: noarch %description ArmCord is a custom client designed to enhance your Discord experience @@ -28,7 +29,7 @@ GenericName=Internet Messenger Type=Application Exec=/usr/bin/armcord Icon=armcord -Categories=Internet;Network;InstantMessaging; +Categories=Network;InstantMessaging; StartupWMClass=armcord Keywords=discord;armcord;vencord;shelter;electron; EOF @@ -55,6 +56,11 @@ install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/armcord.png /usr/share/armcord/app.asar %changelog -* Sat May 6 2023 windowsboy111 +* Sat Jun 17 2023 windowsboy111 - 3.2.0-2 +- Remove libnotify dependency. +- Fix desktop entry. +- Set as noarch package because there are not binary files. + +* Sat May 6 2023 windowsboy111 - 3.1.7-1 - Initial package diff --git a/anda/apps/authy/authy.spec b/anda/apps/authy/authy.spec index 87a2ca4f49..1a856b221f 100644 --- a/anda/apps/authy/authy.spec +++ b/anda/apps/authy/authy.spec @@ -1,13 +1,13 @@ Name: authy Version: 2.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Two factor authentication desktop application License: Unlicense URL: https://authy.com/ Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_19.snap Requires: gtk3 Requires: nss -BuildRequires: squashfs-tools +BuildRequires: squashfs-tools desktop-file-utils %description %{summary}. @@ -18,24 +18,30 @@ unsquashfs -q -f -d snap %{SOURCE0} %build %install -install -d "%{buildroot}/opt/authy" -cp -r "snap/." "%{buildroot}/opt/authy" +install -d %buildroot%_datadir/authy +cp -r snap/. %buildroot%_datadir/authy -sed -i 's|${SNAP}/meta/gui/icon.png|authy|g' "%{buildroot}/opt/authy/meta/gui/authy.desktop" -install -Dm644 "%{buildroot}/opt/authy/meta/gui/authy.desktop" -t "%{buildroot}/usr/share/applications" -install -Dm644 "%{buildroot}/opt/authy/meta/gui/icon.png" "%{buildroot}/usr/share/pixmaps/authy.png" +sed -i 's|${SNAP}/meta/gui/icon.png|authy|g' %buildroot%_datadir/authy/meta/gui/authy.desktop +install -Dm644 %buildroot%_datadir/authy/meta/gui/authy.desktop -t %buildroot%_datadir/applications +install -Dm644 %buildroot%_datadir/authy/meta/gui/icon.png %buildroot%_datadir/pixmaps/authy.png -rm -rf "%{buildroot}/opt/authy"/{data-dir,gnome-platform,lib,meta,scripts,usr,*.sh} +rm -rf %buildroot%_datadir/authy/{data-dir,gnome-platform,lib,meta,scripts,usr,*.sh} -install -d "%{buildroot}/usr/bin" -ln -s "/opt/authy/authy" "%{buildroot}/usr/bin" +install -d %buildroot%_bindir +ln -s %_datadir/authy/authy %buildroot%_bindir + +%check +desktop-file-validate %buildroot%_datadir/applications/authy.desktop %files -/opt/authy/ -/usr/bin/authy -/usr/share/applications/authy.desktop -/usr/share/pixmaps/authy.png +%_datadir/authy/ +%_bindir/authy +%_datadir/applications/authy.desktop +%_datadir/pixmaps/authy.png %changelog -* Sat Oct 15 2022 windowsboy111 +* Sat Jun 17 2023 windowsboy111 - 2.3.0-2 +- Use /usr/share/ instead of /opt/ + +* Sat Oct 15 2022 windowsboy111 - 2.2.1-2 - Initial release diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index ec5a9af0ab..3d8c0c4f62 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -2,18 +2,23 @@ Name: discord-canary-openasar Version: 0.0.160 -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 +Release: 2%{?dist} +Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl-canary.discordapp.net/apps/linux/%{version}/discord-canary-%{version}.tar.gz Source1: %{url}/releases/download/nightly/app.asar Group: Applications/Internet -Requires: libatomic, glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++, libX11 >= 1.6, libXtst >= 1.2, libappindicator, libcxx, libXScrnSaver +Requires: glibc GConf2 +Requires: nspr >= 4.13 +Requires: nss >= 3.27 +Requires: libX11 >= 1.6 +Requires: libXtst >= 1.2 ExclusiveArch: x86_64 %description -%{summary}. +OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and +include more features like further customization and theming. %prep %autosetup -n DiscordCanary @@ -28,8 +33,8 @@ mkdir -p %{buildroot}%{_datadir}/discord-canary-openasar cp -rv * %{buildroot}%{_datadir}/discord-canary-openasar mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps -install discord-canary.desktop %{buildroot}%{_datadir}/applications/discord-canary-openasar.desktop -install discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary-openasar.png +ln -s %_datadir/discord-canary-openasar/discord-canary.desktop %{buildroot}%{_datadir}/applications/discord-canary-openasar.desktop +ln -s %_datadir/discord-canary-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary-openasar.png cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-canary-openasar/resources/app.asar chmod o+w %{buildroot}%{_datadir}/discord-canary-openasar/resources -R diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index a26840aed5..a8ed52c7fa 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -2,31 +2,32 @@ Name: discord-canary Version: 0.0.160 -Release: 1%{?dist} -Summary: Free Voice and Text Chat for Gamers. +Release: 2%{?dist} +Summary: Free Voice and Text Chat for Gamers URL: discord.com Source0: https://dl-canary.discordapp.net/apps/linux/%{version}/discord-canary-%{version}.tar.gz License: https://discord.com/terms -Requires: libatomic, glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++, libX11 >= 1.6, libXtst >= 1.2, libappindicator, libcxx, libXScrnSaver +Requires: glibc GConf2 nspr >= 4.13 nss >= 3.27 libX11 >= 1.6 libXtst >= 1.2 Group: Applications/Internet ExclusiveArch: x86_64 %description -Imagine a place where you can belong to a school club, a gaming group, or a worldwide art community. Where just you and a handful of friends can spend time together. A place that makes it easy to talk every day and hang out more often. +Imagine a place where you can belong to a school club, a gaming group, or a +worldwide art community. Where just you and a handful of friends can spend time +together. A place that makes it easy to talk every day and hang out more often. %prep %autosetup -n DiscordCanary %build - %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_datadir}/discord-canary cp -rv * %{buildroot}%{_datadir}/discord-canary mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps -install discord-canary.desktop %{buildroot}%{_datadir}/applications/discord-canary.desktop -install discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary.png +ln -s %_datadir/discord-canary/discord-canary.desktop %{buildroot}%{_datadir}/applications/ +ln -s %_datadir/discord-canary/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary.png %files %{_datadir}/discord-canary/ diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index 1263895f71..9b86801c2f 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -2,18 +2,23 @@ Name: discord-openasar Version: 0.0.27 -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 +Release: 2%{?dist} +Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz Source1: %{url}/releases/download/nightly/app.asar Group: Applications/Internet -Requires: libatomic, glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++, libX11 >= 1.6, libXtst >= 1.2, libappindicator, libcxx, libXScrnSaver +Requires: glibc GConf2 +Requires: nspr >= 4.13 +Requires: nss >= 3.27 +Requires: libX11 >= 1.6 +Requires: libXtst >= 1.2 ExclusiveArch: x86_64 %description -%{summary}. +OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and +include more features like further customization and theming. %prep %autosetup -n Discord @@ -28,8 +33,8 @@ mkdir -p %{buildroot}%{_datadir}/discord-openasar cp -rv * %{buildroot}%{_datadir}/discord-openasar mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps -install discord.desktop %{buildroot}%{_datadir}/applications/discord-openasar.desktop -install discord.png %{buildroot}%{_datadir}/pixmaps/discord-openasar.png +ln -s %_datadir/discord-openasar/discord.desktop %{buildroot}%{_datadir}/applications/discord-openasar.desktop +ln -s %_datadir/discord-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-openasar.png cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-openasar/resources/app.asar chmod o+w %{buildroot}%{_datadir}/discord-openasar/resources -R diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index dd51bab150..74ab8915e8 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -2,18 +2,23 @@ Name: discord-ptb-openasar Version: 0.0.42 -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 +Release: 2%{?dist} +Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms URL: https://github.com/GooseMod/OpenAsar Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz Source1: %{url}/releases/download/nightly/app.asar Group: Applications/Internet -Requires: libatomic, glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++, libX11 >= 1.6, libXtst >= 1.2, libappindicator, libcxx, libXScrnSaver +Requires: glibc GConf2 +Requires: nspr >= 4.13 +Requires: nss >= 3.27 +Requires: libX11 >= 1.6 +Requires: libXtst >= 1.2 ExclusiveArch: x86_64 %description -%{summary}. +OpenAsar is a rewrite of part of Discord's desktop code, making it snappier and +include more features like further customization and theming. %prep %autosetup -n DiscordPTB @@ -28,6 +33,8 @@ mkdir -p %{buildroot}%{_datadir}/discord-ptb-openasar cp -rv * %{buildroot}%{_datadir}/discord-ptb-openasar mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps +ln -s %_datadir/discord-ptb-openasar/discord-ptb.desktop %{buildroot}%{_datadir}/applications/discord-ptb-openasar.desktop +ln -s %_datadir/discord-ptb-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb-openasar.png install discord-ptb.desktop %{buildroot}%{_datadir}/applications/discord-ptb-openasar.desktop install discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb-openasar.png cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-ptb-openasar/resources/app.asar diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 5fc9b5eff2..bcd769d1f3 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -2,16 +2,22 @@ Name: discord-ptb Version: 0.0.42 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Free Voice and Text Chat for Gamers. -URL: discord.com +URL: https://discord.com Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz License: https://discord.com/terms -Requires: libatomic, glibc, alsa-lib, GConf2, libnotify, nspr >= 4.13, nss >= 3.27, libstdc++, libX11 >= 1.6, libXtst >= 1.2, libappindicator, libcxx, libXScrnSaver +Requires: glibc GConf2 +Requires: nspr >= 4.13 +Requires: nss >= 3.27 +Requires: libX11 >= 1.6 +Requires: libXtst >= 1.2 Group: Applications/Internet ExclusiveArch: x86_64 %description -Imagine a place where you can belong to a school club, a gaming group, or a worldwide art community. Where just you and a handful of friends can spend time together. A place that makes it easy to talk every day and hang out more often. +Imagine a place where you can belong to a school club, a gaming group, or a +worldwide art community. Where just you and a handful of friends can spend time +together. A place that makes it easy to talk every day and hang out more often. %prep %autosetup -n DiscordPTB @@ -24,8 +30,8 @@ mkdir -p %{buildroot}%{_datadir}/discord-ptb cp -rv * %{buildroot}%{_datadir}/discord-ptb mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps -install discord-ptb.desktop %{buildroot}%{_datadir}/applications/discord-ptb.desktop -install discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png +ln -s %_datadir/discord-ptb/discord-ptb.desktop %{buildroot}%{_datadir}/applications/ +ln -s %_datadir/discord-ptb/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png %files %{_datadir}/discord-ptb/ diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index ed4cc133ce..7eed626984 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -2,12 +2,12 @@ Name: discord Version: 0.0.27 -Release: 1%{?dist} -Summary: Free Voice and Text Chat for Gamers. -URL: discord.com +Release: 2%{?dist} +Summary: Free Voice and Text Chat for Gamers +URL: https://discord.com Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz License: https://discord.com/terms -Requires: libatomic glibc alsa-lib GConf2 libnotify libstdc++ libappindicator libcxx libXScrnSaver +Requires: glibc GConf2 Requires: nspr >= 4.13 Requires: nss >= 3.27 Requires: libX11 >= 1.6 @@ -15,10 +15,9 @@ Requires: libXtst >= 1.2 Group: Applications/Internet ExclusiveArch: x86_64 %description -Imagine a place where you can belong to a school club, a gaming group, -or a worldwide art community. Where just you and a handful of friends -can spend time together. A place that makes it easy to talk every day -and hang out more often. +Imagine a place where you can belong to a school club, a gaming group, or a +worldwide art community. Where just you and a handful of friends can spend time +together. A place that makes it easy to talk every day and hang out more often. %prep %autosetup -n Discord @@ -31,8 +30,8 @@ mkdir -p %{buildroot}%{_datadir}/discord cp -rv * %{buildroot}%{_datadir}/discord mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps -install discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop -install discord.png %{buildroot}%{_datadir}/pixmaps/discord.png +ln -s %_datadir/discord/discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop +ln -s %_datadir/discord/discord.png %{buildroot}%{_datadir}/pixmaps/discord.png %files %{_datadir}/discord/ diff --git a/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec b/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec index 09aae0465f..aee519f693 100644 --- a/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec +++ b/anda/apps/vala-panel-appmenu/vala-panel-appmenu.spec @@ -4,12 +4,13 @@ Name: vala-panel-appmenu Version: 0.7.6 -Release: %autorelease +Release: 2%?dist License: LGPL-3.0-or-later -Summary: This package provides Application Menu plugin for vala-panel +Summary: Application Menu plugin for vala-panel URL: %{forgeurl} Source: %{forgesource} +BuildRequires: fdupes BuildRequires: bamf-daemon BuildRequires: meson BuildRequires: ninja-build @@ -33,34 +34,34 @@ BuildRequires: pkgconfig(vala-panel) BuildRequires: pkgconfig(libmatepanelapplet-4.0) Provides: vala-panel-appmenu-plugin = %{version} Requires: bamf-daemon -Requires: libdbusmenu %description -Vala Panel Application Menu is a Global Menu applet for use with Vala Panel, xfce4-panel and mate-panel (Budgie 10.x is also planned). +Vala Panel Application Menu is a Global Menu applet for use with Vala Panel, +xfce4-panel and mate-panel (Budgie 10.x is also planned). Unity-gtk-module is used as a backend %package -n xfce4-vala-panel-appmenu-plugin -Summary: This package provides Application Menu plugin for xfce4-panel -Requires: xfce4-panel -Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} +Summary: Application Menu plugin for xfce4-panel +Requires: xfce4-panel +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} %description -n xfce4-vala-panel-appmenu-plugin XFCE4 desktop plugin for %{name}. %package -n mate-vala-panel-appmenu-plugin -Summary: This package provides Application Menu plugin for xfce4-panel -Requires: mate-panel -Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} +Summary: Application Menu plugin for xfce4-panel +Requires: mate-panel +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} %description -n mate-vala-panel-appmenu-plugin Mate desktop plugin for %{name}. %package -n budgie-vala-panel-appmenu-plugin -Summary: This package provides Application Menu plugin for xfce4-panel -Requires: budgie-desktop -Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} +Summary: Application Menu plugin for xfce4-panel +Requires: budgie-desktop +Requires: vala-panel-appmenu-gtk-module%{?_isa} == %{version}-%{release} %description -n budgie-vala-panel-appmenu-plugin Budgie desktop plugin for %{name}. @@ -90,6 +91,7 @@ GTK (2, 3) module that exports GtkMenuShells over D-Bus. %install %meson_install +%fdupes %buildroot%_datadir/locale/ %find_lang vala-panel-appmenu %files -f vala-panel-appmenu.lang diff --git a/anda/apps/vala-panel/vala-panel.spec b/anda/apps/vala-panel/vala-panel.spec index b62d2f0856..5f403e84fd 100644 --- a/anda/apps/vala-panel/vala-panel.spec +++ b/anda/apps/vala-panel/vala-panel.spec @@ -5,12 +5,13 @@ Name: vala-panel Version: 0.5.0 -Release: %autorelease +Release: 2%?dist License: LGPL-3.0-or-later Summary: This package provides Application Menu plugin for vala-panel URL: %{forgeurl} Source: %{forgesource} +BuildRequires: fdupes BuildRequires: meson BuildRequires: vala BuildRequires: desktop-file-utils @@ -42,18 +43,20 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %install %meson_install +%fdupes %buildroot%_datadir/locale/ %find_lang %{name} # Already packaged rm -rf %{buildroot}%{_datadir}/vala-panel/doc +%check desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.application.desktop # Seems to succeed with other appstream checkers and works but fails #appstream-util validate-relax --nonet {buildroot}{_datadir}/appdata/org.valapanel.application.appdata.xml %files -f %{name}.lang -%doc README.md LICENSE +%doc README.md %license LICENSE -%{_sysconfdir}/xdg/vala-panel/ +%config %{_sysconfdir}/xdg/vala-panel/ %{_bindir}/vala-* %{_libdir}/libvalapanel.so.* %dir %{_libdir}/vala-panel @@ -72,6 +75,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.valapanel.applica %{_datadir}/vala-panel/images/background.png %files devel +%doc README.md +%license LICENSE %dir %{_includedir}/vala-panel %{_includedir}/vala-panel/*.h %{_libdir}/libvalapanel.so diff --git a/anda/audio/distrho/distrho.spec b/anda/audio/distrho/distrho.spec index 5233d4351c..ebfa3adec8 100644 --- a/anda/audio/distrho/distrho.spec +++ b/anda/audio/distrho/distrho.spec @@ -26,37 +26,36 @@ BuildRequires: pkgconfig(xcursor) %description Misc audio production plugins ported to linux lv2 plugins by DISTRHO -# Dexed %package dexed -Summary: Dexed is a multi platform, multi format plugin synth that is closely modeled on the Yamaha DX7 +Summary: A multi platform, multi format plugin synth closely modeled on the Yamaha DX7 %description dexed -Dexed is a multi platform, multi format plugin synth that is closely modeled on the Yamaha DX7. -Dexed is also a midi cartridge librarian/manager for the DX7 +Dexed is a multi platform, multi format plugin synth that is closely modeled on +the Yamaha DX7. Dexed is also a midi cartridge librarian/manager for the DX7. -# Vitalium %package vitalium -Summary: vitalium is a spectral warping wavetable synthesizer +Summary: A spectral warping wavetable synthesizer Provides: vitalium-vst = %{version}-%{release} Provides: vitalium-lv2 = %{version}-%{release} Provides: vitalium = %{version}-%{release} + %description vitalium -vitalium is the Open Source version of the Vital spectral warping wavetable synthesizer +vitalium is the Open Source version of the Vital spectral warping wavetable +synthesizer. + %package TAL -Summary: Misc Plugins for TAL (tal-filter, tal-filter-2, tal-noisemaker, tal-reverb, tal-reverb-2, tal-reverb-3, tal-vocoder-2) - -# TAL +Summary: Misc Plugins for TAL %description TAL -Misc Plugins for TAL (tal-filter, tal-filter-2, tal-noisemaker, tal-reverb, tal-reverb-2, tal-reverb-3, tal-vocoder-2) +Misc Plugins for TAL (tal-filter, tal-filter-2, tal-noisemaker, tal-reverb, +tal-reverb-2, tal-reverb-3, tal-vocoder-2). + %package dRowAudio -Summary: Plugins from dRowAudio (distortion, distortionshaper, flanger, reverb, tremolo) - -# dRowAudio +Summary: Plugins from dRowAudio %description dRowAudio Plugins from dRowAudio (distortion, distortionshaper, flanger, reverb, tremolo) @@ -68,132 +67,132 @@ Summary: Arctican lv2 plugins %description Arctican Plugins from Arctican (The Functiom & The Pilgrim) -# LUFS %package LUFS Summary: Klangfreund metering plugins (Multimeter + LUFS Meter) %description LUFS -Klangfreund metering plugins (Multimeter + LUFS Meter) +Klangfreund metering plugins (Multimeter + LUFS Meter). -# EasySSP %package EasySSP -Summary: Easy Sound Space Perception is a small and lightweight audio visualization tool +Summary: A small and lightweight audio visualization tool %description EasySSP -Easy Sound Space Perception is a small and lightweight audio visualization tool, which currently provides spectrometer and goniometer views. +Easy Sound Space Perception is a small and lightweight audio visualization tool +that currently provides spectrometer and goniometer views. -# JuceOPL %package JuceOPL Summary: Classic game sounds in Plugin form, as heard in late 80s / early 90s sound cards %description JuceOPL -Classic game sounds in Plugin form, as heard in late 80s / early 90s sound cards. +Classic game sounds in Plugin form, +as heard in late 80s / early 90s sound cards. -# KlangFalter %package KlangFalter -Summary: KlangFalter is a convolution audio plugin +Summary: A convolution audio plugin %description KlangFalter KlangFalter is a convolution audio plugin -# Luftikus %package Luftikus Summary: Luftikus plugin %description Luftikus -Luftikus is a digital adaptation of an analog EQ with fixed half-octave bands and additional high frequency boost. -As an improvement to the hardware it allows deeper cuts and supports a keep-gain mode where overall gain changes are avoided. +Luftikus is a digital adaptation of an analog EQ with fixed half-octave bands +and additional high frequency boost. As an improvement to the hardware it +allows deeper cuts and supports a keep-gain mode where overall gain changes are +avoided. -# Obxd %package Obxd -Summary: Obxd is emulation of famous ob-x, ob-xa and ob8 synths +Summary: Emulation of famous ob-x, ob-xa and ob8 synths %description Obxd Obxd is emulation of famous ob-x, ob-xa and ob8 synths. -# Refine %package ReFine Summary: ReFine plugin %description ReFine -ReFine is a plugin that allows to add a final polishing to your tracks, busses and masters. -It extracts psycho-acoustic parameters from the source and thus allows to add warmth, space and punch to your mixes. +ReFine is a plugin that allows to add a final polishing to your tracks, busses +and masters. It extracts psycho-acoustic parameters from the source and thus +allows to add warmth, space and punch to your mixes. -# Wolpertinger %package Wolpertinger -Summary: Wolpertinger is a subtractive, antialiased polyphonic software synthesizer +Summary: A subtractive, antialiased polyphonic software synthesizer %description Wolpertinger Wolpertinger is a subtractive, antialiased polyphonic software synthesizer. -# Vex %package Vex -Summary: Vex is a 3 oscillator subtractive waverom synth +Summary: A 3 oscillator subtractive waverom synth %description Vex Vex is a 3 oscillator subtractive waverom synth -# Temper + %package Temper -Summary: Temper is a modern digital distortion plugin +Summary: A modern digital distortion plugin %description Temper -Temper is a modern digital distortion plugin featuring a rich saturation stage and a unique phase distortion. -Use the variable saturation curve to add warmth and edge to your sound, and let the phase distortion bring character and clarity through your mix. -Temper also features a simple resonant lowpass filter and a feedback path to drive the intensity of the tone. +Temper is a modern digital distortion plugin featuring a rich saturation stage +and a unique phase distortion. Use the variable saturation curve to add warmth +and edge to your sound, and let the phase distortion bring character and +clarity through your mix. Temper also features a simple resonant lowpass filter +and a feedback path to drive the intensity of the tone. + -# SwankyAmp %package SwankyAmp -Summary: Swanky Amp is a tube amplifier emulation plug-in +Summary: A tube amplifier emulation plug-in %description SwankyAmp -Swanky Amp is a tube amplifier emulation plug-in which is based on detailed simulations of tube amplification. -Discover new tones effortlessly with intuitive controls, harnessing the coveted sounds of dynamic tube amplification. +Swanky Amp is a tube amplifier emulation plug-in based on detailed simulations +of tube amplification. Discover new tones effortlessly with intuitive controls, +harnessing the coveted sounds of dynamic tube amplification. + -# PitchedDelay %package PitchedDelay Summary: PitchedDelay is a delay that allows the pitching the delayed signal %description PitchedDelay -PitchedDelay is a delay that allows the pitching the delayed signal, within or outside the feedback loop. +PitchedDelay is a delay that allows the pitching the delayed signal, within or +outside the feedback loop. + -# StereoSourceSeparation %package StereoSourceSeparation Summary: Stereo Source Separation plugin %description StereoSourceSeparation -This is a plugin that uses the spatial information hidden in the stereo signal to accomplish source separation. +This is a plugin that uses the spatial information hidden in the stereo signal +to accomplish source separation. -# HiReSam %package HiReSam Summary: Klangfreund High Resolution Spectrum Analyse Meter %description HiReSam -Klangfreund High Resolution Spectrum Analyse Meter +%summary. + -# eqinox %package eqinox Summary: EQinox equaliser plugin %description eqinox -EQinox equaliser plugin +EQinox equaliser plugin. + -# drumsynth %package drumsynth -Summary: drumsynth plugin +Summary: Plugin for drumsynth %description drumsynth -drumsynth plugin +%summary. %prep %autosetup -p1 -n DISTRHO-Ports-%{github_release} diff --git a/anda/audio/voicevox/0001-feat-add-repository-entry-in-package.json.patch b/anda/audio/voicevox/0001-feat-add-repository-entry-in-package.json.patch new file mode 100644 index 0000000000..8b3c61bd79 --- /dev/null +++ b/anda/audio/voicevox/0001-feat-add-repository-entry-in-package.json.patch @@ -0,0 +1,22 @@ +From 6b8c81d1d4ac0ac562b69e7f8164c8a92dafe13a Mon Sep 17 00:00:00 2001 +From: windowsboy111 +Date: Mon, 19 Jun 2023 10:33:20 +0800 +Subject: [PATCH] feat: add repository entry in package.json + +--- + package.json | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/package.json b/package.json +index 622756a..b3d3dfa 100644 +--- a/package.json ++++ b/package.json +@@ -1,4 +1,5 @@ + { ++ "repository": "github:VOICEVOX/voicevox", + "name": "voicevox", + "version": "999.999.999", + "author": "Hiroshiba Kazuyuki", +-- +2.40.1 + diff --git a/anda/audio/voicevox/anda.hcl b/anda/audio/voicevox/anda.hcl new file mode 100644 index 0000000000..2a748721bc --- /dev/null +++ b/anda/audio/voicevox/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "voicevox.spec" + } +} diff --git a/anda/audio/voicevox/update.rhai b/anda/audio/voicevox/update.rhai new file mode 100644 index 0000000000..212b012879 --- /dev/null +++ b/anda/audio/voicevox/update.rhai @@ -0,0 +1,9 @@ +// let v = gh("VOICEVOX/voicevox"); +// rpm.version(v); +// let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines; +// rpm.define("nodev", find(">=([\\d.]+)", engines.node, 1)); +// rpm.define("nodev", find(">=([\\d.]+)", engines.npm, 1)); +let v = "0.14.7"; +let engines = get(`https://raw.githubusercontent.com/VOICEVOX/voicevox/${v}/package.json`).json().engines; +print(find(">=([\\d.]+)", engines.node, 1)); +print(find(">=([\\d.]+)", engines.npm, 1)); diff --git a/anda/audio/voicevox/voicevox.spec b/anda/audio/voicevox/voicevox.spec new file mode 100644 index 0000000000..a42c656019 --- /dev/null +++ b/anda/audio/voicevox/voicevox.spec @@ -0,0 +1,60 @@ +%global nodev 16.17.0 +%global npmv 8.11.0 +%define debug_package %nil + +Name: voicevox +Version: 0.14.7 +Release: 1%?dist +Summary: Free Japanese text-to-speech editor +License: LGPL-3.0 +URL: https://voicevox.hiroshiba.jp +Source0: https://github.com/VOICEVOX/voicevox/archive/refs/tags/%version.tar.gz +# requires specific node and npm version +%ifarch x86_64 +%global a x64 +%elifarch aarch64 +%global a arm64 +%endif +Source1: https://nodejs.org/download/release/v%nodev/node-v%nodev-linux-%a.tar.xz +Patch0: 0001-feat-add-repository-entry-in-package.json.patch + +%description +VOICEVOX is a free Japanese text-to-speech software with medium output quality. + +%package doc +Summary: Documentation files for voicevox (Japanese) + +%description doc +%summary. + +%prep +%autosetup -p1 +tar xf %SOURCE1 +PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/" +npx npm@%npmv i + +%build +PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/" +npx browserslist@latest --update-db +PATH="$PATH:$PWD/node-v%nodev-linux-%a/bin/" +npm run electron:build + +%install +rm dist_electron/linux-unpacked/README.txt # dummy +mkdir -p %buildroot%_datadir/%name %buildroot%_bindir %buildroot%_docdir/%name/res +mv dist_electron/linux-unpacked/* %buildroot%_datadir/%name/ +ln -s %_datadir/%name/%name %buildroot%_bindir/%name +install -Dm644 docs/*.md %buildroot%_docdir/%name/ +install -Dm644 docs/res/* %buildroot%_docdir/%name/res/ + +%files +%doc README.md +%license LICENSE LGPL_LICENSE +%_bindir/%name +%_datadir/%name/ + +%files doc +%doc %_docdir/%name/ + +%changelog +%autochangelog diff --git a/anda/crystal/blahaj/blahaj.spec b/anda/crystal/blahaj/blahaj.spec index 57b5d793a6..1ff80622de 100644 --- a/anda/crystal/blahaj/blahaj.spec +++ b/anda/crystal/blahaj/blahaj.spec @@ -7,28 +7,33 @@ Summary: Gay sharks at your local terminal - lolcat-like CLI tool License: BSD-2-Clause URL: https://blahaj.queer.software Source0: https://github.com/GeopJr/BLAHAJ/archive/refs/tags/v%version.tar.gz -BuildRequires: crystal make gcc libyaml-devel pcre-devel +BuildRequires: crystal gcc libyaml-devel pcre-devel ExclusiveArch: x86_64 %description -Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI tool that colorizes your input, shows flags and prints colorful sharks! -It has a wide variety of flags/colors to choose from and many options from flag size to whether to colorize by line, word or character. +Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI +tool that colorizes your input, shows flags and prints colorful sharks! +It has a wide variety of flags/colors to choose from and many options from flag +size to whether to colorize by line, word or character. %prep %autosetup -n BLAHAJ-%{version} %build -%make_build +shards build --production --release -D "-fPIE" --link-flags "-pie" %install -%make_install +mkdir -p %buildroot%_bindir +install -Dm755 bin/blahaj %buildroot%_bindir/ %check -make test_mt +crystal spec --order random -Dpreview_mt %files -/usr/bin/blahaj +%doc README.md +%license LICENSE +%_bindir/blahaj %changelog -* Sat Apr 15 2023 windowsboy111 +* Sat Apr 15 2023 windowsboy111 - 2.0.1-1 - Initial package. diff --git a/anda/crystal/crystal/crystal.spec b/anda/crystal/crystal/crystal.spec index 2dea01d896..49b8fe9bf3 100644 --- a/anda/crystal/crystal/crystal.spec +++ b/anda/crystal/crystal/crystal.spec @@ -2,16 +2,23 @@ Name: crystal Version: 1.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Crystal Programming Language License: Apache-2.0 URL: https://crystal-lang.org/ Source0: https://github.com/crystal-lang/crystal/releases/download/%version/crystal-%version-1-linux-x86_64-bundled.tar.gz ExclusiveArch: x86_64 +BuildRequires: rpm_macro(fdupes) %description %summary. +%package devel +Summary: Development files for the crystal package + +%description devel +%summary. + %prep %autosetup -n crystal-%version-1 @@ -25,10 +32,12 @@ install -Dm755 bin/* %buildroot/usr/bin/ cp -r share/* %buildroot/usr/share/ cp -r lib/crystal/* %buildroot/usr/lib/crystal/ +%fdupes %buildroot%_datadir/crystal/src/lib_c/ + + %files %license /usr/share/licenses/crystal/LICENSE /usr/bin/crystal -/usr/lib/crystal/ /usr/share/zsh/site-functions/_crystal /usr/share/man/man1/crystal.1.gz /usr/share/crystal/ @@ -39,7 +48,13 @@ cp -r lib/crystal/* %buildroot/usr/lib/crystal/ /usr/share/man/man1/shards.1.gz /usr/share/man/man5/shard.yml.5.gz +%files devel +/usr/lib/crystal/ + %changelog -* Sat Apr 15 2023 windowsboy111 +* Sat Jun 17 2023 windowsboy111 - 1.8.2-2 +- Add devel package. + +* Sat Apr 15 2023 windowsboy111 - 1.8.0-1 - Initial package. diff --git a/anda/dart/dart.spec b/anda/dart/dart.spec index ad5df8a88e..cb6d88f850 100644 --- a/anda/dart/dart.spec +++ b/anda/dart/dart.spec @@ -18,9 +18,11 @@ URL: https://dart.dev/ %endif Source0: https://storage.googleapis.com/dart-archive/channels/stable/release/%{version}/sdk/dartsdk-linux-%{arch}-release.zip +BuildRequires: fdupes %description -Dart is a client-optimized language for fast apps on any platform. This package contains the SDK used to develop and compile Dart applications. +Dart is a client-optimized language for fast apps on any platform. +This package contains the SDK used to develop and compile Dart applications. %prep %setup -q -n dart-sdk @@ -37,6 +39,8 @@ cp -rv ./* %{buildroot}%{_libdir}/dart ln -sf %{_libdir}/dart/bin/dart %{buildroot}%{_bindir}/dart ln -sf %{_libdir}/dart/bin/dartaotruntime %{buildroot}%{_bindir}/dartaotruntime +%fdupes %buildroot%_libdir/dart/bin/ + %files %{_libdir}/dart/ %{_bindir}/dart diff --git a/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec b/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec index 5fe797cdd7..4004ec9a50 100644 --- a/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec +++ b/anda/fonts/arphic-ukai/arphic-ukai-fonts.spec @@ -1,6 +1,6 @@ Name: arphic-ukai-fonts Version: 0.2.20080216.2 -Release: %autorelease +Release: 2%?dist URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts Source0: https://deb.debian.org/debian/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_%{version}.orig.tar.bz2 License: Arphic-1999 @@ -23,9 +23,8 @@ install -D -m644 ukai.ttc %{buildroot}/%{_datadir}/fonts/arphic-ukai/ukai.ttc %files %doc README %license license/english/ARPHICPL.TXT -%defattr(-,root,root,0755) /%{_datadir}/fonts/arphic-ukai/ukai.ttc %changelog -* Mon Nov 21 2022 windowsboy111 - 4.004 +* Mon Nov 21 2022 windowsboy111 - 0.2.20080216.2-1 - Initial package diff --git a/anda/fonts/arphic-uming/arphic-uming-fonts.spec b/anda/fonts/arphic-uming/arphic-uming-fonts.spec index 0ae77eb780..cfe482f2cd 100644 --- a/anda/fonts/arphic-uming/arphic-uming-fonts.spec +++ b/anda/fonts/arphic-uming/arphic-uming-fonts.spec @@ -1,6 +1,6 @@ Name: arphic-uming-fonts Version: 0.2.20080216.2 -Release: %autorelease +Release: 2%?dist URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts Source0: https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_%{version}.orig.tar.bz2 License: Arphic-1999 @@ -27,5 +27,5 @@ install -D -m644 uming.ttc %{buildroot}/%{_datadir}/fonts/arphic-uming/uming.ttc /%{_datadir}/fonts/arphic-uming/uming.ttc %changelog -* Mon Nov 21 2022 windowsboy111 - 4.004 +* Mon Nov 21 2022 windowsboy111 - 0.2.20080216.2-1 - Initial package diff --git a/anda/fonts/fakepearl/fakepearl-fonts.spec b/anda/fonts/fakepearl/fakepearl-fonts.spec index f4a97d86ea..32c3b184df 100644 --- a/anda/fonts/fakepearl/fakepearl-fonts.spec +++ b/anda/fonts/fakepearl/fakepearl-fonts.spec @@ -1,6 +1,6 @@ Name: fakepearl-fonts Version: 1.1 -Release: 1%?dist +Release: 2%?dist URL: https://github.com/max32002/FakePearl Source0: %url/archive/refs/tags/%version.tar.gz License: OFL-1.1 @@ -24,7 +24,6 @@ install -Dm644 tw/*.ttf %buildroot/%_datadir/fonts/fakepearl/ %files %doc README.md %license SIL_Open_Font_License_1.1.txt -%defattr(-,root,root,0755) /%{_datadir}/fonts/fakepearl/ diff --git a/anda/fonts/hannom/hannom-fonts.spec b/anda/fonts/hannom/hannom-fonts.spec index 395734ec92..f651f64092 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: 2%{?dist} +Release: 3%{?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 @@ -25,7 +25,6 @@ install -Dm644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/%{name}/COPYING" %files %license COPYING -%defattr(-,root,root,0755) /%{_datadir}/fonts/hannom/ %changelog diff --git a/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec b/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec index 0c957948aa..b0e4438a21 100644 --- a/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec +++ b/anda/fonts/kanjistrokeorders/kanjistrokeorders-fonts.spec @@ -1,11 +1,11 @@ Name: kanjistrokeorders-fonts Version: 4.004 -Release: %autorelease +Release: 2%?dist URL: https://sites.google.com/site/nihilistorguk License: BSD-3-Clause Summary: Kanji stroke order font BuildRequires: unzip -BuildArch: noarch +BuildArch: noarch %description @@ -23,7 +23,6 @@ install -D -m644 KanjiStrokeOrders_v%{version}.ttf %{buildroot}/%{_datadir}/font %files -%defattr(-,root,root,0755) /%{_datadir}/fonts/TTF/KanjiStrokeOrders_v%{version}.ttf %changelog diff --git a/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec b/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec index 574f9405cc..ca342299e8 100644 --- a/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec +++ b/anda/fonts/mini-wakuwaku/mini-wakuwaku-fonts.spec @@ -1,6 +1,6 @@ Name: mini-wakuwaku-fonts Version: 1.0 -Release: %autorelease +Release: 2%?dist URL: http://mini-design.jp/font/mini-wakuwaku.html Source0: http://mini-design.jp/font/img/mini-wakuwaku.zip License: Unlicense @@ -25,9 +25,8 @@ install -D -m644 mini-wakuwaku.otf %{buildroot}/%{_datadir}/fonts/mini-wakuwaku/ %files %doc readme.html -%defattr(-,root,root,0755) /%{_datadir}/fonts/mini-wakuwaku/ %changelog -* Mon Nov 21 2022 windowsboy111 - 4.004 +* Mon Nov 21 2022 windowsboy111 - 1.0-1 - Initial package diff --git a/anda/fonts/naikai/naikai-fonts.spec b/anda/fonts/naikai/naikai-fonts.spec index bc2e99fd77..6a173d91c5 100644 --- a/anda/fonts/naikai/naikai-fonts.spec +++ b/anda/fonts/naikai/naikai-fonts.spec @@ -14,12 +14,14 @@ BuildArch: noarch %package jp Summary: A free font family derived from setofont (JP version) %description jp -%{summary}. 瀬戸フォントに由来、たくさん中国語文字を加えた無料なフォント +%{summary}. +瀬戸フォントに由来、たくさん中国語文字を加えた無料なフォント。 %package tw Summary: A free font family derived from setofont (TW version) %description tw -%{summary}. 瀨戶字體的繁體中文補字計畫 +%{summary}. +瀨戶字體的繁體中文補字計畫。 %prep @@ -29,20 +31,18 @@ Summary: A free font family derived from setofont (TW version) %install mkdir -p %{buildroot}/%{_datadir}/fonts/%{name}-{jp,tw}/ -install -D -m644 jp/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-jp/ -install -D -m644 tw/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-tw/ +install -Dm644 jp/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-jp/ +install -Dm644 tw/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-tw/ %files jp %doc README.md %license SIL_Open_Font_License_1.1.txt -%defattr(-,root,root,0755) /%{_datadir}/fonts/%{name}-jp %files tw %doc README.md %license SIL_Open_Font_License_1.1.txt -%defattr(-,root,root,0755) /%{_datadir}/fonts/%{name}-tw %changelog diff --git a/anda/fonts/nerd-fonts/nerd-fonts.spec b/anda/fonts/nerd-fonts/nerd-fonts.spec index d138fa64e9..01e41983ce 100644 --- a/anda/fonts/nerd-fonts/nerd-fonts.spec +++ b/anda/fonts/nerd-fonts/nerd-fonts.spec @@ -1,5 +1,7 @@ %global flist 3270 Agave AnonymousPro Arimo AurulentSansMono BigBlueTerminal BitstreamVeraSansMono CascadiaCode CodeNewRoman Cousine DaddyTimeMono DejaVuSansMono DroidSansMono FantasqueSansMono FiraCode FiraMono Go-Mono Gohu Hack Hasklig HeavyData Hermit IBMPlexMono Inconsolata InconsolataGo InconsolataLGC Iosevka JetBrainsMono Lekton LiberationMono Lilex MPlus Meslo Monofur Monoid Mononoki NerdFontsSymbolsOnly Noto OpenDyslexic Overpass ProFont ProggyClean RobotoMono ShareTechMono SourceCodePro SpaceMono Terminus Tinos Ubuntu UbuntuMono VictorMono iA-Writer -%global desc Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons). +%global desc %{expand: +Nerd Fonts is a project that patches developer targeted fonts with a high +number of glyphs (icons).} Name: nerd-fonts Version: 3.0.2 @@ -33,11 +35,12 @@ end 'iconic fonts' such as Font Awesome, Devicons, Octicons, and others. %{lua: +local desc = rpm.expand("%desc") for font in (rpm.expand("%flist")):gmatch("[^ ]+") do print("%package -n "..font:lower().."-nerd-fonts\n") print("Summary:\tPatched Nerd fonts: "..font) print("\n%description -n "..font:lower().."-nerd-fonts\n") - print("%{desc}. The package contains the patched version of "..font..".\n") + print(desc..". The package contains the patched version of "..font..".\n") end } @@ -83,5 +86,5 @@ end %changelog -* Wed Jan 4 2023 windowsboy111 +* Wed Jan 4 2023 windowsboy111 - 2.2.2-1 - Initial package diff --git a/anda/fonts/open-huninn/open-huninn-fonts.spec b/anda/fonts/open-huninn/open-huninn-fonts.spec index 7577038b01..bca26a38f1 100644 --- a/anda/fonts/open-huninn/open-huninn-fonts.spec +++ b/anda/fonts/open-huninn/open-huninn-fonts.spec @@ -1,6 +1,6 @@ Name: open-huninn-fonts Version: 2.0 -Release: 1%?dist +Release: 2%?dist URL: https://github.com/justfont/open-huninn-font Source0: %url/archive/refs/tags/v%version.tar.gz License: OFL-1.1 @@ -24,7 +24,6 @@ install -Dm644 font/jf-openhuninn-%version.ttf %buildroot/%_datadir/fonts/open-h %files %doc README.md %license license.txt -%defattr(-,root,root,0755) /%{_datadir}/fonts/open-huninn/ diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index 001f6d1cbd..48a371dce2 100644 --- a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec +++ b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec @@ -1,6 +1,6 @@ Name: sarasa-gothic-fonts Version: 0.41.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/be5invis/Sarasa-Gothic Source0: %url/releases/download/v%version/sarasa-gothic-ttc-%version.7z Source1: %url/releases/download/v%version/sarasa-gothic-super-ttc-%version.7z @@ -49,13 +49,11 @@ install -Dm644 %SOURCE3 %buildroot/%_datadir/doc/sarasa-gothic-super-fonts/ %files %doc README.md %license LICENSE -%defattr(-,root,root,0755) /%{_datadir}/fonts/sarasa-gothic/ %files -n sarasa-gothic-super-fonts %doc README.md %license LICENSE -%defattr(-,root,root,0755) /%{_datadir}/fonts/sarasa-gothic-super/ %changelog diff --git a/anda/fonts/seto/seto-fonts.spec b/anda/fonts/seto/seto-fonts.spec index d0617bf61c..3365601eeb 100644 --- a/anda/fonts/seto/seto-fonts.spec +++ b/anda/fonts/seto/seto-fonts.spec @@ -1,8 +1,8 @@ Name: seto-fonts Version: 6.20 -Release: %autorelease +Release: 2%?dist URL: https://setofont.osdn.jp/ -Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip +Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip License: OFL-1.1 Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji BuildRequires: unzip @@ -10,7 +10,7 @@ BuildArch: noarch %description -%{summary}. +%summary. %prep @@ -19,15 +19,17 @@ BuildArch: noarch %build %install -mkdir -p $RPM_BUILD_ROOT/%{prefix}/%{name}/ -cp -r *.ttf $RPM_BUILD_ROOT/%{prefix}/%{name}/ +mkdir -p %buildroot/%_datadir/fonts/%name +install -Dm644 *.ttf %buildroot/%_datadir/fonts/%name/ %files %doc readme.txt -%defattr(-,root,root,0755) -/%{prefix}/%{name} +%_datadir/fonts/%name/ %changelog -* Tue Nov 22 2022 windowsboy111 - 6.20 +* Sun Jun 18 2023 windowsboy111 - 6.20-2 +- Fix install dir. + +* Tue Nov 22 2022 windowsboy111 - 6.20-1 - Initial package diff --git a/anda/fonts/sipa/anda.hcl b/anda/fonts/sipa/anda.hcl index 8790a7a237..59acbbe738 100644 --- a/anda/fonts/sipa/anda.hcl +++ b/anda/fonts/sipa/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "sipa-fonts.spec" } diff --git a/anda/fonts/sipa/sipa-fonts.spec b/anda/fonts/sipa/sipa-fonts.spec index a11d602a88..b4cb6932ac 100644 --- a/anda/fonts/sipa/sipa-fonts.spec +++ b/anda/fonts/sipa/sipa-fonts.spec @@ -2,7 +2,7 @@ Name: sipa-fonts Version: 20200217 -Release: 1%?dist +Release: 2%?dist Summary: Thai National Fonts collection URL: https://www.f0nt.com/release/13-free-fonts-from-sipa/ License: OFL-1.1 @@ -21,18 +21,19 @@ print(x) } %description -Thai National Fonts collection, freely-licensed computer fonts for the Thai script -sponsored by the Thai government. +Thai National Fonts collection, freely-licensed computer fonts for the Thai +script sponsored by the Thai government. %{lua: +local summary = rpm.expand("%summary.\n"); for variant in (rpm.expand("%variants")):gmatch("[^ ]+") do local v = string.gsub(variant, "_", " ") local name = "th-"..string.gsub(v:lower(), " ", "-").."-fonts" print("%package -n "..name.."\n") print("Summary: Thai "..v.." fonts (sipa-fonts)\n") print("%description -n "..name.."\n") - print("%summary.\n") + print(summary) end } @@ -79,5 +80,5 @@ end } %changelog -* Sun Jun 11 2023 windowsboy111 +* Sun Jun 11 2023 windowsboy111 - 20200217-1 - Initial package diff --git a/anda/games/opsu/opsu.spec b/anda/games/opsu/opsu.spec index 42ad7f9b5d..031bfa7551 100644 --- a/anda/games/opsu/opsu.spec +++ b/anda/games/opsu/opsu.spec @@ -13,7 +13,8 @@ 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). +opsu! is an unofficial open-source client for the rhythm game osu!, written in +Java using Slick2D and LWJGL (wrappers around OpenGL and OpenAL). %prep @@ -38,7 +39,7 @@ EOF %install mkdir -p %{buildroot}/usr/share/{applications,{licenses,doc}/%{name}} -install -Dm644 %{name}.sh %{buildroot}/usr/bin/%{name} +install -Dm755 %{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/ @@ -54,5 +55,5 @@ install -Dm644 %{SOURCE3} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" /usr/share/applications/%{name}.desktop %changelog -* Tue Feb 7 2023 windowsboy111 +* Tue Feb 7 2023 windowsboy111 - 0.16.1-1 - Initial package diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index a3c7678f4e..b12d711e7a 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -8,7 +8,7 @@ Summary: The future of osu! and the beginning of an open era! Commonly known by ExclusiveArch: x86_64 URL: https://osu.ppy.sh/ License: MIT AND CC-BY-NC-4.0 -Requires: zlib osu-mime fuse +Requires: osu-mime fuse Source0: https://github.com/ppy/osu/releases/download/%{version}/osu.AppImage Source1: https://raw.githubusercontent.com/ppy/osu/%{version}/assets/lazer.png Source2: https://raw.githubusercontent.com/ppy/osu-resources/%{osuresver}/LICENCE.md @@ -47,5 +47,5 @@ install -Dm644 -t %{buildroot}/usr/share/applications %{SOURCE4} %changelog -* Mon Feb 13 2023 windowsboy111 +* Mon Feb 13 2023 windowsboy111 - 2023.207.0-1 - Initial package diff --git a/anda/games/osu-mime/anda.hcl b/anda/games/osu-mime/anda.hcl index ccf1994284..e33bc221e6 100644 --- a/anda/games/osu-mime/anda.hcl +++ b/anda/games/osu-mime/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "osu-mime.spec" } diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 3c0bdcb92e..aa6719d6ce 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -43,7 +43,7 @@ Name: prismlauncher-nightly %else Name: prismlauncher-qt5-nightly %endif -Version: 7.0^%{snapshot_info} +Version: 7.1^%{snapshot_info} Release: 1%{?dist} Summary: Minecraft launcher with ability to manage multiple instances License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later @@ -145,39 +145,8 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %check %ctest -%if 0%{?rhel} > 8 -# disabled due to rhel not shipping a new enough version of libappstream-glib -# appstream-util validate-relax --nonet \ -# %{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml - +appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop -%endif - -%post -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : -%endif - - -%postun -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : - -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : -fi -%endif - - -%posttrans -%if 0%{?rhel} > 8 -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -%endif %files diff --git a/anda/games/prismlauncher-nightly/update.rhai b/anda/games/prismlauncher-nightly/update.rhai index 6a735fe79b..851afe7e30 100644 --- a/anda/games/prismlauncher-nightly/update.rhai +++ b/anda/games/prismlauncher-nightly/update.rhai @@ -4,4 +4,5 @@ if filters.contains("nightly") { let sha = req.get().json().sha; rpm.global("commit", sha); rpm.release(); + rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`); } diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 43d2b82406..3fd2723b54 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -43,7 +43,7 @@ Name: prismlauncher-nightly %else Name: prismlauncher-qt5-nightly %endif -Version: 7.0^%{snapshot_info} +Version: 7.1^%{snapshot_info} Release: 1%{?dist} Summary: Minecraft launcher with ability to manage multiple instances License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later @@ -145,39 +145,8 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %check %ctest -%if 0%{?rhel} > 8 -# disabled due to rhel not shipping a new enough version of libappstream-glib -# appstream-util validate-relax --nonet \ -# %{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml - +appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop -%endif - -%post -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : -%endif - - -%postun -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : - -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : -fi -%endif - - -%posttrans -%if 0%{?rhel} > 8 -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -%endif %files diff --git a/anda/games/prismlauncher-qt5-nightly/update.rhai b/anda/games/prismlauncher-qt5-nightly/update.rhai index 6a735fe79b..851afe7e30 100644 --- a/anda/games/prismlauncher-qt5-nightly/update.rhai +++ b/anda/games/prismlauncher-qt5-nightly/update.rhai @@ -4,4 +4,5 @@ if filters.contains("nightly") { let sha = req.get().json().sha; rpm.global("commit", sha); rpm.release(); + rpm.version(`${gh("PrismLauncher/PrismLauncher")}^%{snapshot_info}`); } diff --git a/anda/games/prismlauncher-qt5/prismlauncher-qt5.spec b/anda/games/prismlauncher-qt5/prismlauncher-qt5.spec index 66ac8c79d4..f8c0e7a1e1 100644 --- a/anda/games/prismlauncher-qt5/prismlauncher-qt5.spec +++ b/anda/games/prismlauncher-qt5/prismlauncher-qt5.spec @@ -124,39 +124,8 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %check %ctest -%if 0%{?rhel} > 8 -# disabled due to rhel not shipping a new enough version of libappstream-glib -# appstream-util validate-relax --nonet \ -# %{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml - +appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop -%endif - - -%post -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : -%endif - - -%postun -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : -fi -%endif - - -%posttrans -%if 0%{?rhel} > 8 -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -%endif %files diff --git a/anda/games/prismlauncher/prismlauncher.spec b/anda/games/prismlauncher/prismlauncher.spec index 80d485d4f6..1bcc4af23a 100644 --- a/anda/games/prismlauncher/prismlauncher.spec +++ b/anda/games/prismlauncher/prismlauncher.spec @@ -124,39 +124,8 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %check %ctest -%if 0%{?rhel} > 8 -# disabled due to rhel not shipping a new enough version of libappstream-glib -# appstream-util validate-relax --nonet \ -# %{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml - +appstream-util validate-relax --nonet %buildroot%_metainfodir/org.prismlauncher.PrismLauncher.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop -%endif - - -%post -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : -%endif - - -%postun -%if 0%{?rhel} > 8 -/usr/bin/update-desktop-database &> /dev/null || : -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : -fi -%endif - - -%posttrans -%if 0%{?rhel} > 8 -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : -%endif %files diff --git a/anda/go/curlie/golang-github-rs-curlie.spec b/anda/go/curlie/golang-github-rs-curlie.spec index 809ce9947d..80036a1799 100644 --- a/anda/go/curlie/golang-github-rs-curlie.spec +++ b/anda/go/curlie/golang-github-rs-curlie.spec @@ -47,6 +47,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %files +%doc README.md %license LICENSE %doc README.md %{_bindir}/curlie diff --git a/anda/go/gendesk/golang-github-xyproto-gendesk.spec b/anda/go/gendesk/golang-github-xyproto-gendesk.spec index dbb2281a44..e39b45b0fb 100644 --- a/anda/go/gendesk/golang-github-xyproto-gendesk.spec +++ b/anda/go/gendesk/golang-github-xyproto-gendesk.spec @@ -20,8 +20,8 @@ of information.} %global godocs README.md Name: %{goname} -Release: %autorelease -Summary: :herb: Generate .desktop files and download .png icons by specifying a minimum of information +Release: 2%{?dist} +Summary: Generate .desktop files and download .png icons License: BSD-3-Clause URL: %{gourl} diff --git a/anda/groovy/anda.hcl b/anda/groovy/anda.hcl index 6a66e0bee1..122c070ec5 100644 --- a/anda/groovy/anda.hcl +++ b/anda/groovy/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "groovy.spec" } diff --git a/anda/groovy/groovy-docs/anda.hcl b/anda/groovy/groovy-docs/anda.hcl index af5c87bfed..381b5bf6c0 100644 --- a/anda/groovy/groovy-docs/anda.hcl +++ b/anda/groovy/groovy-docs/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "groovy-docs.spec" } diff --git a/anda/groovy/groovy.spec b/anda/groovy/groovy.spec index b7dc8f38e0..6cc25cc300 100644 --- a/anda/groovy/groovy.spec +++ b/anda/groovy/groovy.spec @@ -1,6 +1,6 @@ Name: groovy Version: 4.0.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A multi-faceted language for the Java platform BuildArch: noarch URL: https://groovy-lang.org/ @@ -30,11 +30,11 @@ cd %{name}-%{version} 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 +rm %{buildroot}/usr/bin/*completion %{buildroot}%_bindir/groovy.ico +install -Dm755 bin/*completion -t %{buildroot}/usr/share/bash-completion/completions # Remove all DOS/Windows batch files -find %{buildroot} -name '*.bat' -exec rm {} \; +find %buildroot%_bindir -name '*.bat' -exec rm {} \; # Package the license file install -Dm644 LICENSE -t %{buildroot}/usr/share/licenses/%{name} @@ -46,7 +46,6 @@ install -Dm644 %{name}.desktop -t %{buildroot}/usr/share/applications %license LICENSE /usr/bin/grape /usr/bin/groovy -/usr/bin/groovy.ico /usr/bin/groovyConsole /usr/bin/groovyc /usr/bin/groovydoc @@ -64,5 +63,5 @@ install -Dm644 %{name}.desktop -t %{buildroot}/usr/share/applications %changelog -* Wed Feb 8 2023 windowsboy111 +* Wed Feb 8 2023 windowsboy111 - 4.0.12-1 - Initial package diff --git a/anda/indicators/ayatana-indicator-notifications/ayatana-indicator-notifications.spec b/anda/indicators/ayatana-indicator-notifications/ayatana-indicator-notifications.spec index ea7550ac37..f4dd768dda 100644 --- a/anda/indicators/ayatana-indicator-notifications/ayatana-indicator-notifications.spec +++ b/anda/indicators/ayatana-indicator-notifications/ayatana-indicator-notifications.spec @@ -21,8 +21,9 @@ BuildRequires: pkgconfig(libxml-2.0) BuildRequires: intltool %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %package devel Summary: Development files for %{name} @@ -35,8 +36,7 @@ This package contains the development header files for %{name}. %autosetup -n %{name}-%{version} %build -%cmake -DENABLE_TESTS=ON \ - -DENABLE_COVERAGE=OFF +%cmake -DENABLE_TESTS=ON -DENABLE_COVERAGE=OFF %cmake_build %install @@ -44,8 +44,9 @@ This package contains the development header files for %{name}. %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING -%{_sysconfdir}/xdg/autostart/ayatana-indicator-notifications.desktop +%config %{_sysconfdir}/xdg/autostart/ayatana-indicator-notifications.desktop %{_userunitdir}/ayatana-indicator-notifications.service %dir %{_libexecdir}/ayatana-indicator-notifications %{_libexecdir}/ayatana-indicator-notifications/ayatana-indicator-notifications-service diff --git a/anda/indicators/ayatana-indicator-session/ayatana-indicator-session.spec b/anda/indicators/ayatana-indicator-session/ayatana-indicator-session.spec index 41d5be6851..bd4e2bcfcd 100644 --- a/anda/indicators/ayatana-indicator-session/ayatana-indicator-session.spec +++ b/anda/indicators/ayatana-indicator-session/ayatana-indicator-session.spec @@ -21,8 +21,9 @@ BuildRequires: pkgconfig(systemd) BuildRequires: intltool %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %package devel Summary: Development files for %{name} @@ -44,8 +45,9 @@ This package contains the development header files for %{name}. %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING -%{_sysconfdir}/xdg/autostart/ayatana-indicator-session.desktop +%config %{_sysconfdir}/xdg/autostart/ayatana-indicator-session.desktop %{_userunitdir}/ayatana-indicator-session.service %dir %{_libexecdir}/ayatana-indicator-session %{_libexecdir}/ayatana-indicator-session/ayatana-indicator-session-service diff --git a/anda/indicators/ayatana-indicator-sound/ayatana-indicator-sound.spec b/anda/indicators/ayatana-indicator-sound/ayatana-indicator-sound.spec index 50963ed11a..1daa2bbcec 100644 --- a/anda/indicators/ayatana-indicator-sound/ayatana-indicator-sound.spec +++ b/anda/indicators/ayatana-indicator-sound/ayatana-indicator-sound.spec @@ -30,8 +30,9 @@ BuildRequires: intltool Suggests: accountsservice %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %package devel Summary: Development files for %{name} @@ -54,8 +55,9 @@ This package contains the development header files for %{name}. %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING -%{_sysconfdir}/xdg/autostart/ayatana-indicator-sound.desktop +%config %{_sysconfdir}/xdg/autostart/ayatana-indicator-sound.desktop %{_userunitdir}/ayatana-indicator-sound.service %dir %{_libexecdir}/ayatana-indicator-sound %{_libexecdir}/ayatana-indicator-sound/ayatana-indicator-sound-service diff --git a/anda/kotlin/kotlin/anda.hcl b/anda/kotlin/kotlin/anda.hcl index 99b81bf9c0..0835c53da0 100644 --- a/anda/kotlin/kotlin/anda.hcl +++ b/anda/kotlin/kotlin/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "kotlin.spec" } diff --git a/anda/kotlin/kotlin/kotlin.spec b/anda/kotlin/kotlin/kotlin.spec index f30a6278e3..30d6e191c1 100644 --- a/anda/kotlin/kotlin/kotlin.spec +++ b/anda/kotlin/kotlin/kotlin.spec @@ -2,18 +2,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Name: kotlin Version: 1.8.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Statically typed programming language -License: ASL 2.0 +License: Apache-2.0 URL: https://kotlinlang.org/ Source0: https://github.com/JetBrains/kotlin/releases/download/v%{version}/kotlin-compiler-%{version}.zip +Source1: https://raw.githubusercontent.com/JetBrains/kotlin/v%version/ReadMe.md BuildRequires: unzip BuildRequires: sed BuildRequires: bash BuildRequires: (java-headless >= 1:1.8.0 or java >= 1.8.0) Requires: (java-headless >= 1:1.8.0 or java >= 1.8.0) +BuildRequires: fdupes %description @@ -43,6 +45,10 @@ mkdir -p %{buildroot}%{_datadir}/%{name}/lib/ install -m 0644 lib/* %{buildroot}%{_datadir}/%{name}/lib/ mkdir -p %{buildroot}%{_datadir}/licenses/%{name}/ cd license/ && find * -type f -exec install -Dm 0644 {} %{buildroot}%{_datadir}/licenses/%{name}/{} \; +mkdir -p %buildroot%_docdir/%name +install -Dm644 %SOURCE1 %buildroot%_docdir/%name/ + +%fdupes %buildroot/%_datadir/licenses/%name/ %verifyscript @@ -67,68 +73,69 @@ kotlinc-jvm test.kt -include-runtime -d test.jar %dir %{_datadir}/licenses/%{name}/ %{_datadir}/licenses/%{name}/* %license kotlinc/license/LICENSE.txt +%doc ReadMe.md %changelog -* Mon Apr 03 2023 Gonçalo Silva +* Mon Apr 03 2023 Gonçalo Silva - 1.8.20-1 - Update to 1.8.20 -* Thu Feb 02 2023 Gonçalo Silva +* Thu Feb 02 2023 Gonçalo Silva - 1.8.10-1 - Update to 1.8.10 -* Wed Dec 28 2022 Gonçalo Silva +* Wed Dec 28 2022 Gonçalo Silva - 1.8.0-1 - Update to 1.8.0 -* Wed Nov 09 2022 Gonçalo Silva +* Wed Nov 09 2022 Gonçalo Silva - 1.7.21-1 - Update to 1.7.21 -* Thu Sep 29 2022 Gonçalo Silva +* Thu Sep 29 2022 Gonçalo Silva - 1.7.20-1 - Update to 1.7.20 -* Fri Jul 08 2022 Gonçalo Silva +* Fri Jul 08 2022 Gonçalo Silva - 1.7.10-1 - Update to 1.7.10 -* Mon Jun 13 2022 Gonçalo Silva +* Mon Jun 13 2022 Gonçalo Silva - 1.7.0-1 - Update to 1.7.0 -* Mon Jun 13 2022 Gonçalo Silva +* Mon Jun 13 2022 Gonçalo Silva - 1.6.21-1 - Update to 1.6.21 -* Thu Jun 09 2022 Gonçalo Silva +* Thu Jun 09 2022 Gonçalo Silva - 1.7.0-1 - Update to 1.7.0 -* Wed Apr 20 2022 Gonçalo Silva +* Wed Apr 20 2022 Gonçalo Silva - 1.6.21-1 - Update to 1.6.21 -* Mon Apr 04 2022 Gonçalo Silva +* Mon Apr 04 2022 Gonçalo Silva - 1.6.20-1 - Update to 1.6.20 -* Tue Dec 14 2021 Gonçalo Silva +* Tue Dec 14 2021 Gonçalo Silva - 1.6.10-1 - Update to 1.6.10 -* Fri Dec 10 2021 Gonçalo Silva +* Fri Dec 10 2021 Gonçalo Silva - 1.6.0-1 - Update to 1.6.0 -* Mon Nov 29 2021 Gonçalo Silva +* Mon Nov 29 2021 Gonçalo Silva - 1.5.32-1 - Update to 1.5.32 -* Tue Nov 16 2021 Gonçalo Silva +* Tue Nov 16 2021 Gonçalo Silva - 1.6.0-1 - Update to 1.6.0 -* Mon Sep 20 2021 Gonçalo Silva +* Mon Sep 20 2021 Gonçalo Silva - 1.5.31-1 - Update to 1.5.31 -* Tue Aug 24 2021 Gonçalo Silva +* Tue Aug 24 2021 Gonçalo Silva - 1.5.30-1 - Update to 1.5.30 -* Tue Jul 13 2021 Gonçalo Silva +* Tue Jul 13 2021 Gonçalo Silva - 1.5.21-1 - Update to 1.5.21 -* Thu Jun 24 2021 Gonçalo Silva +* Thu Jun 24 2021 Gonçalo Silva - 1.5.20-1 - Update to 1.5.20 -* Mon May 24 2021 Gonçalo Silva +* Mon May 24 2021 Gonçalo Silva - 1.5.10-1 - Update to 1.5.10 -* Wed May 05 2021 Gonçalo Silva +* Wed May 05 2021 Gonçalo Silva - 1.5.0-1 - Update to 1.5.0 -* Tue Mar 30 2021 Gonçalo Silva +* Tue Mar 30 2021 Gonçalo Silva - 1.4.32-1 - Update to 1.4.32 -* Fri Feb 26 2021 Gonçalo Silva +* Fri Feb 26 2021 Gonçalo Silva - 1.4.31-1 - Update to 1.4.31 -* Wed Feb 03 2021 Gonçalo Silva +* Wed Feb 03 2021 Gonçalo Silva - 1.4.30-1 - Update to 1.4.30 * Mon Jan 18 2021 Gonçalo Silva - Update to 1.4.30-RC -* Mon Dec 07 2020 Gonçalo Silva +* Mon Dec 07 2020 Gonçalo Silva - 1.4.21-1 - Update to 1.4.21 -* Thu Nov 19 2020 Gonçalo Silva +* Thu Nov 19 2020 Gonçalo Silva - 1.4.20-1 - Update to 1.4.20 -* Thu Sep 10 2020 Gonçalo Silva +* Thu Sep 10 2020 Gonçalo Silva - 1.4.10-1 - Update to 1.4.10 -* Fri Aug 14 2020 Gonçalo Silva +* Fri Aug 14 2020 Gonçalo Silva - 1.4.0-1 - Update to 1.4.0 -* Sat Apr 18 2020 Gonçalo Silva +* Sat Apr 18 2020 Gonçalo Silva - 1.3.72-1 - Update to 1.3.72 -* Mon Apr 13 2020 Gonçalo Silva +* Mon Apr 13 2020 Gonçalo Silva - 1.3.71-1 - Kotlin 1.3.71 diff --git a/anda/lib/apparmor/apparmor.spec b/anda/lib/apparmor/apparmor.spec index 085e4abf76..207d2ee9ff 100644 --- a/anda/lib/apparmor/apparmor.spec +++ b/anda/lib/apparmor/apparmor.spec @@ -218,10 +218,12 @@ make -C utils check %{_mandir}/man3/aa_*.3.gz %files -n python3-apparmor +%doc README.md %{python3_sitelib}/apparmor %{python3_sitelib}/apparmor-*.egg-info %files -n python3-LibAppArmor +%doc README.md %{python3_sitearch}/LibAppArmor %{python3_sitearch}/LibAppArmor-*.egg-info @@ -330,6 +332,7 @@ make -C utils check %{_mandir}/man8/apparmor_status.8.gz %files -n pam_apparmor +%doc README.md %{_libdir}/security/pam_apparmor.so %files -n mod_apparmor diff --git a/anda/lib/argagg/argagg.spec b/anda/lib/argagg/argagg.spec index 26c5fa84e8..57f470e5c9 100644 --- a/anda/lib/argagg/argagg.spec +++ b/anda/lib/argagg/argagg.spec @@ -34,6 +34,7 @@ that use %{name}. %package doc Summary: Developer documentation for %{name} +BuildRequires: rpm_macro(fdupes) %description doc The %{name}-doc package contains the documentation for developing applications @@ -55,7 +56,8 @@ popd %install %cmake_install -ls -la redhat-linux-build/share +#ls -la redhat-linux-build/share +%fdupes %_datadir/doc/%name/html/search %files @@ -66,19 +68,19 @@ ls -la redhat-linux-build/share %doc %{_datadir}/doc/%{name} %changelog -* Fri May 26 2017 Viet The Nguyen +* Fri May 26 2017 Viet The Nguyen - 0.4.6-1 - Updated version to 0.4.6 -* Fri Apr 28 2017 Viet The Nguyen +* Fri Apr 28 2017 Viet The Nguyen - 0.4.5-1 - Updated version to 0.4.5 -* Tue Apr 25 2017 Viet The Nguyen +* Tue Apr 25 2017 Viet The Nguyen - 0.4.4-1 - Updated version to 0.4.4 -* Tue Apr 25 2017 Viet The Nguyen +* Tue Apr 25 2017 Viet The Nguyen - 0.4.3-1 - Updated version to 0.4.3 -* Tue Apr 25 2017 Viet The Nguyen +* Tue Apr 25 2017 Viet The Nguyen - 0.4.2-1 - Updated version to 0.4.2 * Sun Mar 05 2017 Viet The Nguyen @@ -91,13 +93,13 @@ ls -la redhat-linux-build/share * Mon Feb 13 2017 Viet The Nguyen - Fixed License field and doc subpackage description typo -* Sat Feb 11 2017 Viet The Nguyen +* Sat Feb 11 2017 Viet The Nguyen - 0.2.2-1 - Updated version to 0.2.2 -* Fri Feb 10 2017 Viet The Nguyen +* Fri Feb 10 2017 Viet The Nguyen - 0.2.1-2 - Separated documentation into a separate package -* Fri Feb 10 2017 Viet The Nguyen +* Fri Feb 10 2017 Viet The Nguyen - 0.2.1-1 - Packaged version 0.2.1 * Mon Jan 30 2017 Viet The Nguyen diff --git a/anda/lib/ayatana-indicator-datetime/ayatana-indicator-datetime.spec b/anda/lib/ayatana-indicator-datetime/ayatana-indicator-datetime.spec index 5756de2e2d..a7527ea8e0 100644 --- a/anda/lib/ayatana-indicator-datetime/ayatana-indicator-datetime.spec +++ b/anda/lib/ayatana-indicator-datetime/ayatana-indicator-datetime.spec @@ -29,8 +29,9 @@ BuildRequires: pkgconfig(dbustest-1) BuildRequires: pkgconfig(systemd) %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %prep %autosetup -n %{name}-%{version} @@ -46,8 +47,9 @@ two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri d %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING -%{_sysconfdir}/xdg/autostart +%config %{_sysconfdir}/xdg/autostart/ayatana-indicator-datetime.desktop %{_userunitdir}/ayatana-indicator-datetime.service %dir %{_libexecdir}/ayatana-indicator-datetime %{_libexecdir}/ayatana-indicator-datetime/ayatana-indicator-datetime-service diff --git a/anda/lib/ayatana-indicator-messages/ayatana-indicator-messages.spec b/anda/lib/ayatana-indicator-messages/ayatana-indicator-messages.spec index 056e75f618..062136ccd3 100644 --- a/anda/lib/ayatana-indicator-messages/ayatana-indicator-messages.spec +++ b/anda/lib/ayatana-indicator-messages/ayatana-indicator-messages.spec @@ -21,8 +21,9 @@ BuildRequires: vala-devel BuildRequires: intltool %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %package devel Summary: Development files for %{name} @@ -52,8 +53,9 @@ This package contains documentation files for %{name}. %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING -%{_sysconfdir}/xdg/autostart/ayatana-indicator-messages.desktop +%config %{_sysconfdir}/xdg/autostart/ayatana-indicator-messages.desktop %{_userunitdir}/ayatana-indicator-messages.service %{_libdir}/libmessaging-menu.so.* %{_libdir}/girepository-1.0/MessagingMenu-1.0.typelib diff --git a/anda/lib/cmake-extras/anda.hcl b/anda/lib/cmake-extras/anda.hcl index 9e302b59d9..3049b5e7f6 100644 --- a/anda/lib/cmake-extras/anda.hcl +++ b/anda/lib/cmake-extras/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "cmake-extras.spec" } diff --git a/anda/lib/cmake-extras/cmake-extras.spec b/anda/lib/cmake-extras/cmake-extras.spec index 3f0bc756a6..262c8fdb19 100644 --- a/anda/lib/cmake-extras/cmake-extras.spec +++ b/anda/lib/cmake-extras/cmake-extras.spec @@ -21,7 +21,8 @@ Requires: lcov Requires: qt5-qtdeclarative-devel %description -A collection of add-ons for the CMake build tool used to build lomiri and other applications. +A collection of add-ons for the CMake build tool used to build lomiri and other +applications. %prep %autosetup -n cmake-extras-%commit diff --git a/anda/lib/dbus-test-runner/dbus-test-runner.spec b/anda/lib/dbus-test-runner/dbus-test-runner.spec index 22e0dfa3e5..eecb489024 100644 --- a/anda/lib/dbus-test-runner/dbus-test-runner.spec +++ b/anda/lib/dbus-test-runner/dbus-test-runner.spec @@ -1,6 +1,6 @@ Name: dbus-test-runner Version: 19.04.0 -Release: %autorelease +Release: 2%?dist Summary: A small utility to run executables under a new DBus session for testing License: GPL-3.0 URL: https://launchpad.net/dbus-test-runner @@ -19,10 +19,11 @@ BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(dbus-glib-1) %description -A small little utility to run a couple of executables under a new DBus session for testing. +A small little utility to run a couple of executables under a new DBus session +for testing. %package devel -Summary: dbus-test-runner development files +Summary: Development files for dbus-test-runner Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -52,6 +53,7 @@ install -dm755 %{buildroot}%{_mandir}/man1/ install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ %files +%doc README %license COPYING %{_libdir}/libdbustest.so.* %dir %{_libexecdir}/dbus-test-runner @@ -63,6 +65,7 @@ install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ %{_datadir}/dbus-test-runner/dbus-test-bustle-handler %files devel +%doc README %license COPYING %dir %{_includedir}/libdbustest-1 %dir %{_includedir}/libdbustest-1/libdbustest diff --git a/anda/lib/deviceinfo/deviceinfo.spec b/anda/lib/deviceinfo/deviceinfo.spec index 2ef673d325..25191fc02c 100644 --- a/anda/lib/deviceinfo/deviceinfo.spec +++ b/anda/lib/deviceinfo/deviceinfo.spec @@ -41,11 +41,11 @@ install -Dm644 '%{SOURCE1}' %{buildroot}%{_mandir}/man1/device-info.1 %files %license LICENSE %dir %{_sysconfdir}/deviceinfo -%{_sysconfdir}/deviceinfo/default.yaml +%config %{_sysconfdir}/deviceinfo/default.yaml %dir %{_sysconfdir}/deviceinfo/devices -%{_sysconfdir}/deviceinfo/devices/*.yaml +%config %{_sysconfdir}/deviceinfo/devices/*.yaml %dir %{_sysconfdir}/deviceinfo/sensorfw -%{_sysconfdir}/deviceinfo/sensorfw/*.conf +%config %{_sysconfdir}/deviceinfo/sensorfw/*.conf %{_bindir}/device-info %{_mandir}/man1/device-info.1.gz %{_libdir}/libdeviceinfo.so.* diff --git a/anda/lib/frame/frame.spec b/anda/lib/frame/frame.spec index 26dc59ba81..29d6e17c3a 100644 --- a/anda/lib/frame/frame.spec +++ b/anda/lib/frame/frame.spec @@ -1,6 +1,6 @@ Name: frame Version: 2.5.0 -Release: %autorelease +Release: 2%?dist Summary: Touch Frame Library License: GPL-3.0 AND LGPL-3.0 @@ -51,6 +51,7 @@ export PYTHON rm -fv %{buildroot}%{_libdir}/*.la %files +%doc README %license COPYING COPYING.GPL3 %{_libdir}/libframe.so.* diff --git a/anda/lib/geonames/geonames.spec b/anda/lib/geonames/geonames.spec index c2302e57a3..a05087a87e 100644 --- a/anda/lib/geonames/geonames.spec +++ b/anda/lib/geonames/geonames.spec @@ -4,7 +4,7 @@ Name: geonames Version: 0.3.0 -Release: %autorelease +Release: 2%?dist Summary: Parse and query the geonames database License: GPL-3.0 URL: https://gitlab.com/ubports/development/core/geonames @@ -15,6 +15,7 @@ BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRequires: gettext +BuildRequires: fdupes %description A library for parsing and querying a local copy of the geonames.org database. @@ -43,9 +44,11 @@ The %{name}-doc package contains documenation for %{name}. %install %cmake_install +%fdupes %buildroot%_datadir/locale %find_lang %{name} %files -f %{name}.lang +%doc doc/reference/geonames-docs.xml.in %license COPYING COPYING.data %{_libdir}/libgeonames.so.* diff --git a/anda/lib/glewmx/glewmx.spec b/anda/lib/glewmx/glewmx.spec index d3576cb1d0..54d1931e70 100644 --- a/anda/lib/glewmx/glewmx.spec +++ b/anda/lib/glewmx/glewmx.spec @@ -19,7 +19,8 @@ BuildRequires: libXmu-devel BuildRequires: libXi-devel %description -OpenGL Extension Wrangler MX. The MX version is discountinued but is maintained in Ubuntu. +OpenGL Extension Wrangler MX. The MX version is discountinued but is maintained +in Ubuntu. %package devel Summary: Development files for %{name} @@ -48,8 +49,10 @@ sed -i 's:includedir=${prefix}/include:includedir=${prefix}/include/glewmx-%{ver %install # Only MX is installed %make_build DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p" LIBDIR="%{_libdir}" install.mx +chmod +x %buildroot%_libdir/libGLEWmx.so.* %files +%doc README.txt %license LICENSE.txt %{_libdir}/libGLEWmx.so.* diff --git a/anda/lib/grail/grail.spec b/anda/lib/grail/grail.spec index c6ac7845aa..8ee1dd6911 100644 --- a/anda/lib/grail/grail.spec +++ b/anda/lib/grail/grail.spec @@ -19,9 +19,13 @@ BuildRequires: xorg-x11-server-devel BuildRequires: frame-devel %description -Grail consists of an interface and tools for handling gesture recognition and gesture instantiation. +Grail consists of an interface and tools for handling gesture recognition and +gesture instantiation. -When a multitouch gesture is performed on a device, the recognizer emits one or several possible gestures. Once the context of the gesture is known, i.e., in what window the touches land and what gestures the clients of that window listen to, the instantiator delivers the matching set of gestures. +When a multitouch gesture is performed on a device, the recognizer emits one or +several possible gestures. Once the context of the gesture is known, i.e., in +what window the touches land and what gestures the clients of that window +listen to, the instantiator delivers the matching set of gestures. %package devel Summary: Development files for %{name} @@ -52,6 +56,7 @@ export PYTHON rm -fv %{buildroot}%{_libdir}/*.la %files +%doc README %license COPYING COPYING.GPL3 %{_libdir}/libgrail.so.* diff --git a/anda/lib/gtk4-layer-shell/gtk4-layer-shell.spec b/anda/lib/gtk4-layer-shell/gtk4-layer-shell.spec index e201c92478..3ee938f926 100644 --- a/anda/lib/gtk4-layer-shell/gtk4-layer-shell.spec +++ b/anda/lib/gtk4-layer-shell/gtk4-layer-shell.spec @@ -7,6 +7,7 @@ URL: https://github.com/wmww/gtk4-layer-shell Source0: %url/archive/refs/tags/v%version.tar.gz BuildRequires: meson ninja-build python3.11 vala BuildRequires: libwayland-client gtk4-devel gobject-introspection gtk-doc +Recommends: gtk4-layer-shell-devel %description A library for using the Layer Shell Wayland protocol with GTK4. With this @@ -18,19 +19,27 @@ files (Python, Vala, etc). %package doc -Summary: gtk4-layer-shell documentation generated by gtk-doc +Summary: Documentation files for gtk4-layer-shell generated by gtk-doc %description doc %summary. %package vapi -Summary: gtk4-layer-shell vapi data +Summary: Vapi data for gtk4-layer-shell %description vapi %summary. +%package devel +Summary: Development files for gtk4-layer-shell +Requires: gtk4-layer-shell + +%description devel +%summary. + + %prep %autosetup @@ -45,8 +54,10 @@ Summary: gtk4-layer-shell vapi data %files %doc README.md %license LICENSE -/usr/include/gtk4-layer-shell/gtk4-layer-shell.h /usr/lib64/girepository-1.0/Gtk4LayerShell-1.0.typelib + +%files devel +/usr/include/gtk4-layer-shell/gtk4-layer-shell.h /usr/lib64/libgtk4-layer-shell.so* /usr/lib64/pkgconfig/gtk4-layer-shell-0.pc /usr/share/gir-1.0/Gtk4LayerShell-1.0.gir diff --git a/anda/lib/libappimage/libappimage.spec b/anda/lib/libappimage/libappimage.spec index 4019221b75..962f2b86ce 100644 --- a/anda/lib/libappimage/libappimage.spec +++ b/anda/lib/libappimage/libappimage.spec @@ -1,4 +1,4 @@ -%global libver 1.0.4 +%global libver 1.0.4-5 # replace - with ~ %global libver_format %(v=%{libver}; sed -e 's/-/~/' <<< $v) @@ -7,7 +7,7 @@ Name: libappimage Version: %{libver_format} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Implements functionality for dealing with AppImage files License: MIT @@ -26,10 +26,14 @@ BuildRequires: squashfuse-devel BuildRequires: git-core BuildRequires: librsvg2-devel BuildRequires: boost-devel +BuildRequires: wget +BuildRequires: xxd +BuildRequires: desktop-file-utils %description -Implements functionality for dealing with AppImage files. It is written in C++ and is using Boost. +Implements functionality for dealing with AppImage files. +It is written in C++ and is using Boost. %package devel Summary: Development files for %{name} @@ -59,7 +63,9 @@ mv a.h src/libappimage/utils/hashlib.h %install %cmake_install -#find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +find %buildroot -name '*.bat' -exec rm -f {} ';' & +find %buildroot -name '.gitignore' -exec rm -f {} ';' & +wait %{?ldconfig_scriptlets} @@ -69,7 +75,6 @@ mv a.h src/libappimage/utils/hashlib.h %license LICENSE %doc docs %{_libdir}/*.so.* -%{_libdir}/*.a %files devel %doc docs @@ -77,10 +82,9 @@ mv a.h src/libappimage/utils/hashlib.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_libdir}/cmake/%{name}/*.cmake - - +%{_libdir}/*.a %changelog -* Tue Oct 25 2022 Cappy Ishihara +* Tue Oct 25 2022 Cappy Ishihara - 1.0.4~5-1 - Initial package. diff --git a/anda/lib/libappimage/update.rhai b/anda/lib/libappimage/update.rhai.bak similarity index 100% rename from anda/lib/libappimage/update.rhai rename to anda/lib/libappimage/update.rhai.bak diff --git a/anda/lib/libayatana-common/libayatana-common.spec b/anda/lib/libayatana-common/libayatana-common.spec index 48c395d10e..967278a2c6 100644 --- a/anda/lib/libayatana-common/libayatana-common.spec +++ b/anda/lib/libayatana-common/libayatana-common.spec @@ -19,8 +19,9 @@ BuildRequires: vala BuildRequires: intltool %description -The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, -two technologies developed by Canonical Ltd. for the Unity7 desktop and Lomiri desktop. +The Ayatana Indicators project is the continuation of Application Indicators +and System Indicators, two technologies developed by Canonical Ltd. for the +Unity7 desktop and Lomiri desktop. %package devel Summary: Development files for %{name} diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index f62ca6d602..d57e91bf67 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -54,10 +54,11 @@ rm -rf %{buildroot}%{_datadir}/themes/* %files %license COPYING %doc README.md -%{_libdir}/libhelium-1.so* +%{_libdir}/libhelium-1.so.* %{_libdir}/girepository-1.0 %files devel +%{_libdir}/libhelium-1.so %{_includedir}/* %{_datadir}/gir-1.0/* %{_libdir}/pkgconfig/* diff --git a/anda/lib/libindicator/terra-libindicator.spec b/anda/lib/libindicator/terra-libindicator.spec index 313090e5d8..669f39e316 100644 --- a/anda/lib/libindicator/terra-libindicator.spec +++ b/anda/lib/libindicator/terra-libindicator.spec @@ -143,7 +143,7 @@ install -Dm644 %{SOURCE1} %{buildroot}%{_userunitdir}/ %files %license COPYING -%doc AUTHORS COPYING NEWS ChangeLog +%doc AUTHORS COPYING NEWS ChangeLog README %{_libdir}/libindicator.so.* %{_prefix}/lib/indicators/ %dir %{_datadir}/libindicator/ @@ -159,13 +159,16 @@ install -Dm644 %{SOURCE1} %{buildroot}%{_userunitdir}/ %{_libdir}/pkgconfig/indicator-0.4.pc %files gtk3 -%doc AUTHORS COPYING NEWS ChangeLog +%doc AUTHORS COPYING NEWS ChangeLog README +%license COPYING %{_libdir}/libindicator3.so.* %{_prefix}/lib/indicators3/ %dir %{_datadir}/libindicator/ %dir %{_datadir}/libindicator/icons/ %files gtk3-devel +%doc README +%license COPYING %dir %{_includedir}/libindicator3-0.4/ %dir %{_includedir}/libindicator3-0.4/libindicator/ %{_includedir}/libindicator3-0.4/libindicator/*.h diff --git a/anda/lib/libunity-misc/libunity-misc.spec b/anda/lib/libunity-misc/libunity-misc.spec index 7813bca46d..47dc2053f0 100644 --- a/anda/lib/libunity-misc/libunity-misc.spec +++ b/anda/lib/libunity-misc/libunity-misc.spec @@ -18,7 +18,8 @@ BuildRequires: gtk3-devel BuildRequires: glib2-devel %description -A simple library that implements a subset of the XPath spec to allow selecting nodes in an object tree +A simple library that implements a subset of the XPath spec to allow selecting +nodes in an object tree. %package devel Summary: Development files for %{name} diff --git a/anda/lib/libusermetrics/libusermetrics.spec b/anda/lib/libusermetrics/libusermetrics.spec index b31085cfcb..52b25ddfcf 100644 --- a/anda/lib/libusermetrics/libusermetrics.spec +++ b/anda/lib/libusermetrics/libusermetrics.spec @@ -4,7 +4,7 @@ Name: libusermetrics Version: 1.3.0 -Release: %autorelease +Release: 2%?dist Summary: library for retrieving anonymous metrics about users License: GPLv3 AND LGPLv3 AND LGPLv2 URL: https://gitlab.com/ubports/development/core/libusermetrics @@ -23,6 +23,7 @@ BuildRequires: pkgconfig(click-0.4) BuildRequires: pkgconfig(libqtdbustest-1) BuildRequires: pkgconfig(libapparmor) BuildRequires: qdjango-devel +BuildRequires: fdupes %description library for retrieving anonymous metrics about users @@ -52,6 +53,7 @@ The %{name}-doc contains documentation for %{name}. %install %cmake_install +%fdupes %buildroot%_docdir/libusermetrics-doc/html/ %find_lang %{name} %files -f %{name}.lang diff --git a/anda/lib/lomiri-api/lomiri-api.spec b/anda/lib/lomiri-api/lomiri-api.spec index 33e71d2cf4..e321df096e 100644 --- a/anda/lib/lomiri-api/lomiri-api.spec +++ b/anda/lib/lomiri-api/lomiri-api.spec @@ -4,7 +4,7 @@ Name: lomiri-api Version: 0.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: API for Lomiri License: LGPL-3.0-or-later @@ -20,6 +20,7 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: cppcheck BuildRequires: doxygen +BuildRequires: fdupes %description API to interface with the Lomiri desktop environment. @@ -51,8 +52,10 @@ sed -i 's?lib/${CMAKE_LIBRARY_ARCHITECTURE}?%{_lib}?' CMakeLists.txt %install %cmake_install +%fdupes %buildroot%_docdir/liblomiri-api %files +%doc README %license COPYING %{_libdir}/liblomiri-api.so.* diff --git a/anda/lib/lomiri-download-manager/lomiri-download-manager.spec b/anda/lib/lomiri-download-manager/lomiri-download-manager.spec index a6c4b52f89..7bab9cfc75 100644 --- a/anda/lib/lomiri-download-manager/lomiri-download-manager.spec +++ b/anda/lib/lomiri-download-manager/lomiri-download-manager.spec @@ -23,6 +23,7 @@ BuildRequires: qt5-qtdeclarative-devel BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(libglog) BuildRequires: pkgconfig(liblomiri-api) +BuildRequires: fdupes %description Upload Download Manager performs uploads and downloads from a centralized @@ -33,15 +34,16 @@ Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. +The %name-devel package contains libraries and header files +for developing applications that use %{name}. %package doc Summary: Documentation files for %{name} BuildArch: noarch %description doc -%{name}-doc contains documentation for %{name}-devel. +The %name-doc package contains documentation for +%{name}-devel. %prep %autosetup -n lomiri-download-manager-%commit @@ -53,11 +55,12 @@ sed -e "s/-Werror//g" -i CMakeLists.txt %install %cmake_install +%fdupes %buildroot%_docdir/%name/cpp/html/ %find_lang %{name} %files -f %{name}.lang %license COPYING -%{_sysconfdir}/dbus-1/system.d/*.conf +%config %{_sysconfdir}/dbus-1/system.d/*.conf %{_bindir}/lomiri-* %{_userunitdir}/*.service %{_libdir}/liblomiri-download-manager-client.so.* diff --git a/anda/lib/lomiri-indicator-network/lomiri-indicator-network.spec b/anda/lib/lomiri-indicator-network/lomiri-indicator-network.spec index c9eef4fd02..768f6eb8f7 100644 --- a/anda/lib/lomiri-indicator-network/lomiri-indicator-network.spec +++ b/anda/lib/lomiri-indicator-network/lomiri-indicator-network.spec @@ -62,8 +62,9 @@ The %{name}-doc package contains documentation files for %{name}. %find_lang %{name} %files -f %{name}.lang +%doc README.md %license COPYING COPYING.LGPL -%{_sysconfdir}/xdg/autostart/lomiri-indicator-network.desktop +%config %{_sysconfdir}/xdg/autostart/lomiri-indicator-network.desktop %{_userunitdir}/*.service %{_libdir}/liblomiri-connectivity-qt1.so.* %dir %{_qt5_qmldir}/Lomiri/Connectivity diff --git a/anda/lib/lomiri-ui-toolkit/lomiri-ui-toolkit.spec b/anda/lib/lomiri-ui-toolkit/lomiri-ui-toolkit.spec index 3b40550984..fcf60e92fc 100644 --- a/anda/lib/lomiri-ui-toolkit/lomiri-ui-toolkit.spec +++ b/anda/lib/lomiri-ui-toolkit/lomiri-ui-toolkit.spec @@ -4,7 +4,7 @@ Name: lomiri-ui-toolkit Version: 1.3.5010 -Release: %autorelease +Release: 2%?dist Summary: QML components to ease the creation of beautiful applications in QML for Lomiri License: LGPL-3.0 @@ -33,6 +33,7 @@ BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-pim-devel BuildRequires: python3-rpm-macros BuildRequires: qt5-qtsvg-devel +BuildRequires: fdupes Requires: qt5-qtgraphicaleffects Requires: qt5-qtfeedback @@ -57,6 +58,7 @@ This package contains development files needed for lomiri-ui-toolkit. %package -n python3-lomiriuitoolkit Summary: Python3 files for Lomiri-ui-toolkit Requires: %{name}%{?_isa} = %{version}-%{release} +BuildArch: noarch %description -n python3-lomiriuitoolkit Python3 files for Lomiri-ui-toolkit. @@ -87,11 +89,14 @@ Examples for Lomiri-ui-toolkit. %make_install INSTALL_ROOT=%{buildroot} STRIP=/bin/true # Used by apicheck during tests only rm -rf %{buildroot}%{_qt5_qmldir}/Extinct +%fdupes %buildroot%_libdir/qt5/qml/Lomiri/Components/ +%fdupes %buildroot%_libdir/qt5/examples/%name/examples/ %find_lang %{name} %find_lang %{name}-gallery %files -f %{name}.lang +%doc README.md %license COPYING %{_libdir}/libLomiriGestures.so.* %{_libdir}/libLomiriMetrics.so.* @@ -127,6 +132,7 @@ rm -rf %{buildroot}%{_qt5_qmldir}/Extinct %{_qt5_includedir}/LomiriToolkit/ %files -n python3-lomiriuitoolkit +%doc README.md %dir %{python3_sitelib}/lomiriuitoolkit %{python3_sitelib}/lomiriuitoolkit/*.py %{python3_sitelib}/lomiriuitoolkit/_custom_proxy_objects/ diff --git a/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec b/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec index 4bc366103b..904f3506de 100644 --- a/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec +++ b/anda/lib/lomiri-url-dispatcher/lomiri-url-dispatcher.spec @@ -29,12 +29,12 @@ Requires: lomiri-ui-toolkit ExclusiveArch: x86_64 aarch64 %description -Lomiri-url-dispatcher is a small handler to take URLs and do what is appropriate with them. -That could be anything from launching a web browser to just starting an -application. This is done over DBus because application confinement doesn't -allow for doing it from a confined application otherwise. It's important -the that applications can't know about each other, so this is a fire and forget -type operation. +Lomiri-url-dispatcher is a small handler to take URLs and do what is +appropriate with them. That could be anything from launching a web browser to +just starting an application. This is done over DBus because application +confinement doesn't allow for doing it from a confined application otherwise. +It's important the that applications can't know about each other, so this is a +fire and forget type operation. %package devel Summary: Lomiri-url-dispatcher development files diff --git a/anda/lib/marble-gtk/marble-gtk.spec b/anda/lib/marble-gtk/marble-gtk.spec index 242dfca20d..d1d5a7128d 100644 --- a/anda/lib/marble-gtk/marble-gtk.spec +++ b/anda/lib/marble-gtk/marble-gtk.spec @@ -17,6 +17,13 @@ Source0: %{url}/-/archive/v%{version}/marble-v%{version}.tar.gz Just as Elementary has Granite I have Marble, my collection of useful functions and reusable widgets. +%package devel +Summary: Development files for marble-gtk + +%description devel +%summary. + + %prep %autosetup -n marble-v%{version} @@ -30,14 +37,16 @@ and reusable widgets. %files %doc README.md %license COPYING -/usr/include/marble.h -/usr/lib/debug/usr/lib64/libmarble.so* /usr/lib64/girepository-1.0/Marble-*.typelib -/usr/lib64/libmarble.so* -/usr/lib64/pkgconfig/marble.pc -/usr/share/gir-1.0/Marble-*.gir +/usr/lib64/libmarble.so.* /usr/share/vala/vapi/marble.* +%files devel +/usr/include/marble.h +%_libdir/libmarble.so +%_libdir/pkgconfig/marble.pc +%_datadir/gir-1.0/Marble-%version.gir + %changelog -* Sat Oct 29 2022 windowsboy111 +* Sat Oct 29 2022 windowsboy111 - 1.3.0-1 - Initial package diff --git a/anda/lib/nlohmann-json/nlohmann-json.spec b/anda/lib/nlohmann-json/nlohmann-json.spec index 42bdff27c1..60b6589621 100644 --- a/anda/lib/nlohmann-json/nlohmann-json.spec +++ b/anda/lib/nlohmann-json/nlohmann-json.spec @@ -7,12 +7,12 @@ Release: 1%{?dist} Summary: JSON for Modern C++ (c++11) ("single header file") -%define desc %{expand:There are myriads of JSON libraries out there, and each may even have its reason to exist. -Our class had these design goals: +%define desc %{expand: +There are myriads of JSON libraries out there, and each may even have its +reason to exist. Our class had these design goals: - intuitive syntax. - Trivial integration. -- Serious testing -} +- Serious testing} License: MIT Url: https://github.com/nlohmann/json @@ -44,6 +44,8 @@ This package contains the single header C++ file and CMake dependency files. %cmake_install %files devel +%doc README.md +%license LICENSE.MIT %{_includedir}/nlohmann %{_datadir}/cmake/nlohmann_json/ %{_datadir}/pkgconfig/nlohmann_json.pc diff --git a/anda/lib/nux/nux.spec b/anda/lib/nux/nux.spec index 64769ded05..c42fe66afb 100644 --- a/anda/lib/nux/nux.spec +++ b/anda/lib/nux/nux.spec @@ -71,8 +71,9 @@ install -m 0644 debian/50_check_unity_support -t %{buildroot}%{_sysconfdir}/X11/ rm -rf %{buildroot}%{_datadir}/nux/gputests %files +%doc README %license COPYING COPYING.gpl COPYING.lgpl-v2.1 -%{_sysconfdir}/X11/Xsession.d/50_check_unity_support +%config %{_sysconfdir}/X11/Xsession.d/50_check_unity_support %{_libdir}/libnux-4.0.so.* %{_libdir}/libnux-core-4.0.so.* %{_libdir}/libnux-graphics-4.0.so.* diff --git a/anda/lib/process-cpp/process-cpp.spec b/anda/lib/process-cpp/process-cpp.spec index c543cd69f4..b78cf3ead2 100644 --- a/anda/lib/process-cpp/process-cpp.spec +++ b/anda/lib/process-cpp/process-cpp.spec @@ -23,6 +23,7 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(properties-cpp) #BuildRequires: pkgconfig(Backtrace) BuildRequires: doxygen +BuildRequires: fdupes %description A simple convenience library for handling processes in C++11. @@ -52,8 +53,10 @@ sed -i '/find_package(PkgConfig REQUIRED)/a set(THREADS_PREFER_PTHREAD_FLAG ON)' %install %cmake_install +%fdupes %buildroot%_docdir/%name/html/ %files +%doc README.md %license COPYING %{_libdir}/libprocess-cpp.so.* diff --git a/anda/lib/properties-cpp-devel/properties-cpp-devel.spec b/anda/lib/properties-cpp-devel/properties-cpp-devel.spec index defcb41511..f76973729a 100644 --- a/anda/lib/properties-cpp-devel/properties-cpp-devel.spec +++ b/anda/lib/properties-cpp-devel/properties-cpp-devel.spec @@ -20,12 +20,13 @@ BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) BuildRequires: doxygen BuildRequires: cmake-extras +BuildRequires: fdupes %description A very simple convenience library for handling properties and signals in C++11. %package doc -Summary: properties-cpp documentation files +Summary: Documentation files for properties-cpp BuildArch: noarch %description doc @@ -41,8 +42,10 @@ This package contains documentation files for properties-cpp-devel. %install %cmake_install +%fdupes %buildroot%_docdir/%name/html/ %files +%doc README.md %license COPYING %{_libdir}/pkgconfig/properties-cpp.pc %{_includedir}/core/*.h diff --git a/anda/lib/qdjango/qdjango.spec b/anda/lib/qdjango/qdjango.spec index 45931cd0a8..865965f9fa 100644 --- a/anda/lib/qdjango/qdjango.spec +++ b/anda/lib/qdjango/qdjango.spec @@ -13,6 +13,7 @@ BuildRequires: qt5-qtbase-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: doxygen +BuildRequires: fdupes %description QDjango is a web framework written in C++ and built on top of the Qt library. @@ -45,8 +46,10 @@ The %{name}-doc contains documentation for %{name}. %make_install INSTALL_ROOT=%{buildroot} # Aren't needed and already ran plus contain rpaths in every single file underneath rm -rf %{buildroot}%{_prefix}/tests +%fdupes %buildroot/%_docdir/%name/html/search/ %files +%doc README.md %license LICENSE.LGPL %{_libdir}/libqdjango-db.so.* %{_libdir}/libqdjango-http.so.* diff --git a/anda/lib/qmenumodel/qmenumodel.spec b/anda/lib/qmenumodel/qmenumodel.spec index de06e9d6ba..1010b38c46 100644 --- a/anda/lib/qmenumodel/qmenumodel.spec +++ b/anda/lib/qmenumodel/qmenumodel.spec @@ -2,7 +2,7 @@ Name: qmenumodel Version: 0.9.1 Release: %autorelease Summary: Qt5 renderer for Ayatana Indicators -License: LGPLv3 +License: LGPL-3.0 URL: https://github.com/AyatanaIndicators/qmenumodel Source0: https://releases.ayatana-indicators.org/source/qmenumodel/qmenumodel-%{version}.tar.gz Patch0: https://gitlab.com/ubports/development/core/packaging/qmenumodel/-/raw/9062c3a3da87d6fd887c41a67dec6f8d5f34baa8/debian/patches/1001-ayatanamenumodel-add-support-for-u-int-of-all-sizes.patch @@ -41,6 +41,7 @@ developing applications that use %{name}. %cmake_install %files +%doc README %license COPYING.LGPL %{_libdir}/libqmenumodel.so.* %dir %{_qt5_qmldir}/QMenuModel.1 diff --git a/anda/lib/qofono/qofono.spec b/anda/lib/qofono/qofono.spec index 8287c9754b..39da5f145b 100644 --- a/anda/lib/qofono/qofono.spec +++ b/anda/lib/qofono/qofono.spec @@ -58,6 +58,7 @@ export QT_SELECT=5 %postun -p /sbin/ldconfig %files +%doc README %license COPYING %{_libdir}/libqofono-qt5.so.* %{_qt5_qmldir}/QOfono/ diff --git a/anda/lib/qt5-qtdbustest/qt5-qtdbustest.spec b/anda/lib/qt5-qtdbustest/qt5-qtdbustest.spec index f5850eeb47..b468405149 100644 --- a/anda/lib/qt5-qtdbustest/qt5-qtdbustest.spec +++ b/anda/lib/qt5-qtdbustest/qt5-qtdbustest.spec @@ -42,6 +42,7 @@ developing applications that use %{name}. %cmake_install %files +%doc README.md %license COPYING %{_bindir}/qdbus-simple-test-runner %{_libdir}/libqtdbustest.so.* diff --git a/anda/lib/qt5-qtsystems/qt5-qtsystems.spec b/anda/lib/qt5-qtsystems/qt5-qtsystems.spec index 9100d80eab..ae765e5ede 100644 --- a/anda/lib/qt5-qtsystems/qt5-qtsystems.spec +++ b/anda/lib/qt5-qtsystems/qt5-qtsystems.spec @@ -46,11 +46,11 @@ Provides: %{name}-systeminfo = %{version}-%{release} Provides: %{name}-versit = %{version}-%{release} %description -Qt5 Mobility Project delivers a set of new APIs to Qt with features that are well -known from the mobile device world, in particular phones. However, these APIs -allow the developer to use these features with ease from one framework and apply -them to phones, netbooks and non-mobile personal computers. The framework not -only improves many aspects of a mobile experience, because it improves the use +Qt5 Mobility Project delivers a set of new APIs to Qt with features that are +well known from the mobile device world, in particular phones. However, these +APIs allow the developer to use these features with ease from one framework and +apply them to phones, netbooks and non-mobile personal computers. The framework +not only improves many aspects of a mobile experience, as it improves the use of these technologies, but has applicability beyond the mobile device arena. %package devel diff --git a/anda/lib/qtmir/qtmir.spec b/anda/lib/qtmir/qtmir.spec index 4d3ce40914..64332e8627 100644 --- a/anda/lib/qtmir/qtmir.spec +++ b/anda/lib/qtmir/qtmir.spec @@ -87,6 +87,7 @@ sed -i 's!X-Ubuntu-Touch=true!X-Lomiri-Splash-Show=false!' data/xwayland.qtmir.d %cmake_install %files +%doc README %license COPYING COPYING.LESSER %{_libdir}/libqtmirserver.so.* %{_qt5_plugindir}/platforms/libqpa-mirserver.so diff --git a/anda/lib/unity-settings-daemon/unity-settings-daemon.spec b/anda/lib/unity-settings-daemon/unity-settings-daemon.spec index e5ac6aa4ba..a6f57fc9e8 100644 --- a/anda/lib/unity-settings-daemon/unity-settings-daemon.spec +++ b/anda/lib/unity-settings-daemon/unity-settings-daemon.spec @@ -66,7 +66,7 @@ sed -i '/man/d' Makefile.am %build # Some flag fixes an issue -export LDFLAGS='-Wl,-O1 -Wl,-z,defs -Wl,--warn-unresolved-symbols -Wl,--as-needed' +export LDFLAGS="$LDFLAGS -Wl,-O1 -Wl,-z,defs -Wl,--warn-unresolved-symbols -Wl,--as-needed" NOCONFIGURE=1 \ ./autogen.sh @@ -99,7 +99,7 @@ rename 61-gnome-settings-daemon-rfkill.rules 60-gnome-settings-daemon-rfkill.rul %files -f %{name}.lang %license COPYING COPYING.LIB -%{_sysconfdir}/xdg/autostart/*.desktop +%config %{_sysconfdir}/xdg/autostart/*.desktop %{_bindir}/unity-settings-daemon %{_prefix}/lib/udev/rules.d/60-gnome-settings-daemon-rfkill.rules %{_userunitdir}/unity-settings-daemon.service diff --git a/anda/moby-extras/moby-buildx/moby-buildx.spec b/anda/moby-extras/moby-buildx/moby-buildx.spec index 502474efd1..dd905febed 100644 --- a/anda/moby-extras/moby-buildx/moby-buildx.spec +++ b/anda/moby-extras/moby-buildx/moby-buildx.spec @@ -1,8 +1,8 @@ -%define debug_package %{nil} +%define debug_package %nil Name: moby-buildx Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Docker CLI plugin for extended build capabilities with BuildKit License: Apache-2.0 @@ -11,20 +11,24 @@ Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: go-rpm-macros BuildRequires: git-core +BuildRequires: gcc Requires: docker Provides: docker-buildx = %{version}-%{release} - - %description +buildx is a Docker CLI plugin for extended build capabilities with BuildKit. %prep %autosetup -n buildx-%{version} +go mod download %build -go build -v -o docker-buildx ./cmd/buildx +export CGO_ENABLED=1 +go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w -extldflags '--static-pie'" \ + -buildmode=pie -tags 'osusergo,netgo,static_build' -v -x \ + -o docker-buildx ./cmd/buildx %install @@ -38,5 +42,5 @@ install -D -m 0755 docker-buildx %{buildroot}%{_libexecdir}/docker/cli-plugins/d %changelog -* Wed Oct 05 2022 Cappy Ishihara +* Wed Oct 05 2022 Cappy Ishihara - 0.9.1-1 - Initial Release diff --git a/anda/moby-extras/moby-compose/moby-compose.spec b/anda/moby-extras/moby-compose/moby-compose.spec index c4f7af3862..9251a8ac22 100644 --- a/anda/moby-extras/moby-compose/moby-compose.spec +++ b/anda/moby-extras/moby-compose/moby-compose.spec @@ -18,6 +18,7 @@ Provides: docker-compose = %{version}-%{release} Provides: docker-compose-cli = %{version}-%{release} %description +A tool for running multi-container applications using the Compose file format. %prep diff --git a/anda/nim/choosenim/choosenim.spec b/anda/nim/choosenim/choosenim.spec index ae9410cb75..d2654a337c 100644 --- a/anda/nim/choosenim/choosenim.spec +++ b/anda/nim/choosenim/choosenim.spec @@ -1,29 +1,24 @@ Name: choosenim Version: 0.8.4 -Release: 2%{?dist} -Summary: Tool for easily installing and managing multiple versions of the Nim programming language +Release: 3%{?dist} +Summary: Easily install and manage multiple versions of the Nim programming language License: BSD-3-Clause URL: https://github.com/dom96/choosenim -Source0: %{url}/releases/download/v%{version}/choosenim-%{version}_linux_amd64 -Source1: https://raw.githubusercontent.com/dom96/choosenim/v%{version}/LICENSE -Source2: https://raw.githubusercontent.com/dom96/choosenim/v%{version}/readme.md -ExclusiveArch: x86_64 -Conflicts: nim +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildRequires: nim mold %description choosenim installs the Nim programming language from official downloads and sources, enabling you to easily switch between stable and development compilers. %prep +%autosetup -n choosenim-%version %build %install -mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}/ -mkdir -p %{buildroot}/%{_datadir}/doc/%{name}/ -install -Dm 755 %{SOURCE0} "%{buildroot}/%{_bindir}/choosenim" -install -Dm 644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE" -install -Dm 644 %{SOURCE2} "%{buildroot}/%{_datadir}/doc/%{name}/readme.md" +mold -run nimble build -t:-fPIE -l:-pie + %files %doc readme.md @@ -31,5 +26,8 @@ install -Dm 644 %{SOURCE2} "%{buildroot}/%{_datadir}/doc/%{name}/readme.md" %{_bindir}/choosenim %changelog -* Mon Jan 9 2023 windowsboy111 - 0.8.4 +* Sat Jun 17 2023 windowsboy111 - 0.8.4-3 +- Use nim to compile instead of prebuilt binaries. + +* Mon Jan 9 2023 windowsboy111 - 0.8.4-1 - Initial Package. diff --git a/anda/nim/nim-nightly/nim-nightly.spec b/anda/nim/nim-nightly/nim-nightly.spec index 4116b142a0..f9706a568b 100644 --- a/anda/nim/nim-nightly/nim-nightly.spec +++ b/anda/nim/nim-nightly/nim-nightly.spec @@ -48,6 +48,8 @@ and its standard library. %prep %autosetup -n Nim-%commit +# hack +cp /usr/bin/mold /usr/bin/ld %build export CFLAGS="${CFLAGS} -Ofast" @@ -58,15 +60,15 @@ export FCFLAGS="${FCFLAGS} -Ofast" export PATH="$(pwd):$(pwd)/bin:${PATH}" . ci/funs.sh -nimBuildCsourcesIfNeeded +nimBuildCsourcesIfNeeded CFLAGS="${CFLAGS} -Ic_code -w -O3 -fno-strict-aliasing -fPIE" LDFLAGS="-ldl -lm -lrt -pie" -mold -run nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off -d:danger koch.nim -mold -run koch boot -d:release -d:nimStrictMode --lib:lib +nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off -d:danger koch.nim +koch boot -d:release -d:nimStrictMode --lib:lib -mold -run koch docs & -(cd lib; mold -run nim c --app:lib -d:danger -d:createNimRtl nimrtl.nim) & -mold -run koch tools --skipUserCfg --skipParentCfg --hints:off -d:release & -mold -run nim c -d:danger nimsuggest/nimsuggest.nim & +koch docs & +(cd lib; nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) & +koch tools --skipUserCfg --skipParentCfg --hints:off -d:release -t:-fPIE -l:-pie & +nim c -d:danger -t:-fPIE -l:-pie nimsuggest/nimsuggest.nim & wait sed -i '/ - 2.0.1-1 diff --git a/anda/others/tau-helium/anda.hcl b/anda/others/tau-helium/anda.hcl index c733816894..a415f2f5ef 100644 --- a/anda/others/tau-helium/anda.hcl +++ b/anda/others/tau-helium/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "tau-helium.spec" } diff --git a/anda/others/tau-helium/tau-helium.spec b/anda/others/tau-helium/tau-helium.spec index a1bace1976..4f918b98d8 100644 --- a/anda/others/tau-helium/tau-helium.spec +++ b/anda/others/tau-helium/tau-helium.spec @@ -1,7 +1,7 @@ Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium Version: 1.5.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0 URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{version}.tar.gz @@ -9,6 +9,7 @@ BuildArch: noarch BuildRequires: sass BuildRequires: meson BuildRequires: ninja-build +BuildRequires: fdupes %description A set of GTK/GNOME Shell Themes for tauOS @@ -24,6 +25,7 @@ A set of GTK/GNOME Shell Themes for tauOS # Install licenses mkdir -p licenses %meson_install +%fdupes %buildroot%_datadir/themes/ %files %license LICENSE diff --git a/anda/others/tau-hydrogen/anda.hcl b/anda/others/tau-hydrogen/anda.hcl index 91874a9f82..08b5fd16c9 100644 --- a/anda/others/tau-hydrogen/anda.hcl +++ b/anda/others/tau-hydrogen/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "tau-hydrogen.spec" } diff --git a/anda/others/tau-hydrogen/tau-hydrogen.spec b/anda/others/tau-hydrogen/tau-hydrogen.spec index 6c1fd68aba..07c51cbf77 100644 --- a/anda/others/tau-hydrogen/tau-hydrogen.spec +++ b/anda/others/tau-hydrogen/tau-hydrogen.spec @@ -1,7 +1,7 @@ Summary: tauOS Icon Theme Name: tau-hydrogen Version: 1.0.11 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-3.0 URL: https://github.com/tau-OS/tau-hydrogen Source0: https://github.com/tau-OS/tau-hydrogen/archive/refs/tags/%{version}.tar.gz @@ -10,6 +10,7 @@ BuildRequires: meson BuildRequires: ninja-build BuildRequires: librsvg2-tools BuildRequires: xcursorgen +BuildRequires: fdupes %description Hydrogen is the default icon theme in tauOS @@ -25,6 +26,7 @@ Hydrogen is the default icon theme in tauOS # Install licenses mkdir -p licenses %meson_install +%fdupes %buildroot%_datadir %files %license LICENSE diff --git a/anda/others/terra-fractureiser-detector/anda.hcl b/anda/others/terra-fractureiser-detector/anda.hcl index 5b458fb43b..3a4049ca27 100644 --- a/anda/others/terra-fractureiser-detector/anda.hcl +++ b/anda/others/terra-fractureiser-detector/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "terra-fractureiser-detector.spec" } diff --git a/anda/others/terra-fractureiser-detector/terra-fractureiser-detector.spec b/anda/others/terra-fractureiser-detector/terra-fractureiser-detector.spec index c7da3749ea..5152c45742 100644 --- a/anda/others/terra-fractureiser-detector/terra-fractureiser-detector.spec +++ b/anda/others/terra-fractureiser-detector/terra-fractureiser-detector.spec @@ -10,6 +10,7 @@ Source1: fyra-fractureiser-detector.service Source2: fyra-fractureiser-detector.timer Source3: dialog.py License: MIT +BuildArch: noarch %description This is a rapid security response for the detection of the Fractureiser malware. diff --git a/anda/others/ubuntu-sdk/anda.hcl b/anda/others/ubuntu-sdk/anda.hcl index a80623d4af..2db5f8f8ab 100644 --- a/anda/others/ubuntu-sdk/anda.hcl +++ b/anda/others/ubuntu-sdk/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "ubuntu-sdk.spec" } diff --git a/anda/others/ubuntu-sdk/ubuntu-sdk.spec b/anda/others/ubuntu-sdk/ubuntu-sdk.spec index 713e59928b..49c00321ed 100644 --- a/anda/others/ubuntu-sdk/ubuntu-sdk.spec +++ b/anda/others/ubuntu-sdk/ubuntu-sdk.spec @@ -5,7 +5,7 @@ Name: ubuntu-sdk Summary: Assets and icons for Unity Version: 20.04 -Release: %autorelease +Release: 2%?dist License: GPL-3.0-or-later URL: https://gitlab.com/ubports/development/core/ubuntu-touch-meta @@ -13,6 +13,7 @@ Source0: %{url}/-/archive/%commit/ubuntu-touch-meta-%commit.tar.gz BuildArch: noarch BuildRequires: binutils +BuildRequires: fdupes Recommends: python3-lomiri-click %description @@ -33,6 +34,8 @@ install -Dm644 frameworks/* %{buildroot}%{_datadir}/click/frameworks ln -s %{_datadir}/click/frameworks/ubuntu-sdk-%{version}.framework %{buildroot}%{_datadir}/click/frameworks/current ln -s %{_datadir}/ubports/changelogs/%{version} %{buildroot}%{_datadir}/ubports/changelogs/current +%fdupes %buildroot%_datadir/click/frameworks/ + %files %license COPYING %{_datadir}/ubports/changelogs/ diff --git a/anda/others/unity-greeter/unity-greeter.spec b/anda/others/unity-greeter/unity-greeter.spec index f29f35db38..9d27597d98 100644 --- a/anda/others/unity-greeter/unity-greeter.spec +++ b/anda/others/unity-greeter/unity-greeter.spec @@ -29,7 +29,8 @@ Requires: unity-settings-daemon Requires: lightdm%{?_isa} %description -The greeter (login screen) application for Unity. It is implemented as a LightDM greeter. +The greeter (login screen) application for Unity. +It is implemented as a LightDM greeter. %prep %autosetup -p1 diff --git a/anda/others/unity-scope-home/unity-scope-home.spec b/anda/others/unity-scope-home/unity-scope-home.spec index 65b79e1b49..3d9c527ee3 100644 --- a/anda/others/unity-scope-home/unity-scope-home.spec +++ b/anda/others/unity-scope-home/unity-scope-home.spec @@ -22,10 +22,11 @@ BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libsoup-gnome-2.4) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(unity) -BuildRequires: pkgconfig(unity-protocol-private) +BuildRequires: pkgconfig(unity-protocol-private) libunity BuildRequires: pkgconfig(unity-extras) %description +%summary. Theme and icons for Unity. %prep diff --git a/anda/others/unity-session/anda.hcl b/anda/others/unity-session/anda.hcl index bbc9f4f8f8..d32f7a1f8e 100644 --- a/anda/others/unity-session/anda.hcl +++ b/anda/others/unity-session/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "unity-session.spec" } diff --git a/anda/others/unity-session/unity-session.spec b/anda/others/unity-session/unity-session.spec index f0a2e399f9..06fd14e087 100644 --- a/anda/others/unity-session/unity-session.spec +++ b/anda/others/unity-session/unity-session.spec @@ -41,7 +41,7 @@ install -p -m755 %{SOURCE1} %{buildroot}%{_libexecdir}/run-systemd-session %files %license COPYING -%{_sysconfdir}/xdg/autostart/nemo-unity-autostart.desktop +%config %{_sysconfdir}/xdg/autostart/nemo-unity-autostart.desktop %{_userunitdir}/gnome-session.service %{_userunitdir}/unity-session.target %{_libexecdir}/run-systemd-session diff --git a/anda/python/ruff/python3-ruff.spec b/anda/python/ruff/python3-ruff.spec index 2ec37c250b..d4e4d87d64 100644 --- a/anda/python/ruff/python3-ruff.spec +++ b/anda/python/ruff/python3-ruff.spec @@ -11,7 +11,8 @@ BuildRequires: python3-installer python3.11 python3-pip maturin cargo Provides: python3.11dist(ruff) = %{version} %description -Ruff aims to be orders of magnitude faster than alternative tools while integrating more functionality behind a single, common interface. +Ruff aims to be orders of magnitude faster than alternative tools while +integrating more functionality behind a single, common interface. %prep %autosetup -n ruff-%{version} diff --git a/anda/rust/bandwhich/rust-bandwhich.spec b/anda/rust/bandwhich/rust-bandwhich.spec index da9c2c1fa2..7a46df52be 100644 --- a/anda/rust/bandwhich/rust-bandwhich.spec +++ b/anda/rust/bandwhich/rust-bandwhich.spec @@ -4,8 +4,7 @@ Name: rust-bandwhich Version: 0.20.0 Release: %autorelease -Summary: Display current network utilization by process, connection and remote IP/hostname - +Summary: Show network utilization by process/connection/hostname/IP License: MIT URL: https://crates.io/crates/bandwhich Source: %{crates_source} diff --git a/anda/rust/bat-extras/anda.hcl b/anda/rust/bat-extras/anda.hcl index 7c1a71766b..35b35cb215 100644 --- a/anda/rust/bat-extras/anda.hcl +++ b/anda/rust/bat-extras/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "bat-extras.spec" } diff --git a/anda/rust/bat-extras/bat-extras.spec b/anda/rust/bat-extras/bat-extras.spec index 1ec0dff3fb..ae99f30c29 100644 --- a/anda/rust/bat-extras/bat-extras.spec +++ b/anda/rust/bat-extras/bat-extras.spec @@ -11,6 +11,7 @@ Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version BuildRequires: bash Requires: bash +BuildArch: noarch %description %{summary}. @@ -29,6 +30,8 @@ Requires: bash mkdir -p %{buildroot}%{_mandir}/man1/ cp -v man/* %{buildroot}%{_mandir}/man1/ +chmod -x %_mandir/man1/* + %files %license LICENSE.md @@ -38,5 +41,5 @@ cp -v man/* %{buildroot}%{_mandir}/man1/ %{_mandir}/man1/* %changelog -* Mon Oct 03 2022 Cappy Ishihara +* Mon Oct 03 2022 Cappy Ishihara - 2022.07.27-1 - Initial release diff --git a/anda/rust/kondo/rust-kondo.spec b/anda/rust/kondo/rust-kondo.spec index 268c1fd444..9fbedd3da7 100644 --- a/anda/rust/kondo/rust-kondo.spec +++ b/anda/rust/kondo/rust-kondo.spec @@ -6,12 +6,12 @@ Name: rust-kondo Version: 0.6 Release: 1%{?dist} -Summary: Filesystem cleaning tool that recursively searches directories for known project structures and determines how much space you could save by deleting the unnecessary files +Summary: Filesystem cleaning tool for projects License: MIT URL: https://crates.io/crates/kondo Source0: https://github.com/tbillington/kondo/releases/download/v%{version}/kondo-x86_64-unknown-linux-gnu.tar.gz -Source1: https://github.com/tbillington/kondo/blob/v%{version}/LICENSE +Source1: https://raw.githubusercontent.com/tbillington/kondo/v%version/LICENSE ExclusiveArch: x86_64 BuildRequires: anda-srpm-macros rust-packaging >= 21 @@ -29,6 +29,7 @@ Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} +%doc README.md %license LICENSE /usr/bin/kondo @@ -39,7 +40,8 @@ tar xf %{SOURCE0} %install install -Dm755 kondo %{buildroot}/usr/bin/kondo -install -Dm644 %{SOURCE1} %{buildroot}/%{_datadir}/licenses/%{crate}/LICENSE +install -Dm644 %{SOURCE1} %{buildroot}/%_docdir/kondo/README.md +install -Dm644 %{SOURCE1} %{buildroot}/%{_datadir}/licenses/kondo/LICENSE %changelog %autochangelog diff --git a/anda/rust/pop-launcher/pop-launcher.spec b/anda/rust/pop-launcher/pop-launcher.spec index 8bee3c1d6b..33a3b8ee91 100644 --- a/anda/rust/pop-launcher/pop-launcher.spec +++ b/anda/rust/pop-launcher/pop-launcher.spec @@ -24,6 +24,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 BuildRequires: external:crate:just BuildRequires: anda-srpm-macros +BuildRequires: fdupes %global _description %{expand: Library for writing plugins and frontends for pop-launcher.} @@ -36,11 +37,13 @@ Library for writing plugins and frontends for pop-launcher.} %cargo_prep_online %build - just %install just rootdir=%{buildroot} install +chmod +x %buildroot%_prefix/lib/pop-launcher/scripts/{session,system76-power}/*.sh + +%fdupes %buildroot%_prefix/ %if %{with check} %check @@ -49,6 +52,8 @@ just rootdir=%{buildroot} install %files +%doc README.md +%license LICENSE %{_bindir}/pop-launcher %{_prefix}/lib/pop-launcher/ diff --git a/anda/rust/rnote/rnote.spec b/anda/rust/rnote/rnote.spec index 511f3fd25d..ecbf97dd94 100644 --- a/anda/rust/rnote/rnote.spec +++ b/anda/rust/rnote/rnote.spec @@ -5,7 +5,7 @@ Summary: Sketch and take handwritten notes. License: GPL-3.0 URL: https://github.com/flxzt/rnote Source0: %{url}/archive/refs/tags/v%version.tar.gz -Requires: libadwaita poppler-glib glib2 gtk4 +Requires: gtk4 BuildRequires: cargo meson cmake libappstream-glib gcc-c++ pkgconfig(alsa) alsa-lib clang-devel python BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gtk4) >= 4.7 @@ -13,7 +13,10 @@ BuildRequires: pkgconfig(libadwaita-1) >= 1.2 BuildRequires: pkgconfig(poppler-glib) >= 22.07 %description -Rnote is an open-source vector-based drawing app for sketching, handwritten notes and to annotate documents and pictures. Targeted at students, teachers and those who own a drawing tablet, it provides features like PDF and picture import and export, an infinite canvas and an adaptive UI for big and small screens. +Rnote is an open-source vector-based drawing app for sketching, handwritten +notes and to annotate documents and pictures. Targeted at students, teachers +and those who own a drawing tablet, it provides features like PDF and picture +import/export, an infinite canvas and an adaptive UI for big and small screens. %prep %autosetup -n rnote-%{version} @@ -45,8 +48,8 @@ Rnote is an open-source vector-based drawing app for sketching, handwritten note %changelog -* Wed Nov 2 2022 windowsboy111 +* Wed Nov 2 2022 windowsboy111 - 0.5.7-1 - Fix requires -* Sun Oct 23 2022 windowsboy111 +* Sun Oct 23 2022 windowsboy111 - 0.5.7-1 - Initial package diff --git a/anda/rust/youki/youki.spec b/anda/rust/youki/youki.spec index 2ab5af5683..acb3f72068 100644 --- a/anda/rust/youki/youki.spec +++ b/anda/rust/youki/youki.spec @@ -1,6 +1,6 @@ Name: youki Version: 0.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A container runtime written in Rust License: Apache-2.0 @@ -16,6 +16,7 @@ BuildRequires: dbus-devel BuildRequires: libseccomp-devel BuildRequires: elfutils-libelf-devel BuildRequires: binutils +BuildRequires: fdupes %description youki is an implementation of the OCI runtime-spec in Rust, similar to runc. @@ -48,6 +49,8 @@ pushd crates/ %install install -D -m 0755 target/release/youki %{buildroot}%{_bindir}/youki +%fdupes %buildroot/usr/share/doc/youki/docs +rm %buildroot/usr/share/doc/youki/docs/.gitignore %files %license LICENSE @@ -56,5 +59,5 @@ install -D -m 0755 target/release/youki %{buildroot}%{_bindir}/youki %changelog -* Wed Oct 05 2022 Cappy Ishihara +* Wed Oct 05 2022 Cappy Ishihara - 0.0.5-1 - Initial Release diff --git a/anda/srpm-macros/anda-srpm-macros.spec b/anda/srpm-macros/anda-srpm-macros.spec index 9a7ae7cb3e..31084baff9 100644 --- a/anda/srpm-macros/anda-srpm-macros.spec +++ b/anda/srpm-macros/anda-srpm-macros.spec @@ -36,5 +36,5 @@ install -D -p -m 0644 -t %{buildroot}%{_rpmmacrodir} %{SOURCE2} %changelog -* Mon Sep 26 2022 Cappy Ishihara +* Mon Sep 26 2022 Cappy Ishihara - 0.1.1-1 - Initial Build diff --git a/anda/srpm-macros/anda.hcl b/anda/srpm-macros/anda.hcl index bc01774795..fe32cdd552 100644 --- a/anda/srpm-macros/anda.hcl +++ b/anda/srpm-macros/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "anda-srpm-macros.spec" } diff --git a/anda/themes/adwaita++-icons/adwaita++-icons.spec b/anda/themes/adwaita++-icons/adwaita++-icons.spec index 1010332288..8e3ed22575 100644 --- a/anda/themes/adwaita++-icons/adwaita++-icons.spec +++ b/anda/themes/adwaita++-icons/adwaita++-icons.spec @@ -4,7 +4,7 @@ Name: adwaita++-icons Version: 6.1 Release: 1%{?dist} -Summary: GNOME++, a third-party icons theme, based on new GNOME 3.32's Adwaita +Summary: GNOME++, a third-party icons theme, based on new GNOME 3.32's Adwaita License: GPL-3.0 and LGPL-3.0 and CC-BY-SA URL: https://github.com/Bonandry/adwaita-plus @@ -12,7 +12,7 @@ Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: make %description - +%summary. %prep %autosetup -n adwaita-plus-%{version} @@ -21,6 +21,7 @@ BuildRequires: make %install %make_install +chmod -R -x %buildroot%_datadir/icons/* %files @@ -29,5 +30,5 @@ BuildRequires: make %{_datadir}/icons/* %changelog -* Wed Oct 19 2022 Cappy Ishihara +* Wed Oct 19 2022 Cappy Ishihara - 6.1-1 - new package diff --git a/anda/themes/adwaita++-icons/anda.hcl b/anda/themes/adwaita++-icons/anda.hcl index 120c4f230f..d8b7446e0c 100644 --- a/anda/themes/adwaita++-icons/anda.hcl +++ b/anda/themes/adwaita++-icons/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "adwaita++-icons.spec" } diff --git a/anda/themes/bibata-cursor-theme/anda.hcl b/anda/themes/bibata-cursor-theme/anda.hcl index bbc45d1345..ad291ee76d 100644 --- a/anda/themes/bibata-cursor-theme/anda.hcl +++ b/anda/themes/bibata-cursor-theme/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "bibata-cursor-theme.spec" } diff --git a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec index 23f328b2e8..00d50b33be 100644 --- a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec +++ b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec @@ -3,11 +3,12 @@ Version: 2.0.3 Release: %autorelease URL: https://github.com/ful1e5/Bibata_Cursor Source0: %{url}/releases/download/v%{version}/Bibata.tar.gz -Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md -Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE +Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md +Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE License: GPL-3.0 -Summary: Open source, compact, and material designed cursor set. +Summary: Open source, compact, and material designed cursor set BuildArch: noarch +BuildRequires: rpm_macro(fdupes) %description Bibata is an open source, compact, and material designed cursor set that @@ -27,6 +28,7 @@ mv Bibata-* %{buildroot}/%{_datadir}/icons/ mkdir -p %{buildroot}/%{_datadir}/{doc,licenses}/%{name}/ cp %{SOURCE1} %{buildroot}/%{_datadir}/doc/%{name}/README.md cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE +%fdupes %buildroot%_datadir/icons/ %files %doc README.md @@ -34,5 +36,5 @@ cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE %{_datadir}/icons/Bibata-* %changelog -* Wed Jan 4 2023 windowsboy111 +* Wed Jan 4 2023 windowsboy111 - 2.0.3-1 - Initial package diff --git a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec index ec299af3d2..b874ad5d7c 100644 --- a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec +++ b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec @@ -2,15 +2,15 @@ Name: fluent-icon-theme Version: 20230607 -Release: 1%{?dist} -Summary: Fluent icon theme for linux desktops. +Release: 2%{?dist} +Summary: Fluent icon theme for linux desktops License: GPL-3.0 URL: https://github.com/vinceliuice/Fluent-icon-theme/ Source0: %{url}/archive/refs/tags/%{tag}.tar.gz BuildArch: noarch -BuildRequires: gtk-update-icon-cache +BuildRequires: gtk-update-icon-cache fdupes %description Fluent icon theme for linux desktops. @@ -18,10 +18,14 @@ Fluent icon theme for linux desktops. %prep %autosetup -n Fluent-icon-theme-%{tag} +%build + %install mkdir -p %{buildroot}%{_datadir}/themes ./install.sh -r -a -d %{buildroot}%{_datadir}/icons +%fdupes %buildroot%_datadir/icons/ + %files %license COPYING %doc README.md diff --git a/anda/themes/fluent-theme/fluent-theme.spec b/anda/themes/fluent-theme/fluent-theme.spec index 7464fbca9f..c2949d5656 100644 --- a/anda/themes/fluent-theme/fluent-theme.spec +++ b/anda/themes/fluent-theme/fluent-theme.spec @@ -1,21 +1,21 @@ -%global tag 2022-12-15 +%global tag 2023-06-20 Name: fluent-theme -Version: 20221215 -Release: 2%{?dist} -Summary: Fluent is a Fluent design theme for GNOME/GTK based desktop environments. +Version: 20230620 +Release: 1%{?dist} +Summary: Fluent design theme for GNOME/GTK based desktop environments License: GPL-3.0 URL: https://github.com/vinceliuice/Fluent-gtk-theme Source0: https://github.com/vinceliuice/Fluent-gtk-theme/archive/refs/tags/%{tag}.tar.gz BuildArch: noarch -BuildRequires: sassc +BuildRequires: sassc fdupes Requires: gtk-murrine-engine %description -Fluent is a Fluent design theme for GNOME/GTK based desktop environments. +Fluent is a %summary. %prep %autosetup -n Fluent-gtk-theme-%{tag} @@ -28,6 +28,8 @@ mkdir -p %{buildroot}%{_datadir}/themes ./install.sh -i simple -t all -d %{buildroot}%{_datadir}/themes ./install.sh -i simple -t all --tweaks round float -d %{buildroot}%{_datadir}/themes +%fdupes %buildroot%_datadir + %files %license COPYING %doc README.md diff --git a/anda/themes/unity-asset-pool/anda.hcl b/anda/themes/unity-asset-pool/anda.hcl index 6e079a7786..1f087f7129 100644 --- a/anda/themes/unity-asset-pool/anda.hcl +++ b/anda/themes/unity-asset-pool/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "unity-asset-pool.spec" } diff --git a/anda/tools/anda/rust-anda.spec b/anda/tools/anda/rust-anda.spec index dee8661829..46b881b699 100644 --- a/anda/tools/anda/rust-anda.spec +++ b/anda/tools/anda/rust-anda.spec @@ -37,9 +37,10 @@ Summary: %{summary} %files -n %{crate} %{_bindir}/anda %{_mandir}/man1/anda*.1* -%{_sysconfdir}/bash_completion.d/anda.bash +%config %{_sysconfdir}/bash_completion.d/anda.bash %{_datadir}/zsh/site-functions/_anda %{_datadir}/fish/completions/anda.fish + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep_online diff --git a/anda/tools/codium/codium.spec b/anda/tools/codium/codium.spec index c18c408700..797e27e037 100644 --- a/anda/tools/codium/codium.spec +++ b/anda/tools/codium/codium.spec @@ -6,15 +6,19 @@ Name: codium Version: 1.79.2.23166 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Code editing. Redefined. License: MIT URL: https://vscodium.com/ Source0: https://github.com/VSCodium/vscodium/releases/download/%version/VSCodium-linux-%a-%version.tar.gz -Requires: alsa-lib at-spi2-atk cairo cups-libs dbus-libs expat gtk3 xrandr mesa-libgbm nspr nss nss-util xdg-utils +Source1: https://raw.githubusercontent.com/VSCodium/vscodium/%version/README.md +Source2: https://raw.githubusercontent.com/VSCodium/vscodium/%version/LICENSE +Requires: at-spi2-atk cairo expat gtk3 xrandr mesa-libgbm nspr nss nss-util xdg-utils +BuildRequires: rpm_macro(fdupes) %description -VSCodium is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. +VSCodium is a new choice of tool that combines the simplicity of a code editor +with what developers need for the core edit-build-debug cycle. %prep tar xf %SOURCE0 @@ -59,35 +63,46 @@ EOF %build %install -install -dm755 %buildroot/opt/%name -install -dm755 %buildroot/usr/bin -install -dm755 %buildroot/usr/share/{applications,pixmaps} -cp -r * %buildroot/opt/%name -rm -rf %buildroot/opt/%name/*.desktop -ln -s /opt/%name/bin/codium %buildroot/usr/bin/codium -ln -s /opt/%name/bin/codium %buildroot/usr/bin/vscodium -install -D -m644 vscodium-bin.desktop %buildroot/usr/share/applications/codium.desktop -install -D -m644 vscodium-bin-uri-handler.desktop %buildroot/usr/share/applications/codium-uri-handler.desktop -install -D -m644 resources/app/resources/linux/code.png %buildroot/usr/share/pixmaps/vscodium.png +mkdir -p %buildroot%_datadir/doc/%name/ %buildroot%_datadir/licenses/%name +install -Dm644 %SOURCE1 %buildroot%_docdir/%name/ +install -Dm644 %SOURCE2 %buildroot%_datadir/licenses/%name/ +install -dm755 %buildroot%_datadir/%name +install -dm755 %buildroot%_bindir +install -dm755 %buildroot%_datadir/{applications,pixmaps} +cp -r * %buildroot%_datadir/%name +rm -rf %buildroot%_datadir/%name/*.desktop +ln -s %_datadir/%name/bin/codium %buildroot%_bindir/codium +ln -s %_datadir/%name/bin/codium %buildroot%_bindir/vscodium +install -D -m644 vscodium-bin.desktop %buildroot%_datadir/applications/codium.desktop +install -D -m644 vscodium-bin-uri-handler.desktop %buildroot%_datadir/applications/codium-uri-handler.desktop +install -D -m644 resources/app/resources/linux/code.png %buildroot%_datadir/pixmaps/vscodium.png # Symlink shell completions -install -dm755 %buildroot/usr/share/zsh/site-functions -install -dm755 %buildroot/usr/share/bash-completion/completions -ln -s /opt/%name/resources/completions/zsh/_codium %buildroot/usr/share/zsh/site-functions -ln -s /opt/%name/resources/completions/bash/codium %buildroot/usr/share/bash-completion/completions +install -dm755 %buildroot%_datadir/zsh/site-functions +install -dm755 %buildroot%_datadir/bash-completion/completions +ln -s %_datadir/%name/resources/completions/zsh/_codium %buildroot%_datadir/zsh/site-functions +ln -s %_datadir/%name/resources/completions/bash/codium %buildroot%_datadir/bash-completion/completions + +%fdupes %_datadir/%name/resources/app/extensions/ %files -/opt/%name -/usr/bin/codium -/usr/bin/vscodium -/usr/share/applications/codium.desktop -/usr/share/applications/codium-uri-handler.desktop -/usr/share/pixmaps/vscodium.png -/usr/share/zsh/site-functions/_codium -/usr/share/bash-completion/completions/codium +%doc README.md +%license LICENSE +%_datadir/%name +%_bindir/codium +%_bindir/vscodium +%_datadir/applications/codium.desktop +%_datadir/applications/codium-uri-handler.desktop +%_datadir/pixmaps/vscodium.png +%_datadir/zsh/site-functions/_codium +%_datadir/bash-completion/completions/codium %changelog -* Sun Apr 2 2023 windowsboy111 +* Sat Jun 17 2023 windowsboy111 - 1.79.2.23166-2 +- Use /usr/share/ instead of /opt/. +- Remove lib dependencies. + +* Sun Apr 2 2023 windowsboy111 - 1.77.3.23102-1 - Initial package. diff --git a/anda/tools/electron/electron.spec b/anda/tools/electron/electron.spec index bee65bb0d3..5258011610 100644 --- a/anda/tools/electron/electron.spec +++ b/anda/tools/electron/electron.spec @@ -13,11 +13,15 @@ License: MIT URL: https://electronjs.org/ Source0: https://github.com/electron/electron/releases/download/v%{version}/chromedriver-v%{version}-linux-%{garch}.zip Source1: https://github.com/electron/electron/releases/download/v%{version}/electron-v%{version}-linux-%{garch}.zip -Requires: c-ares ffmpeg-free gtk3 libevent libxslt minizip nss re2 +Source2: https://raw.githubusercontent.com/electron/electron/v%version/README.md +Requires: c-ares gtk3 minizip nss re2 +Requires: (ffmpeg-free or ffmpeg) BuildRequires: unzip %description -The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps. +The Electron framework lets you write cross-platform desktop applications using +JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by +the Atom editor and many other apps. %prep unzip %{SOURCE0} @@ -33,13 +37,16 @@ for _folder in 'locales' 'resources'; do cp -r --no-preserve=ownership --preserve=mode "${_folder}/" %{buildroot}/usr/lib/%{name}/${_folder}/ done -chmod u+s %{buildroot}/usr/lib/%{name}/chrome-sandbox +chmod 0755 %buildroot/usr/lib/%name/chrome-sandbox install -dm755 %{buildroot}/usr/bin ln -nfs /usr/lib/%{name}/%{name} %{buildroot}/usr/bin/%{name} +mkdir -p %buildroot%_docdir/%name/ +install -Dm644 %SOURCE2 %buildroot%_docdir/%name/ %files +%doc README.md %license LICENSE %license LICENSES.chromium.html /usr/lib/electron @@ -47,5 +54,5 @@ ln -nfs /usr/lib/%{name}/%{name} %{buildroot}/usr/bin/%{name} %changelog -* Fri Feb 10 2023 windowsboy111 +* Fri Feb 10 2023 windowsboy111 - 20.3.12-1 - Initial package diff --git a/anda/tools/fuc/fuc.spec b/anda/tools/fuc/fuc.spec index 24c04324ac..aada867558 100644 --- a/anda/tools/fuc/fuc.spec +++ b/anda/tools/fuc/fuc.spec @@ -2,7 +2,7 @@ Name: fuc Version: 1.1.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Modern, performance focused unix commands URL: https://github.com/SUPERCILEX/fuc Source0: https://raw.githubusercontent.com/SUPERCILEX/fuc/%{version}/README.md @@ -40,6 +40,10 @@ Summary: Fast `cp` command from the FUC project %install install -Dm644 %{SOURCE0} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" install -Dm644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE" +install -Dm644 %{SOURCE0} "%{buildroot}/%{_datadir}/doc/rmz/README.md" +install -Dm644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/rmz/LICENSE" +install -Dm644 %{SOURCE0} "%{buildroot}/%{_datadir}/doc/cpz/README.md" +install -Dm644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/cpz/LICENSE" install -Dm755 %{SOURCE2} %{buildroot}/usr/bin/rmz install -Dm755 %{SOURCE3} %{buildroot}/usr/bin/cpz @@ -48,11 +52,15 @@ install -Dm755 %{SOURCE3} %{buildroot}/usr/bin/cpz %license LICENSE %files -n rmz +%doc README.md +%license LICENSE /usr/bin/rmz %files -n cpz +%doc README.md +%license LICENSE /usr/bin/cpz %changelog -* Wed Jan 18 2023 windowsboy111 +* Wed Jan 18 2023 windowsboy111 - 1.1.3-1 - Initial package diff --git a/anda/tools/gcm-core/gcm-core.spec b/anda/tools/gcm-core/gcm-core.spec index e0b6897cdc..5ce9b6bb93 100644 --- a/anda/tools/gcm-core/gcm-core.spec +++ b/anda/tools/gcm-core/gcm-core.spec @@ -25,7 +25,8 @@ Requires: dotnet-runtime-6.0 %description -Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services. +Secure, cross-platform Git credential storage with authentication to GitHub, +Azure Repos, and other popular Git hosting services. %prep %forgesetup @@ -39,13 +40,11 @@ install -Dm755 out/linux/Packaging.Linux/Release/payload/%{long_name} %{buildroo %files +%doc README.md %license LICENSE /usr/bin/git-credential-manager %changelog -* Tue Dec 06 2022 root - Packaging variables read or set by %%forgemeta -- new version - -* Sat Oct 22 2022 Cappy Ishihara -- +* Sat Oct 22 2022 Cappy Ishihara - 2.0.785-1 +- Initial package. diff --git a/anda/tools/graalvm/graalvm.spec b/anda/tools/graalvm/graalvm.spec index e828bda929..521cb1afab 100644 --- a/anda/tools/graalvm/graalvm.spec +++ b/anda/tools/graalvm/graalvm.spec @@ -1,17 +1,21 @@ -%global gsummary Universal virtual machine for running applications written in a variety of languages +%global gsummary Universal virtual machine for running programs in different languages %ifarch x86_64 %global garch amd64 %elifarch aarch64 %global garch aarch64 %endif -%global desc GraalVM is a high-performance JDK distribution designed to accelerate the execution of applications written in Java and other JVM languages along with support for JavaScript, Ruby, Python, and a number of other popular languages. +%global desc %{expand: +GraalVM is a high-performance JDK distribution designed to accelerate the +execution of applications written in Java and other JVM languages along with +support for JavaScript, Ruby, Python, and a number of other popular languages.} Name: graalvm -Version: .20.0.1 -Release: 1%{?dist} +Version: 22.3.2 +Release: 2%{?dist} URL: https://www.graalvm.org/ Summary: %{gsummary} License: GPL-2.0 +BuildRequires: fdupes %description %{desc} @@ -23,6 +27,11 @@ Summary: %{gsummary} (JDK %1) %description jdk%1 %{desc} JDK Version: %1 + +%package jdk%1-devel +Summary: Development files for graalvm-jdk%1 +%description jdk%1-devel +%summary. } %_p 11 @@ -42,32 +51,53 @@ mv graalvm-ce-java11-%version/GRAALVM-README.md . %install %define _i(v) %{expand: - cd graalvm-ce-java%1-%{version} - mkdir -p %{buildroot}/usr/lib/jvm/java-%1-graalvm/ %{buildroot}/usr/share/licenses/%{name}-jdk%1 - cp -a -t %{buildroot}/usr/lib/jvm/java-%1-graalvm/ * - install -DTm644 LICENSE.txt %{buildroot}/usr/share/licenses/%{name}-jdk%1/LICENSE - cd .. + cd graalvm-ce-java%1-%{version} + mkdir -p %{buildroot}/usr/lib/jvm/java-%1-graalvm/ %{buildroot}/usr/share/licenses/%{name}-jdk%1 + cp -a -t %{buildroot}/usr/lib/jvm/java-%1-graalvm/ * + install -DTm644 LICENSE.txt %{buildroot}/usr/share/licenses/%{name}-jdk%1/LICENSE + %fdupes %buildroot/usr/lib/jvm/java-%1-graalvm/ + cd .. } %_i 11 %_i 17 %dnl %_i 19 +chmod +x %buildroot/usr/lib/jvm/java-*-graalvm/lib/*.so %files jdk11 %doc GRAALVM-README.md %license LICENSE /usr/lib/jvm/java-11-graalvm/ +%ghost /usr/lib/jvm/java-11-graalvm/include/ +%ghost /usr/lib/jvm/java-11-graalvm/languages/nfi/include/ +%ghost /usr/lib/jvm/java-11-graalvm/lib/polyglot/polyglot_types.h %files jdk17 %doc GRAALVM-README.md %license LICENSE /usr/lib/jvm/java-17-graalvm/ +%ghost /usr/lib/jvm/java-17-graalvm/include/ +%ghost /usr/lib/jvm/java-17-graalvm/languages/nfi/include/ +%ghost /usr/lib/jvm/java-17-graalvm/lib/polyglot/polyglot_types.h %dnl %files jdk19 %dnl %doc GRAALVM-README.md %dnl %license LICENSE %dnl /usr/lib/jvm/java-19-graalvm/ +%files jdk11-devel +/usr/lib/jvm/java-11-graalvm/include/ +/usr/lib/jvm/java-11-graalvm/languages/nfi/include/ +/usr/lib/jvm/java-11-graalvm/lib/polyglot/polyglot_types.h + +%files jdk17-devel +/usr/lib/jvm/java-17-graalvm/include/ +/usr/lib/jvm/java-17-graalvm/languages/nfi/include/ +/usr/lib/jvm/java-17-graalvm/lib/polyglot/polyglot_types.h + %changelog +* Sat Jun 17 2023 windowsboy111 - 22.3.2-2 +- Add devel packages. + * Thu May 11 2023 windowsboy111 - 22.3.2-1 - Remove jdk19 diff --git a/anda/tools/graalvm/update.rhai b/anda/tools/graalvm/update.rhai index c1dc936b36..3ff312dcd8 100644 --- a/anda/tools/graalvm/update.rhai +++ b/anda/tools/graalvm/update.rhai @@ -1,3 +1,7 @@ let ver = gh("graalvm/graalvm-ce-builds"); -ver.crop(3); -rpm.version(ver); +if ver.starts_with("vm-") { + ver.crop(3); + rpm.version(ver); +} else { + print(`graalvm: ${ver}?`); +} diff --git a/anda/tools/gradle/anda.hcl b/anda/tools/gradle/anda.hcl index b5437558af..448b0406b3 100644 --- a/anda/tools/gradle/anda.hcl +++ b/anda/tools/gradle/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "gradle.spec" } diff --git a/anda/tools/keyd/keyd.spec b/anda/tools/keyd/keyd.spec index 8a3aa373ec..2f249dae93 100644 --- a/anda/tools/keyd/keyd.spec +++ b/anda/tools/keyd/keyd.spec @@ -1,13 +1,12 @@ Name: keyd Version: 2.4.3 -Release: 1%?dist +Release: 2%?dist Summary: Key remapping daemon for linux URL: https://github.com/rvaiya/keyd License: MIT Source0: %url/archive/refs/tags/v%version.tar.gz Suggests: python3 python3-xlib -Requires: kernel-headers -BuildRequires: gcc mold make +BuildRequires: gcc mold make kernel-headers %description keyd provides a flexible system wide daemon which remaps keys using kernel diff --git a/anda/tools/melody/anda.hcl b/anda/tools/melody/anda.hcl index 16a4a7ab2a..f1ec0e9383 100644 --- a/anda/tools/melody/anda.hcl +++ b/anda/tools/melody/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "melody.spec" } diff --git a/anda/tools/melody/melody.spec b/anda/tools/melody/melody.spec index eab3273cef..5126a9bd07 100644 --- a/anda/tools/melody/melody.spec +++ b/anda/tools/melody/melody.spec @@ -43,6 +43,8 @@ Summary: %{summary} %files +%license LICENSE +%doc README.md %{_bindir}/melody diff --git a/anda/tools/muon/muon.spec b/anda/tools/muon/muon.spec index 673b655047..1ca15ed84e 100644 --- a/anda/tools/muon/muon.spec +++ b/anda/tools/muon/muon.spec @@ -1,17 +1,13 @@ Name: muon Version: 0.2.0 Release: 1%{?dist} -Summary: A meson-compatible build system. +Summary: A meson-compatible build system # muon is licensed under the GPL version 3 (see LICENSE). Tests under tests/project were copied from the meson project tests and are licensed under Apache 2.0. License: GPL-3.0 AND Apache-2.0 URL: https://muon.build/ Source: https://git.sr.ht/~lattis/muon/archive/%{version}.tar.gz -Requires: libcurl -Requires: libarchive -Requires: libpkgconf - BuildRequires: meson BuildRequires: gcc BuildRequires: cmake @@ -21,7 +17,7 @@ BuildRequires: libpkgconf-devel BuildRequires: scdoc %description -muon is an implementation of the meson build system in c99 with minimal dependencies. +An implementation of the meson build system in c99 with minimal dependencies. %prep %autosetup @@ -37,3 +33,6 @@ muon is an implementation of the meson build system in c99 with minimal dependen /usr/bin/muon %{_mandir}/man1/muon* %{_mandir}/man5/meson* + +%changelog +%autochangelog diff --git a/anda/tools/subatomic/subatomic.spec b/anda/tools/subatomic/subatomic.spec index 14766a4d0a..dccaaf1b54 100644 --- a/anda/tools/subatomic/subatomic.spec +++ b/anda/tools/subatomic/subatomic.spec @@ -1,9 +1,8 @@ %define debug_package %{nil} -%define _build_id_links none Name: subatomic Version: 0.2.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern package delivery system License: MIT @@ -13,12 +12,14 @@ Source0: %url/archive/refs/tags/v%version.tar.gz BuildRequires: go-rpm-macros BuildRequires: git-core BuildRequires: ostree-devel +BuildRequires: gcc Requires: ostree Requires: createrepo_c %description Subatomic is a package delivery system which supports multiple package formats. -It manages a repository of packages, handling updating, signing, and other tasks. +It manages a repository of packages, handling updating, signing, and other +tasks. %package cli Summary: Client for Subatomic repo manager @@ -31,13 +32,13 @@ Client for Subatomic repo manager %prep %autosetup +go mod download %build - mkdir -p build/bin -go build -v -o build/bin/subatomic-cli ./subatomic-cli -go build -v -o build/bin/subatomic ./server +go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w" -buildmode=pie -o build/bin/subatomic-cli ./subatomic-cli +go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w" -buildmode=pie -o build/bin/subatomic ./server %install @@ -50,7 +51,6 @@ install -pm 755 build/bin/subatomic %{buildroot}%{_bindir}/ %{_bindir}/subatomic - %changelog -* Fri Sep 30 2022 Cappy Ishihara +* Fri Sep 30 2022 Cappy Ishihara - 0.1.0.200283ccd3cf7c90b6a9be565ce6ff52bdec977e-1 - Intial release diff --git a/anda/tools/warpd/warpd.spec b/anda/tools/warpd/warpd.spec index 44700eb3f4..8d2c34deb3 100644 --- a/anda/tools/warpd/warpd.spec +++ b/anda/tools/warpd/warpd.spec @@ -12,7 +12,6 @@ URL: %forgeurl Source0: %forgesource BuildRequires: make gcc libXi-devel libXinerama-devel libXft-devel libXfixes-devel libXtst-devel libX11-devel cairo-devel libxkbcommon-devel wayland-devel -Requires: libXi libXinerama libXft libXfixes libXtst libX11 Recommends: libwayland-client cairo libxkbcommon %description diff --git a/anda/vala/vala-lint-nightly/vala-lint-nightly.spec b/anda/vala/vala-lint-nightly/vala-lint-nightly.spec index 1bbe9c17f1..21d24e5bdf 100644 --- a/anda/vala/vala-lint-nightly/vala-lint-nightly.spec +++ b/anda/vala/vala-lint-nightly/vala-lint-nightly.spec @@ -23,8 +23,8 @@ BuildRequires: vala = 0.56.4 BuildRequires: vala-devel = 0.56.4 %description -Small command line tool and library for checking Vala code files for code-style errors. -Based on the elementary Code-Style guidelines. +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 @@ -50,13 +50,16 @@ ln -sf %{_bindir}/io.elementary.vala-lint %{buildroot}%{_bindir}/vala-lint %doc README.md %{_bindir}/io.elementary.vala-lint %{_bindir}/vala-lint -%{_libdir}/libvala-linter-1.0.so* +%{_libdir}/libvala-linter-1.0.so.* %files devel +%doc README.md +%license COPYING %{_includedir}/vala-linter-1.0/vala-linter.h %{_libdir}/pkgconfig/vala-linter-1.pc +%{_libdir}/libvala-linter-1.0.so %{_datadir}/vala/vapi/vala-linter-1.vapi %changelog -* Tue Feb 7 2023 lleyton +* Tue Feb 7 2023 lleyton - 0.1.0.20230208.923adb5-1 - Initial package