From d24f813f3f2a05c112e803e4256b53535895fc98 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 14 Jul 2021 11:49:10 +1200 Subject: Initial mirror commit --- packaging/debian/changelog.Debian | 3 +++ packaging/debian/conffiles | 1 + packaging/debian/control | 17 +++++++++++++++++ packaging/debian/copyright | 9 +++++++++ packaging/debian/freshmemory.1 | 13 +++++++++++++ packaging/debian/freshmemory.desktop | 15 +++++++++++++++ packaging/debian/freshmemory.xml | 8 ++++++++ packaging/debian/postinst | 6 ++++++ packaging/debian/prerm | 7 +++++++ 9 files changed, 79 insertions(+) create mode 100644 packaging/debian/changelog.Debian create mode 100644 packaging/debian/conffiles create mode 100644 packaging/debian/control create mode 100644 packaging/debian/copyright create mode 100644 packaging/debian/freshmemory.1 create mode 100644 packaging/debian/freshmemory.desktop create mode 100644 packaging/debian/freshmemory.xml create mode 100755 packaging/debian/postinst create mode 100755 packaging/debian/prerm (limited to 'packaging/debian') diff --git a/packaging/debian/changelog.Debian b/packaging/debian/changelog.Debian new file mode 100644 index 0000000..09371c0 --- /dev/null +++ b/packaging/debian/changelog.Debian @@ -0,0 +1,3 @@ +freshmemory unstable; urgency=high + * See change log at fresh-memory.com or /ChangeLog file + -- Mykhaylo Kopytonenko diff --git a/packaging/debian/conffiles b/packaging/debian/conffiles new file mode 100644 index 0000000..45dfb78 --- /dev/null +++ b/packaging/debian/conffiles @@ -0,0 +1 @@ +/etc/xdg/freshmemory/freshmemory.ini diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 0000000..f8d5564 --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,17 @@ +Package: freshmemory +Priority: optional +Version: 1.5.0-1 +Section: education +Installed-Size: 2636 +Maintainer: Mykhaylo Kopytonenko +Homepage: http://fresh-memory.com +Architecture: amd64 +Depends: libc6, libstdc++6, libqt5core5a (>= 5.2), libqt5widgets5 (>= 5.2), libqt5gui5 (>= 5.2), libqt5xml5 (>= 5.2), libqt5network5 (>= 5.2), libqt5svg5 (>= 5.2), qttranslations5-l10n (>=5.2) +Description: Flashcards application with Spaced Repetition method + Fresh Memory is an education application for studying languages + with Spaced Repetition method and flashcards. Its primary purpose + is to study and repeat vocabulary of foreign languages. But other + disciplines can be studied as well: history, geography, medicine, + mathematics. The study material is stored as collections of + flashcards. + diff --git a/packaging/debian/copyright b/packaging/debian/copyright new file mode 100644 index 0000000..587e08b --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,9 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Freshmemory +Source: http://fresh-memory.com + +Files: * +Copyright: 2015 Mykhaylo Kopytonenko +License: GPL-3 + /usr/share/common-licenses/GPL-3 + diff --git a/packaging/debian/freshmemory.1 b/packaging/debian/freshmemory.1 new file mode 100644 index 0000000..00a9f12 --- /dev/null +++ b/packaging/debian/freshmemory.1 @@ -0,0 +1,13 @@ +.TH man 1 "05 Oct 2015" "1.x.0" "freshmemory man page" +.SH NAME +freshmemory \- Flashcards application using Spaced +Repetition method +.SH SYNOPSIS +freshmemory [dictionary-file] +.SH DESCRIPTION +Fresh Memory +.SH OPTIONS +No options +.SH AUTHOR +Mykhaylo Kopytonenko (mishakop@gmail.com) + diff --git a/packaging/debian/freshmemory.desktop b/packaging/debian/freshmemory.desktop new file mode 100644 index 0000000..0159e95 --- /dev/null +++ b/packaging/debian/freshmemory.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Name=Fresh Memory +Version=1.5.0 +Encoding=UTF-8 +Type=Application +Comment=Flashcards application with Spaced Repetition +Exec=freshmemory %U +Icon=freshmemory +Categories=Education +X-Maemo-Category=Main +X-Window-Icon=freshmemory +X-Window-Icon-Dimmed=freshmemory +MimeType=application/x-fm-dictionary +Name[en_US]=Fresh Memory + diff --git a/packaging/debian/freshmemory.xml b/packaging/debian/freshmemory.xml new file mode 100644 index 0000000..b6505de --- /dev/null +++ b/packaging/debian/freshmemory.xml @@ -0,0 +1,8 @@ + + + + Freshmemory dictionary + + + + diff --git a/packaging/debian/postinst b/packaging/debian/postinst new file mode 100755 index 0000000..78e82c3 --- /dev/null +++ b/packaging/debian/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +xdg-mime install --novendor /usr/share/freshmemory/freshmemory.xml +update-mime-database /usr/share/mime +xdg-desktop-menu install --novendor /usr/share/applications/freshmemory.desktop +xdg-icon-resource install --context mimetypes --size 128 /usr/share/pixmaps/freshmemory.png application-x-fm-dictionary diff --git a/packaging/debian/prerm b/packaging/debian/prerm new file mode 100755 index 0000000..22fa72a --- /dev/null +++ b/packaging/debian/prerm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +xdg-mime uninstall --novendor /usr/share/freshmemory/freshmemory.xml +update-mime-database /usr/share/mime +xdg-desktop-menu uninstall --novendor /usr/share/applications/freshmemory.desktop +xdg-icon-resource uninstall --context mimetypes --size 128 /usr/share/pixmaps/freshmemory.png application-x-fm-dictionary + -- cgit