Blame SPECS/libXfont2.spec

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