packages: gource/gource.spec - use system font package (old change)

glen glen at pld-linux.org
Sat Feb 19 20:35:02 CET 2011


Author: glen                         Date: Sat Feb 19 19:35:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use system font package (old change)

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

---- Diffs:

================================================================
Index: packages/gource/gource.spec
diff -u packages/gource/gource.spec:1.5 packages/gource/gource.spec:1.6
--- packages/gource/gource.spec:1.5	Tue Feb 23 00:38:01 2010
+++ packages/gource/gource.spec	Sat Feb 19 20:34:57 2011
@@ -1,8 +1,6 @@
 # $Revision$, $Date$
-# TODO
-# - use fonts-TTF-freefont
 Summary:	Software version control visualization
-Summary(pl.UTF-8):      Narzędzie wizualizujące kontrolę wersji
+Summary(pl.UTF-8):	Narzędzie wizualizujące kontrolę wersji
 Name:		gource
 Version:	0.24
 Release:	1
@@ -22,6 +20,7 @@
 BuildRequires:	pcre-devel
 BuildRequires:	pkgconfig
 BuildRequires:	xorg-lib-libX11-devel
+Requires:	fonts-TTF-freefont
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,8 +29,8 @@
 branches with files as leaves. Developers can be seen working on the
 tree at the times they contributed to the project.
 
-Currently there is first party support for Git and Mercurial, and third
-party (using additional steps) for CVS and SVN.
+Currently there is first party support for Git and Mercurial, and
+third party (using additional steps) for CVS and SVN.
 
 %description -l pl.UTF-8
 Gource wyświetla projekty software'owe jako animowane drzewo z
@@ -40,8 +39,8 @@
 nad drzewem w czasie gdy rzeczywiście pracowali.
 
 Na chwilę obecną Gource natywnie wspiera repozytoria Git i Mercurial.
-Przy pomocy zewnętrznych narzędzi można również oglądać repozytoria CVS
-i SVN.
+Przy pomocy zewnętrznych narzędzi można również oglądać repozytoria
+CVS i SVN.
 
 %prep
 %setup -q
@@ -53,8 +52,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
+	gourcefontdir=%{_datadir}/fonts/TTF \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# remove by file, to note when upstream bundles different font
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/README
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/FreeSans.ttf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -62,7 +66,10 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README THANKS
 %attr(755,root,root) %{_bindir}/gource
-%{_datadir}/gource
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*.png
+%{_datadir}/%{name}/*.tga
+%{_datadir}/%{name}/*.style
 %{_mandir}/man1/gource.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -71,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2011/02/19 19:34:57  glen
+- use system font package (old change)
+
 Revision 1.5  2010/02/22 23:38:01  pawelz
 - reverted part of cosmetics
 
================================================================

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



More information about the pld-cvs-commit mailing list