/[packages]/cauldron/libxi/current/SPECS/libxi.spec
ViewVC logotype

Contents of /cauldron/libxi/current/SPECS/libxi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 655457 - (show annotations) (download)
Tue Jul 22 07:41:07 2014 UTC (6 years, 2 months ago) by sander85
File size: 1815 byte(s)
New version: 1.7.4
1 %define bootstrap 0
2 %{?_without_bootstrap: %global bootstrap 0}
3 %{?_with_bootstrap: %global bootstrap 1}
4
5 %define major 6
6 %define libxi %mklibname xi %{major}
7 %define libxi_devel %mklibname xi -d
8
9 Name: libxi
10 Summary: X Input Extension Library
11 Version: 1.7.4
12 Release: %mkrel 1
13 Group: Development/X11
14 License: MIT
15 URL: http://xorg.freedesktop.org
16 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXi-%{version}.tar.bz2
17 BuildRequires: libx11-devel >= 1.3
18 BuildRequires: libxext-devel >= 1.1
19 BuildRequires: x11-proto-devel >= 7.5
20 BuildRequires: x11-util-macros >= 1.0.1
21 BuildRequires: pkgconfig(xfixes)
22 %if !%{bootstrap}
23 # necessary for building the man pages
24 BuildRequires: xmlto
25 BuildRequires: asciidoc
26 BuildRequires: docbook-dtd412-xml
27 %endif
28
29 %description
30 X Input Extension Library
31
32 #-----------------------------------------------------------
33
34 %package -n %{libxi}
35 Summary: X Input Extension Library
36 Group: Development/X11
37 Provides: %{name} = %{version}
38
39 %description -n %{libxi}
40 X Input Extension Library
41
42 %files -n %{libxi}
43 %{_libdir}/libXi.so.%{major}
44 %{_libdir}/libXi.so.%{major}.*
45
46 #-----------------------------------------------------------
47
48 %package -n %{libxi_devel}
49 Summary: Development files for %{name}
50 Group: Development/X11
51 Requires: %{libxi} = %{version}-%{release}
52 Provides: libxi-devel = %{version}-%{release}
53 Obsoletes: %{_lib}xi-static-devel < 1.7.2-2
54
55 %description -n %{libxi_devel}
56 Development files for %{name}
57
58 %files -n %{libxi_devel}
59 %{_libdir}/libXi.so
60 %{_libdir}/pkgconfig/xi.pc
61 %{_includedir}/X11/extensions/*.h
62 %{_mandir}/man3/X*
63 %doc %{_datadir}/doc/libXi
64
65 #-----------------------------------------------------------
66
67 %prep
68 %setup -q -n libXi-%{version}
69
70 %build
71 %configure2_5x --disable-static
72 %make
73
74 %install
75 %makeinstall_std
76
77 find %{buildroot} -name "*.la" -delete

  ViewVC Help
Powered by ViewVC 1.1.28