rpms/linux-libertine-fonts/devel linux-libertine-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Frank Arnold (farnold) fedora-extras-commits at redhat.com
Wed Mar 1 07:45:42 UTC 2006


Author: farnold

Update of /cvs/extras/rpms/linux-libertine-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32309/devel

Modified Files:
	.cvsignore sources 
Added Files:
	linux-libertine-fonts.spec 
Log Message:
auto-import linux-libertine-fonts-2.0.4-2 on branch devel from linux-libertine-fonts-2.0.4-2.src.rpm


--- NEW FILE linux-libertine-fonts.spec ---
%define archivename     LinLibertineSRC
%define fontdir         %{_datadir}/fonts/linux-libertine

Name:          linux-libertine-fonts
Version:       2.0.4
Release:       2%{?dist}
Summary:       Linux Libertine Open Fonts
Group:         User Interface/X
License:       GPL
URL:           http://linuxlibertine.sf.net
Source:        http://dl.sf.net/linuxlibertine/%{archivename}-%{version}-6.tgz
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:     noarch
BuildRequires: fontforge

%description
The Linux Libertine Open Fonts are a TrueType font family for practical
use in documents. They were created to provide a free alternative to
proprietary standard fonts.


%prep
%setup -q -n %{archivename}


%build
fontforge -script "-" *.sfd <<EOF
i = 1
while ( i < \$argc )
  Open (\$argv[i], 1)
  Generate (\$fontname + ".ttf")
  PrintSetup (5)
  PrintFont (0, 0, "", \$fontname + "-sample.pdf")
  Close()
  i++
endloop
EOF


%install
rm -rf $RPM_BUILD_ROOT

install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -p -m 0644 *.ttf  $RPM_BUILD_ROOT%{fontdir}

# "touch" all files we've got flagged as %ghost  but which are not
# present in the RPM_BUILD_ROOT when RPM looks for files
touch $RPM_BUILD_ROOT%{fontdir}/fonts.cache-1


%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(644,root,root,755)
%doc BUGS ChangeLog.txt README gpl.txt *.pdf
%dir %{fontdir}
%{fontdir}/*.ttf
%ghost %{fontdir}/fonts.cache-1


%changelog
* Tue Feb 28 2006 Frank Arnold <frank at scirocco-5v-turbo.de> 2.0.4-2
- Named back to linux-libertine-fonts

* Wed Feb 13 2006 Frank Arnold <frank at scirocco-5v-turbo.de> 2.0.4-1
- Updated to 2.0.4
- Removed handling of fonts.cache-2

* Wed Feb 01 2006 Frank Arnold <frank at scirocco-5v-turbo.de> 2.0.1-3
- Nuked separate fontforge build script, now in %%build section

* Tue Jan 31 2006 Frank Arnold <frank at scirocco-5v-turbo.de> 2.0.1-2
- Fixed the following issues addressed by Ignacio Vazquez-Abrams
- Package renaming to font-linux-libertine
- Generate fonts from sources
- Sample sheets for each font in PDF format

* Mon Jan 30 2006 Frank Arnold <frank at scirocco-5v-turbo.de> 2.0.1-1
- Initial RPM release
- Spec derived from other font packages


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/linux-libertine-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Mar 2006 07:42:42 -0000	1.1
+++ .cvsignore	1 Mar 2006 07:45:42 -0000	1.2
@@ -0,0 +1 @@
+LinLibertineSRC-2.0.4-6.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/linux-libertine-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Mar 2006 07:42:42 -0000	1.1
+++ sources	1 Mar 2006 07:45:42 -0000	1.2
@@ -0,0 +1 @@
+d0fcc8c7b01f5b587592840a3f7564a0  LinLibertineSRC-2.0.4-6.tgz




More information about the fedora-extras-commits mailing list