#
# TODO: - xdg stuff (put desktops and icons in proper place)
-# - calibre can be installed only when some locales files are already installed, try to fix it
#
# NOTE:
# Upstream packages some unfree fonts which we cannot redistribute,
Summary: E-book converter and library management
Summary(pl.UTF-8): Konwerter oraz biblioteka dla e-booków
Name: calibre
-Version: 0.7.7
+Version: 0.7.12
Release: 0.1
License: GPL v3+
Group: Applications/Multimedia
Source0: %{name}-%{version}-nofonts.tar.bz2
-# Source0-md5: 317a249bb5ef41ff0a981c809d7e7e0e
+# Source0-md5: 6b58ed740c3680d1441ff6948299ecff
Source1: generate-tarball.sh
Patch0: %{name}-prefix.patch
Patch1: %{name}-manpages.patch
BuildRequires: chmlib-devel
BuildRequires: pkgconfig
BuildRequires: podofo-devel
-BuildRequires: poppler-Qt-devel
BuildRequires: python-BeautifulSoup
BuildRequires: python-PIL
BuildRequires: python-PyQt4-devel
dołączyli również aplikację, którą użytkownik może wykorzystać jako
swój własny serwer darmowych książek.
+%package -n bash-completion-calibre
+Summary: bash-completion for calibre
+Summary(pl.UTF-8): bashowe uzupełnianie nazw dla calibre
+Group: Applications/Shells
+Requires: %{name} = %{version}-%{release}
+
+%description -n bash-completion-calibre
+bash-completion for calibre.
+
+%description -n bash-completion-calibre -l pl.UTF-8
+Pakiet ten dostarcza bashowe uzupełnianie nazw dla calibre.
+
%prep
%setup -q -n %{name}
%patch0 -p1
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/%{name}.ar.qm
+%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/%{name}.cs.qm
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/%{name}.da.qm
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/%{name}.de.qm
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/%{name}.es.qm
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/%{name}.fr.qm
+%lang(he) %{_datadir}/locale/he/LC_MESSAGES/%{name}.he.qm
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/%{name}.pl.qm
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/%{name}.pt.qm
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/%{name}.ru.qm
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/%{name}.zh_TW.qm
%{_libdir}/%{name}
%{_mandir}/man1/*.1*
+
+%files -n bash-completion-calibre
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/*