summaryrefslogtreecommitdiff
path: root/packaging/debian
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/debian')
-rw-r--r--packaging/debian/changelog.Debian3
-rw-r--r--packaging/debian/conffiles1
-rw-r--r--packaging/debian/control17
-rw-r--r--packaging/debian/copyright9
-rw-r--r--packaging/debian/freshmemory.113
-rw-r--r--packaging/debian/freshmemory.desktop15
-rw-r--r--packaging/debian/freshmemory.xml8
-rwxr-xr-xpackaging/debian/postinst6
-rwxr-xr-xpackaging/debian/prerm7
9 files changed, 79 insertions, 0 deletions
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 <mishakop@gmail.com>
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 <mishakop@gmail.com>
+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 <mishakop@gmail.com>
+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 @@
+<?xml version='1.0' encoding='utf-8'?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+ <mime-type type="application/x-fm-dictionary">
+ <comment>Freshmemory dictionary</comment>
+ <glob pattern="*.fmd"/>
+ </mime-type>
+</mime-info>
+
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
+