auto-import libfontenc-1.0.0-1 on branch devel from

libfontenc-1.0.0-1.src.rpm
This commit is contained in:
mharris 2005-12-16 11:11:51 +00:00
parent d2d1809262
commit 73b70c0ecd
4 changed files with 29 additions and 9 deletions

View File

@ -1 +1 @@
libfontenc-0.99.3.tar.bz2
libfontenc-1.0.0.tar.bz2

View File

@ -0,0 +1,11 @@
--- ./configure.ac.get-fontdir-from-pkgconfig 2005-12-16 03:10:56.000000000 -0500
+++ ./configure.ac 2005-12-16 03:11:25.000000000 -0500
@@ -35,7 +35,7 @@
m4_ifdef([AS_HELP_STRING], , [m4_define([AS_HELP_STRING], m4_defn([AC_HELP_STRING]))])
-DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings
+DEFAULT_ENCODINGSDIR=$(pkg-config --variable=fontdir fontutil)/encodings
AC_ARG_WITH(encodingsdir,
AS_HELP_STRING([--with-encodingsdir=ENCODINGSDIR], [Path to font encodings]),
[ENCODINGSDIR="$withval"],

View File

@ -1,15 +1,17 @@
Summary: X.Org X11 libfontenc runtime library
Name: libfontenc
Version: 0.99.3
Version: 1.0.0
Release: 1
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.x.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://xorg.freedesktop.org/release/X11R7.0-RC2/everything/%{name}-%{version}.tar.bz2
Patch0: libfontenc-0.99.2-use-datadir-for-encodings.patch
Source0: http://xorg.freedesktop.org/release/X11R7.0-RC4/everything/%{name}-%{version}.tar.bz2
Patch0: libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch
BuildRequires: pkgconfig
BuildRequires: xorg-x11-util-macros
BuildRequires: xorg-x11-proto-devel
BuildRequires: zlib-devel
@ -23,7 +25,6 @@ Summary: X.Org X11 libfontenc development package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Obsoletes: XFree86-devel, xorg-x11-devel
@ -32,7 +33,7 @@ X.Org X11 libfontenc development package
%prep
%setup -q
%patch0 -p0 -b .use-datadir-for-encodings
%patch0 -p0 -b .get-fontdir-from-pkgconfig
# Disable static library creation by default.
%define with_static 0
@ -41,8 +42,8 @@ X.Org X11 libfontenc development package
# FIXME: libfontenc-0.99.2-use-datadir-for-encodings.patch requires that
# aclocal, automake, and autoconf get invoked to activate the changes.
# These can be removed once the patch is no longer necessary.
aclocal
automake
#aclocal
#automake
autoconf
%configure \
%if ! %{with_static}
@ -83,6 +84,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/fontenc.pc
%changelog
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
- Updated libfontenc to version 1.0.0 from X11R7 RC4
- Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces
libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to
query fontutil.pc for fontdir.
- Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc
- Removed libfontenc-0.99.2-use-datadir-for-encodings.patch
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
- Updated libfontenc to version 0.99.3 from X11R7 RC3
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure

View File

@ -1 +1 @@
4ccb051962f067ec076dc12b0b43913d libfontenc-0.99.3.tar.bz2
c0eff6b88213629cb72ca9c4486900a4 libfontenc-1.0.0.tar.bz2