rpms/baekmuk-bdf-fonts/devel baekmuk-bdf-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Mon Sep 24 12:15:53 UTC 2007


Author: petersen

Update of /cvs/extras/rpms/baekmuk-bdf-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16510/devel

Modified Files:
	.cvsignore sources 
Added Files:
	baekmuk-bdf-fonts.spec 
Log Message:
initial import (#302451)



--- NEW FILE baekmuk-bdf-fonts.spec ---
%define upstreamname   baekmuk-bdf

%define fontdir      %{_datadir}/fonts/%{upstreamname}
%define catalogue    %{_sysconfdir}/X11/fontpath.d

Name:           %{upstreamname}-fonts
Version:        2.2
Release:        3%{?dist}
Summary:        Korean bitmap fonts

Group:          User Interface/X
License:        Baekmuk
URL:            http://kldp.net/frs/?group_id=57&release_id=865
Source:  http://kldp.net/frs/download.php/1428/%{upstreamname}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  xorg-x11-font-utils
Conflicts:      fonts-korean < 2.2-5

%description
This package provides the Korean Baekmuk bitmap fonts.


%prep
%setup -q -n %{upstreamname}-%{version}

%build
for file in bdf/*.bdf; do
    bdftopcf $file | gzip -9 > ${file%.bdf}.pcf.gz
done

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{fontdir}

# for bmp font
install -m 0644 bdf/*.pcf.gz $RPM_BUILD_ROOT%{fontdir}/
install -m 0444 bdf/fonts.alias $RPM_BUILD_ROOT%{fontdir}/ttfonts-ko.alias

# for catalogue
install -d $RPM_BUILD_ROOT%{catalogue}
ln -sf ../../..%{fontdir} $RPM_BUILD_ROOT%{catalogue}/%{name}

mkfontdir $RPM_BUILD_ROOT%{fontdir} 

# convert Korean copyright file to utf8
iconv -f EUC-KR -t UTF-8 COPYRIGHT.ks > COPYRIGHT.ko

%clean
rm -rf $RPM_BUILD_ROOT

%post
if [ -x %{_bindir}/fc-cache ]; then
  %{_bindir}/fc-cache %{_datadir}/fonts
fi

%postun
if [ "$1" = "0" ]; then
  if [ -x %{_bindir}/fc-cache ]; then
    %{_bindir}/fc-cache %{_datadir}/fonts
  fi
fi

%files
%defattr(-,root,root,-)
%doc COPYRIGHT COPYRIGHT.ko README
%dir %{fontdir}
%{fontdir}/*.gz
%{fontdir}/ttfonts-ko.alias
%verify(not md5 size mtime) %{fontdir}/fonts.dir
%{catalogue}/%{name}

%changelog
* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-3
- conflict with fonts-korean < 2.2-5

* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-2
- convert Korean copyright file to utf8 (Mamoru Tasaka, #302451)

* Tue Sep 11 2007 Jens Petersen <petersen at redhat.com> - 2.2-1
- initial packaging separated from fonts-korean (#253155)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/baekmuk-bdf-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Sep 2007 09:18:32 -0000	1.1
+++ .cvsignore	24 Sep 2007 12:15:20 -0000	1.2
@@ -0,0 +1 @@
+baekmuk-bdf-2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/baekmuk-bdf-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Sep 2007 09:18:32 -0000	1.1
+++ sources	24 Sep 2007 12:15:20 -0000	1.2
@@ -0,0 +1 @@
+48c0405ffbdf45e1311a978b65b47f4c  baekmuk-bdf-2.2.tar.gz




More information about the fedora-extras-commits mailing list