]>
Commit | Line | Data |
---|---|---|
693e7b13 | 1 | Summary: X font library used by the X server |
25daba2f | 2 | Summary(pl.UTF-8): Używana przez X serwer biblioteka fontów X |
693e7b13 | 3 | Name: xorg-lib-libXfont |
602cceaa JB |
4 | Version: 1.5.1 |
5 | Release: 1 | |
693e7b13 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
38852393 | 8 | Source0: http://xorg.freedesktop.org/releases/individual/lib/libXfont-%{version}.tar.bz2 |
602cceaa | 9 | # Source0-md5: 96f76ba94b4c909230bac1e2dcd551c4 |
693e7b13 | 10 | URL: http://xorg.freedesktop.org/ |
5c9c4954 | 11 | BuildRequires: autoconf >= 2.60 |
693e7b13 | 12 | BuildRequires: automake |
38e599bf | 13 | BuildRequires: bzip2-devel |
5c46984e | 14 | BuildRequires: docbook-dtd44-xml |
cc033783 | 15 | BuildRequires: freetype-devel >= 2 |
693e7b13 | 16 | BuildRequires: libtool |
5900283a | 17 | BuildRequires: pkgconfig >= 1:0.19 |
d7c80650 | 18 | BuildRequires: xmlto >= 0.0.22 |
083e4da4 | 19 | BuildRequires: xorg-lib-libfontenc-devel |
693e7b13 | 20 | BuildRequires: xorg-lib-xtrans-devel |
a46b76ec | 21 | BuildRequires: xorg-proto-fontsproto-devel >= 2.1.3 |
d7c80650 JB |
22 | BuildRequires: xorg-proto-xproto-devel |
23 | BuildRequires: xorg-sgml-doctools >= 1.7 | |
4997f492 | 24 | BuildRequires: xorg-util-util-macros >= 1.10 |
743dbafc | 25 | BuildRequires: zlib-devel |
17006ac8 | 26 | Obsoletes: libXfont |
31b7857d | 27 | Obsoletes: xorg-app-mkcfm |
083e4da4 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
693e7b13 | 29 | |
693e7b13 | 30 | %description |
743dbafc JB |
31 | libXfont provides the core of the legacy X11 font system, handling the |
32 | index files (fonts.dir, fonts.alias, fonts.scale), the various font | |
5c46984e | 33 | file formats, and rasterizing them. It is used by the X servers, the X |
34 | Font Server (xfs), and some font utilities (bdftopcf for instance), | |
743dbafc JB |
35 | but should not be used by normal X11 clients. X11 clients access fonts |
36 | via either the new API's in libXft, or the legacy API's in libX11. | |
693e7b13 | 37 | |
b3c44346 | 38 | %description -l pl.UTF-8 |
743dbafc JB |
39 | libXfont udostępnia główną część starego systemu fontów X11, |
40 | obsługującą pliki indeksów (fonts.dir, fonts.alias, fonts.scale), | |
41 | różne formaty plików fontów oraz rasteryzację ich. Jest używana przez | |
42 | serwer X, serwer fontów X (xfs - X Font Server) i różne narzędzia | |
43 | związane z fontami (np. bdftopcf), ale nie powinna być używana przez | |
5c46984e | 44 | normalne aplikacje klienckie X11. Te ostatnie powinny odwoływać się do |
45 | fontów przez nowe API w libXft lub stare API w libX11. | |
693e7b13 | 46 | |
693e7b13 | 47 | %package devel |
946678bd | 48 | Summary: Header files for libXfont library |
25daba2f | 49 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXfont |
693e7b13 | 50 | Group: X11/Development/Libraries |
083e4da4 | 51 | Requires: %{name} = %{version}-%{release} |
743dbafc | 52 | Requires: bzip2-devel |
cc033783 | 53 | Requires: freetype-devel >= 2 |
693e7b13 AM |
54 | Requires: xorg-lib-libfontenc-devel |
55 | Requires: xorg-lib-xtrans-devel | |
a46b76ec | 56 | Requires: xorg-proto-fontsproto-devel >= 2.1.3 |
d7c80650 | 57 | Requires: xorg-proto-xproto-devel |
743dbafc | 58 | Requires: zlib-devel |
17006ac8 | 59 | Obsoletes: libXfont-devel |
693e7b13 | 60 | |
693e7b13 | 61 | %description devel |
083e4da4 | 62 | X font library used by the X server. |
693e7b13 AM |
63 | |
64 | This package contains the header files needed to develop programs that | |
946678bd | 65 | use libXfont. |
693e7b13 | 66 | |
b3c44346 JR |
67 | %description devel -l pl.UTF-8 |
68 | Używana przez X serwer biblioteka fontów X. | |
693e7b13 | 69 | |
b3c44346 JR |
70 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
71 | używających biblioteki libXfont. | |
693e7b13 | 72 | |
693e7b13 AM |
73 | %package static |
74 | Summary: Static libXfont libraries | |
25daba2f | 75 | Summary(pl.UTF-8): Biblioteki statyczne libXfont |
083e4da4 JB |
76 | Group: X11/Development/Libraries |
77 | Requires: %{name}-devel = %{version}-%{release} | |
17006ac8 | 78 | Obsoletes: libXfont-static |
693e7b13 AM |
79 | |
80 | %description static | |
083e4da4 | 81 | X font library used by the X server. |
693e7b13 AM |
82 | |
83 | This package contains the static libXfont library. | |
84 | ||
b3c44346 JR |
85 | %description static -l pl.UTF-8 |
86 | Używana przez X serwer biblioteka fontów X. | |
693e7b13 | 87 | |
b3c44346 | 88 | Pakiet zawiera statyczną bibliotekę libXfont. |
693e7b13 | 89 | |
693e7b13 AM |
90 | %prep |
91 | %setup -q -n libXfont-%{version} | |
693e7b13 AM |
92 | |
93 | %build | |
94 | %{__libtoolize} | |
95 | %{__aclocal} | |
96 | %{__autoconf} | |
97 | %{__autoheader} | |
98 | %{__automake} | |
99 | %configure \ | |
38e599bf | 100 | --with-bzip2 |
693e7b13 AM |
101 | |
102 | %{__make} | |
103 | ||
693e7b13 AM |
104 | %install |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
107 | %{__make} install \ | |
4997f492 | 108 | DESTDIR=$RPM_BUILD_ROOT |
693e7b13 | 109 | |
7d8cee27 TP |
110 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXfont.la |
111 | ||
693e7b13 AM |
112 | %clean |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
115 | %post -p /sbin/ldconfig | |
116 | %postun -p /sbin/ldconfig | |
117 | ||
693e7b13 AM |
118 | %files |
119 | %defattr(644,root,root,755) | |
5cce1717 | 120 | %doc AUTHORS COPYING ChangeLog README |
083e4da4 | 121 | %attr(755,root,root) %{_libdir}/libXfont.so.*.*.* |
c6dc5aa9 | 122 | %attr(755,root,root) %ghost %{_libdir}/libXfont.so.1 |
693e7b13 AM |
123 | |
124 | %files devel | |
125 | %defattr(644,root,root,755) | |
d7c80650 | 126 | %doc doc/*.html |
083e4da4 | 127 | %attr(755,root,root) %{_libdir}/libXfont.so |
083e4da4 | 128 | %{_includedir}/X11/fonts/*.h |
693e7b13 AM |
129 | %{_pkgconfigdir}/xfont.pc |
130 | ||
693e7b13 AM |
131 | %files static |
132 | %defattr(644,root,root,755) | |
133 | %{_libdir}/libXfont.a |