packages: fonts-TTF-OpenSymbol/fonts-TTF-OpenSymbol.spec (NEW) - build outs...
glen
glen at pld-linux.org
Sun Nov 1 15:03:49 CET 2009
Author: glen Date: Sun Nov 1 14:03:49 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- build outside ooo suite as noarch; rel 10
---- Files affected:
packages/fonts-TTF-OpenSymbol:
fonts-TTF-OpenSymbol.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/fonts-TTF-OpenSymbol/fonts-TTF-OpenSymbol.spec
diff -u /dev/null packages/fonts-TTF-OpenSymbol/fonts-TTF-OpenSymbol.spec:1.1
--- /dev/null Sun Nov 1 15:03:49 2009
+++ packages/fonts-TTF-OpenSymbol/fonts-TTF-OpenSymbol.spec Sun Nov 1 15:03:43 2009
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define upd 300
+%define mws OOO%{upd}
+%define tag %(echo %{mws} | tr A-Z a-z)-%{milestone}
+%define milestone m15
+%define _tag %(echo %{tag} | tr - _)
+%define rel 10
+Summary: OpenSymbol fonts
+Summary(pl.UTF-8): Fonty OpenSymbol
+Name: fonts-TTF-OpenSymbol
+Version: 3.0.1.3
+# use rel "1" when version increased
+Release: %{_tag}.%{rel}
+Epoch: 1
+License: GPL/LGPL
+Group: Fonts
+URL: http://www.openoffice.org/
+Source0: http://download.go-oo.org/%{mws}/%{tag}-l10n.tar.bz2
+# Source0-md5: 02b20bd978e342de45ef84d3232e3f94
+Requires(post,postun): fontpostinst
+Obsoletes: openoffice.org-fonts-OpenSymbol
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSymbol TrueType fonts.
+
+%description -l pl.UTF-8
+Fonty TrueType OpenSymbol.
+
+%prep
+%setup -qc
+mv ooo*-*-l10n/* .
+
+%install
+# Copy fixed OpenSymbol to correct location
+install -d $RPM_BUILD_ROOT%{_fontsdir}/TTF
+cp -a extras/source/truetype/symbol/opens___.ttf $RPM_BUILD_ROOT%{_fontsdir}/TTF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+fontpostinst TTF
+
+%postun
+fontpostinst TTF
+
+%files
+%defattr(644,root,root,755)
+%{_fontsdir}/TTF/*.ttf
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/11/01 14:03:43 glen
+- build outside ooo suite as noarch; rel 10
================================================================
More information about the pld-cvs-commit
mailing list