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