[packages/fonts-TTF-OpenSymbol] use direct link from git
glen
glen at pld-linux.org
Sun Oct 7 19:19:36 CEST 2012
commit df9143023345ef5fca4af5a66a1138e9c21cc07c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 7 20:19:18 2012 +0300
use direct link from git
fonts-TTF-OpenSymbol.spec | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/fonts-TTF-OpenSymbol.spec b/fonts-TTF-OpenSymbol.spec
index 2f80542..6371393 100644
--- a/fonts-TTF-OpenSymbol.spec
+++ b/fonts-TTF-OpenSymbol.spec
@@ -2,14 +2,13 @@ Summary: LibreOffice dingbats font
Summary(pl.UTF-8): Fonty OpenSymbol
Name: fonts-TTF-OpenSymbol
Version: 3.6.1.2
-Release: 1
+Release: 2
Epoch: 1
License: GPL/LGPL
Group: Fonts
-URL: http://www.openoffice.org/
-# TODO: find direct link to their VCS for smaller src.rpm
-Source0: http://download.documentfoundation.org/libreoffice/src/3.6.1/libreoffice-core-%{version}.tar.xz
-# Source0-md5: 3ddcf145b74daa4361e48dafe97e7d21
+URL: http://cgit.freedesktop.org/libreoffice/core/tree/extras/source/truetype/symbol
+Source0: http://cgit.freedesktop.org/libreoffice/core/plain/extras/source/truetype/symbol/opens___.ttf
+# Source0-md5: ee33af866b0074ef4fcded5a578d0e7f
Requires(post,postun): fontpostinst
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -26,14 +25,12 @@ Fonty TrueType OpenSymbol.
%prep
%setup -qcT
-DN=$(basename %{SOURCE0} .tar.xz)
-%{__tar} -Jxf %{SOURCE0} $DN/extras/source/truetype/symbol
-mv $DN/* .
+cp -p %{SOURCE0} .
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_fontsdir}/TTF
-cp -p extras/source/truetype/symbol/opens___.ttf $RPM_BUILD_ROOT%{_fontsdir}/TTF
+cp -p opens___.ttf $RPM_BUILD_ROOT%{_fontsdir}/TTF
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-OpenSymbol.git/commitdiff/df9143023345ef5fca4af5a66a1138e9c21cc07c
More information about the pld-cvs-commit
mailing list