Author: sparky                       Date: Mon Jan 18 12:55:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use external vera fonts

---- Files affected:
packages/libstk:
   libstk.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: packages/libstk/libstk.spec
diff -u packages/libstk/libstk.spec:1.47 packages/libstk/libstk.spec:1.48
--- packages/libstk/libstk.spec:1.47    Thu Dec 31 17:25:27 2009
+++ packages/libstk/libstk.spec Mon Jan 18 13:55:48 2010
@@ -6,11 +6,11 @@
 %bcond_without static_libs     # build without static libraries
 %bcond_without xine            # build without xine support
 #
+%define                snap    20061117
 Summary:       LibSTK - graphical widget set written in C++
 Summary(pl.UTF-8):     LibSTK - zbiór graficznych widgetów napisany w C++
 Name:          libstk
 Version:       0.2.0
-%define                snap    20061117
 Release:       0.%{snap}.24
 License:       Libstk Library License (relaxed LGPL)
 Group:         Libraries
@@ -31,6 +31,7 @@
 BuildRequires: libtool >= 2:1.5
 BuildRequires: pkgconfig
 %{?with_xine:BuildRequires:    xine-lib-devel}
+Requires:      fonts-TTF-bitstream-vera
 %{?with_xine:Provides: %{name}(xine) = %{version}-%{release}}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,8 +53,8 @@
 Summary:       Header files for LibSTK library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki LibSTK
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
 BuildRequires: DirectFB-devel
+Requires:      %{name} = %{version}-%{release}
 Requires:      SDL-devel >= 1.2.0
 Requires:      boost-devel >= 1.35.0
 Requires:      freetype-devel >= 2.0
@@ -107,7 +108,12 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv -f doc/license.txt .
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
+for FONT in Vera*.ttf; do
+       %{__rm} "$FONT"
+       ln -s %{_datadir}/fonts/TTF/"$FONT" "$FONT"
+done
+rm copyright
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -117,7 +123,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO license.txt
+%doc AUTHORS ChangeLog README TODO doc/license.txt
 %attr(755,root,root) %{_libdir}/libstk.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libstk.so.0
 %{_datadir}/%{name}
@@ -142,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2010/01/18 12:55:48  sparky
+- use external vera fonts
+
 Revision 1.47  2009/12/31 16:25:27  megabajt
 - release 24
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libstk/libstk.spec?r1=1.47&r2=1.48&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to