]> git.pld-linux.org Git - SPECS.git/blob - xorg-lib-libXfont2.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / xorg-lib-libXfont2.spec
1 Summary:        X font library version 2
2 Summary(pl.UTF-8):      Biblioteka fontów X w wersji 2
3 Name:           xorg-lib-libXfont2
4 Version:        2.0.4
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
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)
28
29 %description
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.
36
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.
45
46 %package devel
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}
51 Requires:       bzip2-devel
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
57 Requires:       zlib-devel
58
59 %description devel
60 X font library version 2.
61
62 This package contains the header files needed to develop programs that
63 use libXfont2.
64
65 %description devel -l pl.UTF-8
66 Biblioteka fontów X w wersji 2.
67
68 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
69 używających biblioteki libXfont2.
70
71 %package static
72 Summary:        Static libXfont2 library
73 Summary(pl.UTF-8):      Biblioteka statyczna libXfont2
74 Group:          X11/Development/Libraries
75 Requires:       %{name}-devel = %{version}-%{release}
76
77 %description static
78 X font library version 2.
79
80 This package contains the static libXfont2 library.
81
82 %description static -l pl.UTF-8
83 Biblioteka fontów X w wersji 2.
84
85 Pakiet zawiera statyczną bibliotekę libXfont2.
86
87 %prep
88 %setup -q -n libXfont2-%{version}
89
90 %build
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 # FIXME: drop this when configure supports libbsd properly
97 CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags libbsd-overlay)"
98 %configure \
99         --with-bzip2
100
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXfont2.la
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post   -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
116
117 %files
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
122
123 %files devel
124 %defattr(644,root,root,755)
125 %doc doc/*.html
126 %attr(755,root,root) %{_libdir}/libXfont2.so
127 %{_includedir}/X11/fonts/libxfont2.h
128 %{_pkgconfigdir}/xfont2.pc
129
130 %files static
131 %defattr(644,root,root,755)
132 %{_libdir}/libXfont2.a
This page took 0.950704 seconds and 3 git commands to generate.