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: https://xorg.freedesktop.org/releases/individual/lib/libXfont2-%{version}.tar.bz2
9 # Source0-md5: 00516bed7ec1453d56974560379fff2f
10 URL: https://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: libbsd-devel
17 BuildRequires: libtool
18 BuildRequires: pkgconfig >= 1:0.19
19 BuildRequires: xmlto >= 0.0.22
20 BuildRequires: xorg-lib-libfontenc-devel
21 BuildRequires: xorg-lib-xtrans-devel
22 BuildRequires: xorg-proto-fontsproto-devel >= 2.1.3
23 BuildRequires: xorg-proto-xproto-devel
24 BuildRequires: xorg-sgml-doctools >= 1.7
25 BuildRequires: xorg-util-util-macros >= 1.10
26 BuildRequires: zlib-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 libXfont provides the core of the legacy X11 font system, handling the
31 index files (fonts.dir, fonts.alias, fonts.scale), the various font
32 file formats, and rasterizing them. It is used by the X servers, the X
33 Font Server (xfs), and some font utilities (bdftopcf for instance),
34 but should not be used by normal X11 clients. X11 clients access fonts
35 via either the new API's in libXft, or the legacy API's in libX11.
37 %description -l pl.UTF-8
38 libXfont udostępnia główną część starego systemu fontów X11,
39 obsługującą pliki indeksów (fonts.dir, fonts.alias, fonts.scale),
40 różne formaty plików fontów oraz rasteryzację ich. Jest używana przez
41 serwer X, serwer fontów X (xfs - X Font Server) i różne narzędzia
42 związane z fontami (np. bdftopcf), ale nie powinna być używana przez
43 normalne aplikacje klienckie X11. Te ostatnie powinny odwoływać się do
44 fontów przez nowe API w libXft lub stare API w libX11.
47 Summary: Header files for libXfont2 library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXfont2
49 Group: X11/Development/Libraries
50 Requires: %{name} = %{version}-%{release}
52 Requires: freetype-devel >= 2
53 Requires: xorg-lib-libfontenc-devel
54 Requires: xorg-lib-xtrans-devel
55 Requires: xorg-proto-fontsproto-devel >= 2.1.3
56 Requires: xorg-proto-xproto-devel
60 X font library version 2.
62 This package contains the header files needed to develop programs that
65 %description devel -l pl.UTF-8
66 Biblioteka fontów X w wersji 2.
68 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
69 używających biblioteki libXfont2.
72 Summary: Static libXfont2 library
73 Summary(pl.UTF-8): Biblioteka statyczna libXfont2
74 Group: X11/Development/Libraries
75 Requires: %{name}-devel = %{version}-%{release}
78 X font library version 2.
80 This package contains the static libXfont2 library.
82 %description static -l pl.UTF-8
83 Biblioteka fontów X w wersji 2.
85 Pakiet zawiera statyczną bibliotekę libXfont2.
88 %setup -q -n libXfont2-%{version}
96 # FIXME: drop this when configure supports libbsd properly
97 CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags libbsd-overlay)"
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT
109 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXfont2.la
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc AUTHORS COPYING ChangeLog README.md
120 %attr(755,root,root) %{_libdir}/libXfont2.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libXfont2.so.2
124 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_libdir}/libXfont2.so
127 %{_includedir}/X11/fonts/libxfont2.h
128 %{_pkgconfigdir}/xfont2.pc
131 %defattr(644,root,root,755)
132 %{_libdir}/libXfont2.a