packages: calibre/calibre.spec - note how to upgrade without non-free fonts...

lisu lisu at pld-linux.org
Thu May 20 19:09:05 CEST 2010


Author: lisu                         Date: Thu May 20 17:09:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- note how to upgrade without non-free fonts packaging (somebody has better idea?)

---- Files affected:
packages/calibre:
   calibre.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u packages/calibre/calibre.spec:1.5 packages/calibre/calibre.spec:1.6
--- packages/calibre/calibre.spec:1.5	Thu May 20 18:47:28 2010
+++ packages/calibre/calibre.spec	Thu May 20 19:09:00 2010
@@ -1,15 +1,30 @@
 # $Revision$, $Date$
-# TODO
-# - Upstream packages some unfree fonts which we cannot redistribute - use
-#   tarball from fc or rip their script.
+#
+# NOTE:
+# Upstream packages some unfree fonts which we cannot redistribute,
+# so when upgrading calibre we should download upstream tarball by hand from
+# http://downloads.sourceforge.net/calibre and run below script in order
+# to remove them:
+#
+# #!/bin/sh
+#
+# VERSION=$1
+#
+# rm -rf calibre
+# tar -xvzf calibre-$VERSION.tar.gz
+# rm -f calibre/resources/fonts/liberation/*
+# rm -f calibre/resources/fonts/prs500/*
+#
+# tar -cvjf calibre-$VERSION-nofonts.tar.bz2 calibre
+#
 Summary:	E-book converter and library management
 Name:		calibre
 Version:	0.6.53
 Release:	0.1
 License:	GPL v3+
 Group:		Applications/Multimedia
-Source0:	http://status.calibre-ebook.com/dist/src/%{name}-%{version}.tar.gz
-# Source0-md5:	42255d2eb55d1a047d74d3dbb0d0f355
+Source0:	%{name}-%{version}-nofonts.tar.bz2
+# Source0-md5:	74f8a83e86820b248eb094bde4f1ab69
 Patch0:		%{name}-prefix.patch
 URL:		http://www.calibre-ebook.com/
 BuildRequires:	ImageMagick-devel
@@ -75,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/05/20 17:09:00  lisu
+- note how to upgrade without non-free fonts packaging (somebody has better idea?)
+
 Revision 1.5  2010/05/20 16:47:28  lisu
 - BRs: python-PIL, python-dateutil
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/calibre/calibre.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list