Files
packages/anda/apps/anki-bin/anki-bin.spec
T
madomado 9bbe91be03 fix(lint): * (#577)
* fix(lint): prismlauncher* fluent-icon-theme

* fix(lint): fix lints for 6 packages (#578)

* fix(lint): fix rpmlint lints for youki package

* fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon

* fix(lint): fix rpmlint lints for wingpanel package

* fix(lint): fix rpmlint lints for wingpanel-indicator-sound package

* fix(lint): fix rpmlint lints for wingpanel-indicator-session package

* fix(lint): fix rpmlint lints for wingpanel-indicator-power package

* fix(lint): *

* fix random typos

* feat: revert anda/desktops

* fix: armcord-bin authy blahaj

* fix: ...

anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim

* fix: ...

qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home
kondo pop-launcher fuc graalvm vala-lint-nightly

* fix: armcord-bin authy blahaj groovy

* fix: ...

libappimage moby0buildx nim-nightly nim system76-scheduler subatomic

* fix blahaj

* fix: kondo

* fix: libappimage moby-buildx system76-scheduler nim-nightly

* fix: subatomic

* fix: subatomic

* fix: nim

* Update anki.spec

Signed-off-by: madomado <wboy111@outlook.com>

* fix: libappimage nim-nightly

* fix: moby-buildx subatomic

* fix: moby-buildx subatomic

---------

Signed-off-by: madomado <wboy111@outlook.com>
Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
2023-06-19 10:34:00 -03:00

57 lines
2.6 KiB
RPMSpec

Name: anki-bin
Version: 2.1.65
Release: 1%{?dist}
Summary: Flashcard program for using space repetition learning (Installed with wheel)
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
URL: https://apps.ankiweb.net/
BuildRequires: python3-installer python3.11 rpm_macro(fdupes)
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
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
Source2: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/runanki.py
Source3: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.desktop
Source4: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.png
Source5: https://raw.githubusercontent.com/ankitects/anki/%{version}/LICENSE
Source6: https://raw.githubusercontent.com/ankitects/anki/%{version}/README.md
%description
Anki is a program designed to help you remember facts (such as words and
phrases in a foreign language) as easily, quickly and efficiently as possible.
Anki is based on a theory called spaced repetition.
%prep
%build
%install
python3.11 -m installer --destdir="%{buildroot}" %{SOURCE0}
python3.11 -m installer --destdir="%{buildroot}" %{SOURCE1}
install -Dm755 %{SOURCE2} "%{buildroot}/usr/bin/anki"
install -Dm644 %{SOURCE3} "%{buildroot}/usr/share/applications/anki.desktop"
install -Dm644 %{SOURCE4} "%{buildroot}/usr/share/pixmaps/anki.png"
install -Dm644 %{SOURCE5} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE"
install -Dm644 %{SOURCE6} "%{buildroot}/%{_datadir}/doc/%{name}/README.md"
%fdupes %_libdir/python*/site-packages/_aqt/data/
%files
%license LICENSE
%doc README.md
/usr/bin/anki
/usr/lib64/python*/site-packages/_aqt/
/usr/lib64/python*/site-packages/anki-%{version}.dist-info/
/usr/lib64/python*/site-packages/anki/
/usr/lib64/python*/site-packages/aqt-%{version}.dist-info/
/usr/lib64/python*/site-packages/aqt/
/usr/share/applications/anki.desktop
/usr/share/pixmaps/anki.png
%changelog
* Wed Jan 11 2023 windowsboy111 <windowsboy111@fyralabs.com> - 2.1.60
- Initial package