7e4fd8
Summary: X.Org X11 libXfont2 runtime library
7e4fd8
Name: libXfont2
9f5b73
Version: 2.0.3
9f5b73
Release: 1%{?dist}
7e4fd8
License: MIT
7e4fd8
Group: System Environment/Libraries
9f5b73
URL: https://www.x.org
7e4fd8
9f5b73
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
7e4fd8
7e4fd8
BuildRequires: autoconf automake libtool
7e4fd8
BuildRequires: pkgconfig(fontsproto)
7e4fd8
BuildRequires: xorg-x11-util-macros
7e4fd8
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-3
7e4fd8
BuildRequires: libfontenc-devel
7e4fd8
BuildRequires: freetype-devel
7e4fd8
7e4fd8
%description
7e4fd8
X.Org X11 libXfont2 runtime library
7e4fd8
7e4fd8
%package devel
7e4fd8
Summary: X.Org X11 libXfont2 development package
7e4fd8
Group: Development/Libraries
7e4fd8
Requires: %{name}%{?_isa} = %{version}-%{release}
7e4fd8
Requires: libfontenc-devel%{?_isa}
7e4fd8
7e4fd8
%description devel
7e4fd8
X.Org X11 libXfont development package
7e4fd8
7e4fd8
%prep
7e4fd8
%setup -q
7e4fd8
7e4fd8
%build
7e4fd8
autoreconf -v --install --force
7e4fd8
export CFLAGS="$RPM_OPT_FLAGS -Os"
7e4fd8
%configure --disable-static
7e4fd8
make %{?_smp_mflags}  
7e4fd8
7e4fd8
%install
7e4fd8
%make_install
7e4fd8
7e4fd8
# We intentionally don't ship *.la files
7e4fd8
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
7e4fd8
7e4fd8
%post -p /sbin/ldconfig
7e4fd8
%postun -p /sbin/ldconfig
7e4fd8
7e4fd8
%files
7e4fd8
%license COPYING
7e4fd8
%doc AUTHORS README ChangeLog
7e4fd8
%{_libdir}/libXfont2.so.2*
7e4fd8
7e4fd8
%files devel
7e4fd8
%{_includedir}/X11/fonts/libxfont2.h
7e4fd8
%{_libdir}/libXfont2.so
7e4fd8
%{_libdir}/pkgconfig/xfont2.pc
7e4fd8
7e4fd8
%changelog
9f5b73
* Tue Apr 24 2018 Adam Jackson <ajax@redhat.com> - 2.0.3-1
9f5b73
- libXfont 2.0.3
9f5b73
7e4fd8
* Wed Sep 28 2016 Hans de Goede <hdegoede@redhat.com> - 2.0.1-2
7e4fd8
- Add some fixes from upstream git master
7e4fd8
7e4fd8
* Wed Jun 08 2016 Adam Jackson <ajax@redhat.com> - 2.0.2-1
7e4fd8
- Initial packaging forked from libXfont
7e4fd8