]> git.pld-linux.org Git - packages/xorg-lib-libXfont2.git/blob - xorg-lib-libXfont2.spec
- updated to 2.0.1; no longer conflicts with libXfont-devel
[packages/xorg-lib-libXfont2.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.1
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/individual/lib/libXfont2-%{version}.tar.bz2
9 # Source0-md5:  0d9f6dd9c23bf4bcbfb00504b566baf5
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)
27
28 %description
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.
35
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.
44
45 %package devel
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}
50 Requires:       bzip2-devel
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
56 Requires:       zlib-devel
57
58 %description devel
59 X font library version 2.
60
61 This package contains the header files needed to develop programs that
62 use libXfont2.
63
64 %description devel -l pl.UTF-8
65 Biblioteka fontów X w wersji 2.
66
67 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
68 używających biblioteki libXfont2.
69
70 %package static
71 Summary:        Static libXfont2 library
72 Summary(pl.UTF-8):      Biblioteka statyczna libXfont2
73 Group:          X11/Development/Libraries
74 Requires:       %{name}-devel = %{version}-%{release}
75
76 %description static
77 X font library version 2.
78
79 This package contains the static libXfont2 library.
80
81 %description static -l pl.UTF-8
82 Biblioteka fontów X w wersji 2.
83
84 Pakiet zawiera statyczną bibliotekę libXfont2.
85
86 %prep
87 %setup -q -n libXfont2-%{version}
88
89 %build
90 %{__libtoolize}
91 %{__aclocal}
92 %{__autoconf}
93 %{__autoheader}
94 %{__automake}
95 %configure \
96         --with-bzip2
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXfont2.la
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %post   -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
113
114 %files
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
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc doc/*.html
123 %attr(755,root,root) %{_libdir}/libXfont2.so
124 %{_includedir}/X11/fonts/libxfont2.h
125 %{_pkgconfigdir}/xfont2.pc
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libXfont2.a
This page took 0.087457 seconds and 4 git commands to generate.