]> git.pld-linux.org Git - packages/xorg-lib-libXfont.git/blame - xorg-lib-libXfont.spec
- updated to 1.5.1 (fixes CVE-2015-1802 CVE-2015-1803 CVE-2015-1804)
[packages/xorg-lib-libXfont.git] / xorg-lib-libXfont.spec
CommitLineData
693e7b13 1Summary: X font library used by the X server
25daba2f 2Summary(pl.UTF-8): Używana przez X serwer biblioteka fontów X
693e7b13 3Name: xorg-lib-libXfont
602cceaa
JB
4Version: 1.5.1
5Release: 1
693e7b13
AM
6License: MIT
7Group: X11/Libraries
38852393 8Source0: http://xorg.freedesktop.org/releases/individual/lib/libXfont-%{version}.tar.bz2
602cceaa 9# Source0-md5: 96f76ba94b4c909230bac1e2dcd551c4
693e7b13 10URL: http://xorg.freedesktop.org/
5c9c4954 11BuildRequires: autoconf >= 2.60
693e7b13 12BuildRequires: automake
38e599bf 13BuildRequires: bzip2-devel
5c46984e 14BuildRequires: docbook-dtd44-xml
cc033783 15BuildRequires: freetype-devel >= 2
693e7b13 16BuildRequires: libtool
5900283a 17BuildRequires: pkgconfig >= 1:0.19
d7c80650 18BuildRequires: xmlto >= 0.0.22
083e4da4 19BuildRequires: xorg-lib-libfontenc-devel
693e7b13 20BuildRequires: xorg-lib-xtrans-devel
a46b76ec 21BuildRequires: xorg-proto-fontsproto-devel >= 2.1.3
d7c80650
JB
22BuildRequires: xorg-proto-xproto-devel
23BuildRequires: xorg-sgml-doctools >= 1.7
4997f492 24BuildRequires: xorg-util-util-macros >= 1.10
743dbafc 25BuildRequires: zlib-devel
17006ac8 26Obsoletes: libXfont
31b7857d 27Obsoletes: xorg-app-mkcfm
083e4da4 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
693e7b13 29
693e7b13 30%description
743dbafc
JB
31libXfont provides the core of the legacy X11 font system, handling the
32index files (fonts.dir, fonts.alias, fonts.scale), the various font
5c46984e 33file formats, and rasterizing them. It is used by the X servers, the X
34Font Server (xfs), and some font utilities (bdftopcf for instance),
743dbafc
JB
35but should not be used by normal X11 clients. X11 clients access fonts
36via 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
39libXfont udostępnia główną część starego systemu fontów X11,
40obsługującą pliki indeksów (fonts.dir, fonts.alias, fonts.scale),
41różne formaty plików fontów oraz rasteryzację ich. Jest używana przez
42serwer X, serwer fontów X (xfs - X Font Server) i różne narzędzia
43związane z fontami (np. bdftopcf), ale nie powinna być używana przez
5c46984e 44normalne aplikacje klienckie X11. Te ostatnie powinny odwoływać się do
45fontów przez nowe API w libXft lub stare API w libX11.
693e7b13 46
693e7b13 47%package devel
946678bd 48Summary: Header files for libXfont library
25daba2f 49Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXfont
693e7b13 50Group: X11/Development/Libraries
083e4da4 51Requires: %{name} = %{version}-%{release}
743dbafc 52Requires: bzip2-devel
cc033783 53Requires: freetype-devel >= 2
693e7b13
AM
54Requires: xorg-lib-libfontenc-devel
55Requires: xorg-lib-xtrans-devel
a46b76ec 56Requires: xorg-proto-fontsproto-devel >= 2.1.3
d7c80650 57Requires: xorg-proto-xproto-devel
743dbafc 58Requires: zlib-devel
17006ac8 59Obsoletes: libXfont-devel
693e7b13 60
693e7b13 61%description devel
083e4da4 62X font library used by the X server.
693e7b13
AM
63
64This package contains the header files needed to develop programs that
946678bd 65use libXfont.
693e7b13 66
b3c44346
JR
67%description devel -l pl.UTF-8
68Używana przez X serwer biblioteka fontów X.
693e7b13 69
b3c44346
JR
70Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
71używających biblioteki libXfont.
693e7b13 72
693e7b13
AM
73%package static
74Summary: Static libXfont libraries
25daba2f 75Summary(pl.UTF-8): Biblioteki statyczne libXfont
083e4da4
JB
76Group: X11/Development/Libraries
77Requires: %{name}-devel = %{version}-%{release}
17006ac8 78Obsoletes: libXfont-static
693e7b13
AM
79
80%description static
083e4da4 81X font library used by the X server.
693e7b13
AM
82
83This package contains the static libXfont library.
84
b3c44346
JR
85%description static -l pl.UTF-8
86Używana przez X serwer biblioteka fontów X.
693e7b13 87
b3c44346 88Pakiet 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
105rm -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
113rm -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
This page took 0.161244 seconds and 4 git commands to generate.