a37492da468558c54a98dd3bd04420d03d791e01
[platform/upstream/libXft.git] / packaging / libXft.spec
1 Name:           libXft
2 Version:        2.3.1
3 Release:        0
4 License:        MIT
5 Summary:        X FreeType library
6 Url:            http://xorg.freedesktop.org/
7 Group:          Graphics/X Window System
8 Source:         %{name}-%{version}.tar.bz2
9 Source1001:     libXft.manifest
10 BuildRequires:  autoconf >= 2.60
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRequires:  pkgconfig
14 BuildRequires:  pkgconfig(fontconfig) >= 2.5.92
15 BuildRequires:  pkgconfig(freetype2) >= 2.1.6
16 BuildRequires:  pkgconfig(x11)
17 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
18 BuildRequires:  pkgconfig(xrender) >= 0.8.2
19
20 %description
21 Xft is a library that connects X applications with the FreeType font
22 rasterization library. Xft uses fontconfig to locate fonts so it has
23 no configuration files.
24
25 %package devel
26 Summary:        Development files for the X FreeType library
27 Group:          Development/Libraries
28 Requires:       libXft = %{version}
29
30 %description devel
31 Xft is a library that connects X applications with the FreeType font
32 rasterization library. Xft uses fontconfig to locate fonts so it has
33 no configuration files.
34
35 This package contains the development headers for the library found
36 in libXft.
37
38 %prep
39 %setup -q
40 cp %{SOURCE1001} .
41
42 %build
43 autoreconf -fi
44 %configure --disable-static
45 make %{?_smp_mflags}
46
47 %install
48 %make_install
49
50 %post  -p /sbin/ldconfig
51
52 %postun  -p /sbin/ldconfig
53
54 %files 
55 %manifest %{name}.manifest
56 %defattr(-,root,root)
57 %license COPYING
58 %{_libdir}/libXft.so.2*
59
60 %files devel
61 %manifest %{name}.manifest
62 %defattr(-,root,root)
63 %{_includedir}/X11/Xft
64 %{_libdir}/libXft.so
65 %{_libdir}/pkgconfig/xft.pc
66 %{_mandir}/man3/*
67
68 %changelog