[packages/calibre] Up to 1.4.0
wiget
wiget at pld-linux.org
Sat Sep 21 13:45:47 CEST 2013
commit 2eeb7ef1f1f4722769c8a1d54f30095235787103
Author: Artur Frysiak <artur at frysiak.net>
Date: Sat Sep 21 13:45:30 2013 +0200
Up to 1.4.0
calibre-env_module.patch | 23 +++++------------------
calibre.spec | 22 +++++++++++++++++++---
2 files changed, 24 insertions(+), 21 deletions(-)
---
diff --git a/calibre.spec b/calibre.spec
index 147e9dd..94b3851 100644
--- a/calibre.spec
+++ b/calibre.spec
@@ -12,12 +12,12 @@
Summary: E-book converter and library management
Summary(pl.UTF-8): Konwerter oraz biblioteka dla e-booków
Name: calibre
-Version: 1.3.0
+Version: 1.4.0
Release: 1
License: GPL v3+
Group: Applications/Multimedia
Source0: %{name}-%{version}-nofonts.tar.xz
-# Source0-md5: efd98761b20d50464a8e461fb6fe62b9
+# Source0-md5: e92582cc59205102f554b9a5a044e796
Source1: generate-tarball.sh
Source2: %{name}-mount-helper
Patch0: %{name}-prefix.patch
@@ -80,7 +80,6 @@ Suggests: ImageMagick-coder-png
### FIXME: libunrar.so is needed for rar-packed files
Suggests: libunrar-devel
Suggests: poppler-progs
-Obsoletes: bash-completion-calibre < 1.1.0-1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -110,6 +109,19 @@ najnowszych wiadomości z serwisów poświęconym e-książkom. Twórcy
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}
+Requires: bash-completion
+
+%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
@@ -237,3 +249,7 @@ fi
%{_datadir}/mime/packages/calibre-mimetypes.xml
%{_pixmapsdir}/%{name}-gui.png
%{_pixmapsdir}/calibre-viewer.png
+
+%files -n bash-completion-calibre
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/*
diff --git a/calibre-env_module.patch b/calibre-env_module.patch
index e9c0cba..5ddc561 100644
--- a/calibre-env_module.patch
+++ b/calibre-env_module.patch
@@ -1,23 +1,10 @@
---- calibre/setup/install.py~ 2010-05-21 11:18:18.236682966 +0200
-+++ calibre/setup/install.py 2010-05-21 11:18:48.705841545 +0200
-@@ -132,20 +132,8 @@
- self.setup_mount_helper()
+--- calibre/setup/install.py.orig 2013-09-21 13:01:38.006926552 +0200
++++ calibre/setup/install.py 2013-09-21 13:30:29.042536094 +0200
+@@ -130,7 +130,6 @@ class Develop(Command):
+ self.write_templates()
self.install_files()
self.run_postinstall()
- self.install_env_module()
self.success()
-- def install_env_module(self):
-- import distutils.sysconfig as s
-- libdir = s.get_python_lib(prefix=self.opts.staging_root)
-- if os.path.exists(libdir):
-- path = os.path.join(libdir, 'init_calibre.py')
-- self.info('Installing calibre environment module: '+path)
-- with open(path, 'wb') as f:
-- f.write(HEADER.format(**self.template_args()))
-- else:
-- self.warn('Cannot install calibre environment module to: '+libdir)
--
- def setup_mount_helper(self):
- def warn():
- self.warn('Failed to compile mount helper. Auto mounting of',
+ def install_env_module(self):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/calibre.git/commitdiff/2eeb7ef1f1f4722769c8a1d54f30095235787103
More information about the pld-cvs-commit
mailing list