SPECS: egroupware.spec - use system Vera fonts

glen glen at pld-linux.org
Sun Sep 11 15:33:02 CEST 2005


Author: glen                         Date: Sun Sep 11 13:33:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use system Vera fonts

---- Files affected:
SPECS:
   egroupware.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/egroupware.spec
diff -u SPECS/egroupware.spec:1.12 SPECS/egroupware.spec:1.13
--- SPECS/egroupware.spec:1.12	Sun Sep 11 15:14:12 2005
+++ SPECS/egroupware.spec	Sun Sep 11 15:32:57 2005
@@ -1,12 +1,13 @@
 # $Revision$, $Date$
 # TODO
-# - subpackages
+# - subpackages for applications
+# - separate htdocs and includedirs
 # - everything
 Summary:	eGroupWare - a web-based groupware suite written in PHP
 Summary(pl):	eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
 Name:		egroupware
 Version:	1.0.0.009
-Release:	0.16
+Release:	0.17
 Epoch:		0
 License:	GPL
 Group:		Applications/WWW
@@ -14,13 +15,16 @@
 # Source0-md5:	2ed2f3041ab4ff235f56ed23dfa7274b
 Source1:	%{name}.conf
 Patch0:		%{name}-setup.patch
+Patch1:		%{name}-ttfdir.patch
 URL:		http://www.egroupware.org/
+BuildRequires:	sed >= 4.0
 Requires:	%{name}(DB_Driver)
 Requires:	php >= 3:4.1.2
 Requires:	php-gd
 Requires:	php-mbstring
 Requires:	php-pcre
 Requires:	php-cli
+Requires:	fonts-TTF-bitstream-vera
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -101,10 +105,14 @@
 
 %prep
 %setup -q -n %{name}
-%patch0 -p1
 
 # remove CVS control files
 find -name CVS -print0 | xargs -0 rm -rf
+# undos the sources
+find -regex '.*\.\(php\|inc\|html\|txt\|js\)$' -print0 | xargs -0 sed -i -e 's,
$,,'
+
+%patch0 -p1
+%patch1 -p1
 
 # GPL
 rm -f doc/LICENSE
@@ -112,6 +120,9 @@
 # no need.
 rm -rf doc/rpm-build
 
+# using PLD package
+rm -rf projects/ttf-bitstream-vera-1.10
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}}
@@ -224,6 +235,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2005/09/11 13:32:57  glen
+- use system Vera fonts
+
 Revision 1.12  2005/09/11 13:14:12  glen
 - created setup subpackage
 - added header.inc.php to package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/egroupware.spec?r1=1.12&r2=1.13&f=u




More information about the pld-cvs-commit mailing list