f4a8cb
# Must be kept in sync with xorg-x11-fonts !
f4a8cb
%define _x11fontdir		%{_datadir}/X11/fonts
f4a8cb
f4a8cb
Summary: X.Org X11 libfontenc runtime library
f4a8cb
Name: libfontenc
f4a8cb
Version: 1.1.3
f4a8cb
Release: 8%{?dist}
f4a8cb
License: MIT
f4a8cb
Group: System Environment/Libraries
f4a8cb
URL: http://www.x.org
f4a8cb
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
f4a8cb
f4a8cb
BuildRequires: pkgconfig
f4a8cb
BuildRequires: xorg-x11-util-macros
f4a8cb
BuildRequires: xorg-x11-proto-devel
f4a8cb
BuildRequires: zlib-devel
f4a8cb
BuildRequires: xorg-x11-font-utils
f4a8cb
f4a8cb
%description
f4a8cb
X.Org X11 libfontenc runtime library
f4a8cb
f4a8cb
%package devel
f4a8cb
Summary: X.Org X11 libfontenc development package
f4a8cb
Group: Development/Libraries
f4a8cb
Requires: %{name} = %{version}-%{release}
f4a8cb
f4a8cb
%description devel
f4a8cb
X.Org X11 libfontenc development package
f4a8cb
f4a8cb
%prep
f4a8cb
%setup -q
f4a8cb
f4a8cb
%build
f4a8cb
export CFLAGS="$RPM_OPT_FLAGS -Os"
f4a8cb
%configure --disable-static --with-fontrootdir=%{_x11fontdir}
f4a8cb
make %{?_smp_mflags}
f4a8cb
f4a8cb
%install
f4a8cb
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
f4a8cb
f4a8cb
# Remove all libtool archives (*.la)
f4a8cb
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
f4a8cb
f4a8cb
%ldconfig_post
f4a8cb
%ldconfig_postun
f4a8cb
f4a8cb
%files
f4a8cb
%doc COPYING README ChangeLog
f4a8cb
%{_libdir}/libfontenc.so.1
f4a8cb
%{_libdir}/libfontenc.so.1.0.0
f4a8cb
f4a8cb
%files devel
f4a8cb
%{_includedir}/X11/fonts/fontenc.h
f4a8cb
%{_libdir}/libfontenc.so
f4a8cb
%{_libdir}/pkgconfig/fontenc.pc
f4a8cb
f4a8cb
%changelog
f4a8cb
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.1.3-8
f4a8cb
- Use ldconfig scriptlet macros
f4a8cb
f4a8cb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-7
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-6
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f4a8cb
f4a8cb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-5
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f4a8cb
f4a8cb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f4a8cb
f4a8cb
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f4a8cb
f4a8cb
* Fri May 01 2015 Adam Jackson <ajax@redhat.com> 1.1.3-1
f4a8cb
- libfontenc 1.1.3
f4a8cb
f4a8cb
* Fri Oct 31 2014 Hans de Goede <hdegoede@redhat.com> - 1.1.2-3
f4a8cb
- Pass --with-fontrootdir to ./configure so that libfontenc can find the
f4a8cb
  encoding files (rhbz#1046341)
f4a8cb
f4a8cb
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Jul 24 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.1.2-1
f4a8cb
- libfontenc 1.1.2
f4a8cb
f4a8cb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f4a8cb
f4a8cb
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-4
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f4a8cb
f4a8cb
* Mon Mar 05 2012 Adam Jackson <ajax@redhat.com> 1.1.1-1
f4a8cb
- libfontenc 1.1.1
f4a8cb
f4a8cb
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f4a8cb
f4a8cb
* Tue Jun 21 2011 Adam Jackson <ajax@redhat.com> 1.1.0-1
f4a8cb
- libfontenc 1.1.0
f4a8cb
f4a8cb
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-4
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f4a8cb
f4a8cb
* Tue Sep 07 2010 Parag Nemade <paragn AT fedoraproject.org> 1.0.5-3
f4a8cb
- Merge-review cleanup (#226004)
f4a8cb
f4a8cb
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.0.5-2
f4a8cb
- libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch: rebase to 1.0.5.
f4a8cb
f4a8cb
* Fri Aug 28 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.0.5-1
f4a8cb
- libfontenc 1.0.5
f4a8cb
f4a8cb
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-10
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f4a8cb
f4a8cb
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.4-9
f4a8cb
- Un-requires xorg-x11-filesystem
f4a8cb
f4a8cb
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.4-8
f4a8cb
- Remove useless %%dir
f4a8cb
f4a8cb
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-7
f4a8cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f4a8cb
f4a8cb
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.4-6
f4a8cb
- Fix license tag.
f4a8cb
f4a8cb
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-5
f4a8cb
- Autorebuild for GCC 4.3
f4a8cb
f4a8cb
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-4
f4a8cb
- Rebuild for build id
f4a8cb
f4a8cb
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-3
f4a8cb
- Don't install INSTALL
f4a8cb
f4a8cb
* Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2
f4a8cb
- Add BuildRequires on xorg-x11-font-utils to set encodings path correctly.
f4a8cb
f4a8cb
* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
f4a8cb
- Update to 1.0.4
f4a8cb
f4a8cb
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
f4a8cb
- Update to 1.0.3
f4a8cb
f4a8cb
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
f4a8cb
- rebuild
f4a8cb
f4a8cb
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
f4a8cb
- Remove package ownership of mandir/libdir/etc.
f4a8cb
- Added "BuildRequires: autoconf" temporarily as long as autoconf is needed
f4a8cb
f4a8cb
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
f4a8cb
- Update to 1.0.2
f4a8cb
f4a8cb
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
f4a8cb
- bump again for double-long bug on ppc(64)
f4a8cb
f4a8cb
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
f4a8cb
- rebuilt for new gcc4.1 snapshot and glibc changes
f4a8cb
f4a8cb
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
f4a8cb
- Updated libfontenc to version 1.0.1 from X11R7.0
f4a8cb
f4a8cb
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
f4a8cb
- Updated libfontenc to version 1.0.0 from X11R7 RC4
f4a8cb
- Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces
f4a8cb
  libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to
f4a8cb
  query fontutil.pc for fontdir.
f4a8cb
- Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc
f4a8cb
- Removed libfontenc-0.99.2-use-datadir-for-encodings.patch
f4a8cb
f4a8cb
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
f4a8cb
- Updated libfontenc to version 0.99.3 from X11R7 RC3
f4a8cb
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
f4a8cb
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
f4a8cb
- Removed 'x' suffix from manpage directories to match RC3 upstream.
f4a8cb
f4a8cb
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
f4a8cb
- rebuilt
f4a8cb
f4a8cb
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
f4a8cb
- Bump xorg-x11-filesystem dep to >= 0.99.2-3 as -2 had bugs.
f4a8cb
f4a8cb
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
f4a8cb
- Added libfontenc-0.99.2-use-datadir-for-encodings.patch and invoke aclocal
f4a8cb
  and automake to activate the changes.  This fixes a bug reported against
f4a8cb
  mkfontscale, in which it looks in _datadir for the font encodings files,
f4a8cb
  which was traced back to libfontenc (#173875).
f4a8cb
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-2" to ensure that
f4a8cb
  /usr/include/X11 is a directory rather than a symlink before this package
f4a8cb
  gets installed, to avoid bug (#173384).
f4a8cb
f4a8cb
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
f4a8cb
- Updated libfontenc to version 0.99.2 from X11R7 RC2
f4a8cb
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
f4a8cb
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
f4a8cb
f4a8cb
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
f4a8cb
- Updated libfontenc to version 0.99.1 from X11R7 RC1
f4a8cb
f4a8cb
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
f4a8cb
- Renamed package to remove xorg-x11 from the name due to unanimous decision
f4a8cb
  between developers.
f4a8cb
- Use Fedora Extras style BuildRoot tag.
f4a8cb
- Disable static library creation by default.
f4a8cb
- Add missing defattr to devel subpackage
f4a8cb
- Add missing documentation files to doc macro
f4a8cb
f4a8cb
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
f4a8cb
- Added zlib-devel build dependency
f4a8cb
f4a8cb
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
f4a8cb
- Renamed package to prepend "xorg-x11" to the name for consistency with
f4a8cb
  the rest of the X11R7 packages.
f4a8cb
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
f4a8cb
  subpackage to ensure the devel package matches the installed shared libs.
f4a8cb
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
f4a8cb
  allow applications to use implementation agnostic dependencies.
f4a8cb
- Added post/postun scripts which call ldconfig.
f4a8cb
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
f4a8cb
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
f4a8cb
f4a8cb
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
f4a8cb
- Initial build.