1 Summary: X font library version 2
2 Summary(pl.UTF-8): Biblioteka fontów X w wersji 2
3 Name: xorg-lib-libXfont2
8 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXfont2-%{version}.tar.bz2
9 # Source0-md5: a9150b49f4c55a71dc80cc045c24384e
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: bzip2-devel
14 BuildRequires: docbook-dtd44-xml
15 BuildRequires: freetype-devel >= 2
16 BuildRequires: libtool
17 BuildRequires: pkgconfig >= 1:0.19
18 BuildRequires: xmlto >= 0.0.22
19 BuildRequires: xorg-lib-libfontenc-devel
20 BuildRequires: xorg-lib-xtrans-devel
21 BuildRequires: xorg-proto-fontsproto-devel >= 2.1.3
22 BuildRequires: xorg-proto-xproto-devel
23 BuildRequires: xorg-sgml-doctools >= 1.7
24 BuildRequires: xorg-util-util-macros >= 1.10
25 BuildRequires: zlib-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 libXfont provides the core of the legacy X11 font system, handling the
30 index files (fonts.dir, fonts.alias, fonts.scale), the various font
31 file formats, and rasterizing them. It is used by the X servers, the X
32 Font Server (xfs), and some font utilities (bdftopcf for instance),
33 but should not be used by normal X11 clients. X11 clients access fonts
34 via either the new API's in libXft, or the legacy API's in libX11.
36 %description -l pl.UTF-8
37 libXfont udostępnia główną część starego systemu fontów X11,
38 obsługującą pliki indeksów (fonts.dir, fonts.alias, fonts.scale),
39 różne formaty plików fontów oraz rasteryzację ich. Jest używana przez
40 serwer X, serwer fontów X (xfs - X Font Server) i różne narzędzia
41 związane z fontami (np. bdftopcf), ale nie powinna być używana przez
42 normalne aplikacje klienckie X11. Te ostatnie powinny odwoływać się do
43 fontów przez nowe API w libXft lub stare API w libX11.
46 Summary: Header files for libXfont2 library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXfont2
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
51 Requires: freetype-devel >= 2
52 Requires: xorg-lib-libfontenc-devel
53 Requires: xorg-lib-xtrans-devel
54 Requires: xorg-proto-fontsproto-devel >= 2.1.3
55 Requires: xorg-proto-xproto-devel
59 X font library version 2.
61 This package contains the header files needed to develop programs that
64 %description devel -l pl.UTF-8
65 Biblioteka fontów X w wersji 2.
67 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
68 używających biblioteki libXfont2.
71 Summary: Static libXfont2 library
72 Summary(pl.UTF-8): Biblioteka statyczna libXfont2
73 Group: X11/Development/Libraries
74 Requires: %{name}-devel = %{version}-%{release}
77 X font library version 2.
79 This package contains the static libXfont2 library.
81 %description static -l pl.UTF-8
82 Biblioteka fontów X w wersji 2.
84 Pakiet zawiera statyczną bibliotekę libXfont2.
87 %setup -q -n libXfont2-%{version}
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXfont2.la
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS COPYING ChangeLog README
117 %attr(755,root,root) %{_libdir}/libXfont2.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libXfont2.so.2
121 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libXfont2.so
124 # XXX: conflict with libXfont-devel
125 %{_includedir}/X11/fonts/fontconf.h
126 %{_includedir}/X11/fonts/libxfont2.h
127 %{_pkgconfigdir}/xfont2.pc
130 %defattr(644,root,root,755)
131 %{_libdir}/libXfont2.a