Home | History | Annotate | Download | only in trunk
      1 #
      2 # spec file for package SUNWgnome-fonts
      3 #
      4 # includes module(s): ttf-baekmuk ttf-freefont
      5 #
      6 # Copyright (c) 2004 Sun Microsystems, Inc.
      7 # This file and all modifications and additions to the pristine
      8 # package are under the same license as the package itself.
      9 #
     10 # Owner: dermot
     11 #
     12 %include Solaris.inc
     13 %define _prefix /usr
     14 
     15 %use ttf_baekmuk = ttf-baekmuk.spec
     16 %use ttf_freefont = ttf-freefont.spec
     17 
     18 Name:                    SUNWgnome-fonts
     19 Summary:                 GNOME Unicode and Korean TrueType fonts
     20 Version:                 %{default_pkg_version}
     21 SUNW_BaseDir:            %{_prefix}
     22 SUNW_Copyright:          %{name}.copyright
     23 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
     24 
     25 %define font_dir /usr/openwin/lib/X11/fonts/TrueType
     26 
     27 %include default-depend.inc
     28 Requires: SUNWgnome-base-libs
     29 
     30 %prep
     31 rm -rf %name-%version
     32 mkdir %name-%version
     33 %ttf_baekmuk.prep -d %name-%version
     34 %ttf_freefont.prep -d %name-%version
     35 
     36 %build
     37 export PKG_CONFIG_PATH=%{_pkg_config_path}
     38 export MSGFMT="/usr/bin/msgfmt"
     39 export LDFLAGS="%_ldflags"
     40 export CFLAGS="%optflags"
     41 export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
     42 %ttf_baekmuk.build -d %name-%version
     43 %ttf_freefont.build -d %name-%version
     44 
     45 %install
     46 %ttf_baekmuk.install -d %name-%version
     47 %ttf_freefont.install -d %name-%version
     48 
     49 %clean
     50 rm -rf $RPM_BUILD_ROOT
     51 
     52 %files
     53 %defattr (-, root, bin)
     54 %{font_dir}
     55 
     56 %changelog
     57 * Sun Jun 11 2006 - laca@sun.com
     58 - change group from other to bin/sys
     59 * Mon May 03 2004 - laca@sun.com
     60 - move to /usr/openwin
     61