Blame SPECS/libXfont2.spec

4627e5
Summary: X.Org X11 libXfont2 runtime library
4627e5
Name: libXfont2
4627e5
Version: 2.0.3
4627e5
Release: 2%{?dist}
4627e5
License: MIT
4627e5
Group: System Environment/Libraries
4627e5
URL: http://www.x.org
4627e5
4627e5
Source0: http://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
4627e5
4627e5
BuildRequires: autoconf automake libtool
4627e5
BuildRequires: pkgconfig(fontsproto)
4627e5
BuildRequires: xorg-x11-util-macros
4627e5
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-3
4627e5
BuildRequires: libfontenc-devel
4627e5
BuildRequires: freetype-devel
4627e5
4627e5
%description
4627e5
X.Org X11 libXfont2 runtime library
4627e5
4627e5
%package devel
4627e5
Summary: X.Org X11 libXfont2 development package
4627e5
Group: Development/Libraries
4627e5
Requires: %{name}%{?_isa} = %{version}-%{release}
4627e5
Requires: libfontenc-devel%{?_isa}
4627e5
4627e5
%description devel
4627e5
X.Org X11 libXfont development package
4627e5
4627e5
%prep
4627e5
%autosetup
4627e5
4627e5
%build
4627e5
autoreconf -v --install --force
4627e5
export CFLAGS="$RPM_OPT_FLAGS -Os"
4627e5
%configure --disable-static
4627e5
make %{?_smp_mflags}  
4627e5
4627e5
%install
4627e5
%make_install
4627e5
4627e5
# We intentionally don't ship *.la files
4627e5
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
4627e5
4627e5
%ldconfig_post
4627e5
%ldconfig_postun
4627e5
4627e5
%files
4627e5
%license COPYING
4627e5
%doc AUTHORS README ChangeLog
4627e5
%{_libdir}/libXfont2.so.2*
4627e5
4627e5
%files devel
4627e5
%{_includedir}/X11/fonts/libxfont2.h
4627e5
%{_libdir}/libXfont2.so
4627e5
%{_libdir}/pkgconfig/xfont2.pc
4627e5
4627e5
%changelog
4627e5
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 2.0.3-2
4627e5
- Use ldconfig scriptlet macros
4627e5
4627e5
* Mon Feb 26 2018 Benjamin Tissoires <benjamin.tissoires@redhat.com> 2.0.3-1
4627e5
- libXfont 2.0.3 (CVE-2017-16611)
4627e5
4627e5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
4627e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4627e5
4627e5
* Wed Oct 11 2017 Adam Jackson <ajax@redhat.com> - 2.0.2-1
4627e5
- libXfont 2.0.2
4627e5
4627e5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
4627e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4627e5
4627e5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
4627e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4627e5
4627e5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
4627e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4627e5
4627e5
* Wed Sep 28 2016 Hans de Goede <hdegoede@redhat.com> - 2.0.1-2
4627e5
- Add some fixes from upstream git master
4627e5
4627e5
* Wed Jun 08 2016 Adam Jackson <ajax@redhat.com> - 2.0.2-1
4627e5
- Initial packaging forked from libXfont
4627e5