diff --git a/calibre-ebook-edit.appdata.xml b/calibre-ebook-edit.appdata.xml new file mode 100644 index 0000000..3a2de57 --- /dev/null +++ b/calibre-ebook-edit.appdata.xml @@ -0,0 +1,20 @@ + + + + calibre-ebook-edit.desktop + CC0 + +

+ Calibre ebook editor can be used to edit e-books in mobi + and e-pub formats. +

+
+ + + + http://calibre-ebook.com/ + zbyszek@in.waw.pl +
diff --git a/calibre-ebook-viewer.appdata.xml b/calibre-ebook-viewer.appdata.xml new file mode 100644 index 0000000..8581499 --- /dev/null +++ b/calibre-ebook-viewer.appdata.xml @@ -0,0 +1,23 @@ + + + + calibre-ebook-viewer.desktop + CC0 + +

+ Calibre ebook viewer can be used to read e-books in many + formats, including e-pub, MOBI, PDF, HTML, djvu, plain text, + and popular office formats. +

+ +

+ This is the viewer launched by calibre. +

+
+ + http://in.waw.pl/~zbyszek/calibre/calibre-viewer-epub.png + http://in.waw.pl/~zbyszek/calibre/calibre-viewer-math.png + + http://calibre-ebook.com/ + zbyszek@in.waw.pl +
diff --git a/calibre-gui.appdata.xml b/calibre-gui.appdata.xml new file mode 100644 index 0000000..4491736 --- /dev/null +++ b/calibre-gui.appdata.xml @@ -0,0 +1,26 @@ + + + + calibre-gui.desktop + CC0 + +

+ Calibre is used to manage a collections of e-books in many popular + formats. Books may be viewed, or converted between e-pub, MOBI, + and similar formats. Searching by author, title, other metadata, + and user defined characteristics is possible. +

+ +

+ This is one of the most versatile and feature-full e-book viewers. +

+
+ + http://in.waw.pl/~zbyszek/calibre/calibre-main-window.png + http://in.waw.pl/~zbyszek/calibre/calibre-book-search.png + http://in.waw.pl/~zbyszek/calibre/calibre-rlfviewer.png + http://in.waw.pl/~zbyszek/calibre/calibre-viewer-epub.png + + http://calibre-ebook.com/ + zbyszek@in.waw.pl +
diff --git a/calibre-lrfviewer.appdata.xml b/calibre-lrfviewer.appdata.xml new file mode 100644 index 0000000..4459543 --- /dev/null +++ b/calibre-lrfviewer.appdata.xml @@ -0,0 +1,21 @@ + + + + calibre-lrfviewer.desktop + CC0 + +

+ Calibre LRF viewer can be used to read e-books in SONY + e-book format (LRF). +

+ +

+ This viewer is launched by calibre for LRF e-books. +

+
+ + http://in.waw.pl/~zbyszek/calibre/calibre-rlfviewer.png + + http://calibre-ebook.com/ + zbyszek@in.waw.pl +
diff --git a/calibre.spec b/calibre.spec index d03d851..7a392b0 100644 --- a/calibre.spec +++ b/calibre.spec @@ -6,8 +6,8 @@ Name: calibre Version: 1.20.0 -Release: 1%{?dist} -Summary: E-book converter and library management +Release: 2%{?dist} +Summary: E-book converter and library manager Group: Applications/Multimedia License: GPLv3 URL: http://calibre-ebook.com/ @@ -22,6 +22,10 @@ URL: http://calibre-ebook.com/ Source0: %{name}-%{version}-nofonts.tar.xz Source1: generate-tarball.sh Source2: calibre-mount-helper +Source3: calibre-gui.appdata.xml +Source4: calibre-ebook-viewer.appdata.xml +Source5: calibre-lrfviewer.appdata.xml +Source6: calibre-ebook-edit.appdata.xml Patch1: %{name}-no-update.patch Patch2: calibre-0.9.38-pillow.patch @@ -131,6 +135,9 @@ mkdir -p %{buildroot}%{_datadir}/mime/packages mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/desktop-directories +# create directory for gnome software data +mkdir -p %{buildroot}%{_datadir}/appdata + # create directory for calibre environment module # the install script assumes it's there. mkdir -p %{buildroot}%{python_sitelib} @@ -234,6 +241,8 @@ rm -f %{buildroot}%{_bindir}/%{name}-uninstall cp -p %{SOURCE2} %{buildroot}%{_bindir}/calibre-mount-helper +cp -p %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{buildroot}%{_datadir}/appdata/ + # fix the location of bash completion file find %{buildroot}%{_datadir}/bash-completion/ mv %{buildroot}%{_datadir}/bash-completion/%{name} %{buildroot}%{_datadir}/bash-completion/completions/ @@ -292,8 +301,12 @@ ln -s %{_jsdir}/mathjax %{_datadir}/%{name}/viewer/ %{python_sitelib}/init_calibre.py* %{_datadir}/bash-completion/completions/%{name} %{_datadir}/zsh/site-functions/_%{name} +%{_datadir}/appdata/calibre*.appdata.xml %changelog +* Fri Jan 24 2014 Zbigniew Jędrzejewski-Szmek 1.20.0-2 +- Add appdata + * Sat Jan 18 2014 Kevin Fenzi 1.20.0-1 - Update to 1.20.0