mharris a287838
Summary: X.Org X11 libfontenc runtime library
mharris ac2bff5
Name: libfontenc
b945437
Version: 1.0.4
2735c31
Release: 8%{?dist}
0cc2cfb
License: MIT
mharris a287838
Group: System Environment/Libraries
mharris a287838
URL: http://www.x.org
mharris ac2bff5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
mharris a287838
mharris 01ec110
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
mharris 01ec110
mharris 73b70c0
Patch0: libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch
mharris f1b0a1f
mharris 73b70c0
BuildRequires: pkgconfig
mharris 73b70c0
BuildRequires: xorg-x11-util-macros
mharris a287838
BuildRequires: xorg-x11-proto-devel
mharris a287838
BuildRequires: zlib-devel
0ff1841
BuildRequires: xorg-x11-font-utils
mharris 12f310a
# FIXME: temporarily require autoconf for workaround
mharris 12f310a
BuildRequires: autoconf
mharris a287838
mharris 6af676b
Obsoletes: XFree86-libs, xorg-x11-libs
mharris a287838
mharris a287838
%description
mharris a287838
X.Org X11 libfontenc runtime library
mharris a287838
mharris a287838
%package devel
mharris a287838
Summary: X.Org X11 libfontenc development package
mharris a287838
Group: Development/Libraries
mharris 53fc1f9
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
mharris f066b41
Requires: %{name} = %{version}-%{release}
mharris ac2bff5
mharris 6af676b
Obsoletes: XFree86-devel, xorg-x11-devel
mharris a287838
mharris a287838
%description devel
mharris a287838
X.Org X11 libfontenc development package
mharris a287838
mharris a287838
%prep
mharris ac2bff5
%setup -q
mharris 73b70c0
%patch0 -p0 -b .get-fontdir-from-pkgconfig
mharris ac2bff5
mharris ac2bff5
# Disable static library creation by default.
mharris ac2bff5
%define with_static 0
mharris a287838
mharris a287838
%build
mharris f1b0a1f
# FIXME: libfontenc-0.99.2-use-datadir-for-encodings.patch requires that
mharris f1b0a1f
# aclocal, automake, and autoconf get invoked to activate the changes.
mharris f1b0a1f
# These can be removed once the patch is no longer necessary.
mharris 73b70c0
#aclocal
mharris 73b70c0
#automake
mharris f1b0a1f
autoconf
mharris ac2bff5
%configure \
mharris ac2bff5
%if ! %{with_static}
mharris ac2bff5
	--disable-static
mharris ac2bff5
%endif
mharris a287838
make
mharris a287838
mharris a287838
%install
mharris a287838
rm -rf $RPM_BUILD_ROOT
mharris f066b41
mharris f1b0a1f
make install DESTDIR=$RPM_BUILD_ROOT
mharris a287838
mharris f1b0a1f
# Remove all libtool archives (*.la)
mharris f1b0a1f
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
mharris a287838
mharris a287838
%clean
mharris a287838
rm -rf $RPM_BUILD_ROOT
mharris a287838
mharris a287838
%post -p /sbin/ldconfig
mharris a287838
%postun -p /sbin/ldconfig
mharris a287838
mharris a287838
%files
mharris a287838
%defattr(-,root,root,-)
6a1cf97
%doc AUTHORS COPYING README ChangeLog
mharris a287838
%{_libdir}/libfontenc.so.1
mharris a287838
%{_libdir}/libfontenc.so.1.0.0
mharris a287838
mharris a287838
%files devel
mharris ac2bff5
%defattr(-,root,root,-)
mharris a287838
%{_includedir}/X11/fonts/fontenc.h
mharris ac2bff5
%if %{with_static}
mharris a287838
%{_libdir}/libfontenc.a
mharris ac2bff5
%endif
mharris a287838
%{_libdir}/libfontenc.so
mharris a287838
%{_libdir}/pkgconfig/fontenc.pc
mharris a287838
mharris a287838
%changelog
2735c31
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.4-8
2735c31
- Remove useless %%dir
2735c31
def3521
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-7
def3521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
def3521
0cc2cfb
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.4-6
0cc2cfb
- Fix license tag.
0cc2cfb
ed35cbb
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-5
ed35cbb
- Autorebuild for GCC 4.3
ed35cbb
8080245
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-4
8080245
- Rebuild for build id
8080245
6a1cf97
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-3
6a1cf97
- Don't install INSTALL
6a1cf97
0ff1841
* Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2
0ff1841
- Add BuildRequires on xorg-x11-font-utils to set encodings path correctly.
0ff1841
b945437
* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
b945437
- Update to 1.0.4
b945437
77790e2
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7
77790e2
- Update to 1.0.3
77790e2
77790e2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
4527f42
- rebuild
4527f42
mharris f066b41
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
mharris f066b41
- Remove package ownership of mandir/libdir/etc.
mharris 12f310a
- Added "BuildRequires: autoconf" temporarily as long as autoconf is needed
mharris f066b41
2e58b0b
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
2e58b0b
- Update to 1.0.2
2e58b0b
mharris f066b41
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
a04b732
- bump again for double-long bug on ppc(64)
a04b732
mharris f066b41
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
e48251a
- rebuilt for new gcc4.1 snapshot and glibc changes
e48251a
mharris d32a3b1
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
mharris d32a3b1
- Updated libfontenc to version 1.0.1 from X11R7.0
mharris d32a3b1
mharris 73b70c0
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
mharris 73b70c0
- Updated libfontenc to version 1.0.0 from X11R7 RC4
mharris 73b70c0
- Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces
mharris 73b70c0
  libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to
mharris 73b70c0
  query fontutil.pc for fontdir.
mharris 73b70c0
- Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc
mharris 73b70c0
- Removed libfontenc-0.99.2-use-datadir-for-encodings.patch
mharris 73b70c0
mharris d2d1809
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
mharris d2d1809
- Updated libfontenc to version 0.99.3 from X11R7 RC3
mharris d2d1809
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
mharris d2d1809
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
mharris d2d1809
- Removed 'x' suffix from manpage directories to match RC3 upstream.
mharris d2d1809
2033cd9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
2033cd9
- rebuilt
2033cd9
mharris 53fc1f9
* Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
mharris 53fc1f9
- Bump xorg-x11-filesystem dep to >= 0.99.2-3 as -2 had bugs.
mharris 53fc1f9
mharris f1b0a1f
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
mharris f1b0a1f
- Added libfontenc-0.99.2-use-datadir-for-encodings.patch and invoke aclocal
mharris f1b0a1f
  and automake to activate the changes.  This fixes a bug reported against
mharris f1b0a1f
  mkfontscale, in which it looks in _datadir for the font encodings files,
mharris f1b0a1f
  which was traced back to libfontenc (#173875).
mharris f1b0a1f
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-2" to ensure that
mharris f1b0a1f
  /usr/include/X11 is a directory rather than a symlink before this package
mharris f1b0a1f
  gets installed, to avoid bug (#173384).
mharris f1b0a1f
mharris 6af676b
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
mharris 6af676b
- Updated libfontenc to version 0.99.2 from X11R7 RC2
mharris 6af676b
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
mharris 6af676b
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
mharris 6af676b
mharris 9e8602e
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
mharris 9e8602e
- Updated libfontenc to version 0.99.1 from X11R7 RC1
mharris 9e8602e
mharris 9e8602e
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
mharris ac2bff5
- Renamed package to remove xorg-x11 from the name due to unanimous decision
mharris ac2bff5
  between developers.
mharris ac2bff5
- Use Fedora Extras style BuildRoot tag.
mharris ac2bff5
- Disable static library creation by default.
mharris ac2bff5
- Add missing defattr to devel subpackage
mharris ac2bff5
- Add missing documentation files to doc macro
mharris ac2bff5
mharris a287838
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
mharris a287838
- Added zlib-devel build dependency
mharris a287838
mharris a287838
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
mharris a287838
- Renamed package to prepend "xorg-x11" to the name for consistency with
mharris a287838
  the rest of the X11R7 packages.
mharris a287838
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
mharris a287838
  subpackage to ensure the devel package matches the installed shared libs.
mharris a287838
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
mharris a287838
  allow applications to use implementation agnostic dependencies.
mharris a287838
- Added post/postun scripts which call ldconfig.
mharris a287838
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
mharris a287838
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
mharris a287838
mharris a287838
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
mharris a287838
- Initial build.