rpms/fonts-arabic/devel fonts-arabic.spec,1.18,1.19

Rahul Bhalerao (rbhalera) fedora-extras-commits at redhat.com
Wed Oct 17 10:44:32 UTC 2007


Author: rbhalera

Update of /cvs/pkgs/rpms/fonts-arabic/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3264

Modified Files:
	fonts-arabic.spec 
Log Message:
Made this as metapackage


Index: fonts-arabic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-arabic/devel/fonts-arabic.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- fonts-arabic.spec	27 Jul 2007 09:43:36 -0000	1.18
+++ fonts-arabic.spec	17 Oct 2007 10:43:58 -0000	1.19
@@ -1,16 +1,11 @@
-%define  kacst    KacstArabicFonts-1.5
-%define paktype    paktype-20061222
-
 Name:    fonts-arabic
-Version: 2.0
-Release: 6%{?dist}
-License: GPL
-Source0: %{kacst}.tar.gz
-Source1: %{paktype}.tar.gz
+Version: 2.1
+Release: 1%{?dist}
+License: GPLv2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
-BuildRequires : dos2unix fontconfig
 Group: User Interface/X
+Requires: kacst-fonts, paktype-fonts
 Summary: Fonts for Arabic
 URL: http://www.arabeyes.org/resources.php
  
@@ -20,42 +15,21 @@
 and PakType by Lateef Sagar (https://sourceforge.net/projects/paktype/).
 
 %prep
-%setup -q -c -a 0 -a 1
-find . -not -name \*.ttf -type f -exec dos2unix -k {} \;
-chmod 644 %{_builddir}/fonts-arabic-2.0/KacstArabicFonts-1.5/license.txt
+%{nil}
 
 %build
+echo "Nothing to do in build."
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/fonts/arabic
-cp %{kacst}/*.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/arabic
-cp %{paktype}/*.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/arabic
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache /usr/share/fonts
-fi
-
-%postun
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
-    %{_bindir}/fc-cache /usr/share/fonts
-  fi
-fi
-
-%files
-%defattr(-,root,root)
-%doc %{kacst}/license.txt
-%doc %{paktype}/*.txt
-%dir %{_datadir}/fonts/arabic
-%{_datadir}/fonts/arabic/*.ttf
-
 %changelog
+* Wed Oct 17 2007 Rahul Bhalerao <rbhalera at redhat.com> - 2.1-1.fc8
+- This package is now metapackage since kacst and paktype fonts have been moved to their separate packages
+
 * Fri Jul 27 2007 Rahul Bhalerao <rbhalera at redhat.com> - 2.0-6.fc8
 - SPEC cleanup as part of merge review #225760
 




More information about the fedora-extras-commits mailing list