/[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 108456 - (show annotations) (download)
Thu Jun 16 21:18:25 2011 UTC (12 years, 10 months ago) by tv
File size: 2544 byte(s)
new release
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 %define libxi_static_devel %mklibname xi -d -s
9
10 Name: libxi
11 Summary: X Input Extension Library
12 Version: 1.4.3
13 Release: %mkrel 1
14 Group: Development/X11
15 License: MIT
16 URL: http://xorg.freedesktop.org
17 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXi-%{version}.tar.bz2
18 BuildRoot: %{_tmppath}/%{name}-root
19
20 BuildRequires: libx11-devel >= 1.3
21 BuildRequires: libxext-devel >= 1.1
22 BuildRequires: x11-proto-devel >= 7.5
23 BuildRequires: x11-util-macros >= 1.0.1
24 %if !%bootstrap
25 # necessary for building the man pages
26 BuildRequires: xmlto
27 BuildRequires: asciidoc
28 BuildRequires: docbook-dtd412-xml
29 %endif
30
31 %description
32 X Input Extension Library
33
34 #-----------------------------------------------------------
35
36 %package -n %{libxi}
37 Summary: X Input Extension Library
38 Group: Development/X11
39 Conflicts: libxorg-x11 < 7.0
40 Provides: %{name} = %{version}
41
42 %description -n %{libxi}
43 X Input Extension Library
44
45 #-----------------------------------------------------------
46
47 %package -n %{libxi_devel}
48 Summary: Development files for %{name}
49 Group: Development/X11
50
51 Requires: %{libxi} = %{version}
52 Requires: x11-proto-devel >= 7.5
53 Provides: libxi-devel = %{version}-%{release}
54 Obsoletes: %mklibname xi 6 -d
55
56 Conflicts: libxorg-x11-devel < 7.0
57 Conflicts: x11-proto-devel < 7.5
58
59 %description -n %{libxi_devel}
60 Development files for %{name}
61
62 %files -n %{libxi_devel}
63 %defattr(-,root,root)
64 %{_libdir}/libXi.so
65 %{_libdir}/libXi.la
66 %{_libdir}/pkgconfig/xi.pc
67 %{_includedir}/X11/extensions/*.h
68 %{_mandir}/man3/X*
69 %{_datadir}/doc/libXi/doc/*
70 %{_datadir}/doc/libXi/specs/*
71
72 #-----------------------------------------------------------
73
74 %package -n %{libxi_static_devel}
75 Summary: Static development files for %{name}
76 Group: Development/X11
77 Requires: %{libxi_devel} = %{version}-%{release}
78 Provides: libxi-static-devel = %{version}-%{release}
79 Obsoletes: %mklibname xi 6 -d -s
80
81 Conflicts: libxorg-x11-static-devel < 7.0
82
83 %description -n %{libxi_static_devel}
84 Static development files for %{name}
85
86 %files -n %{libxi_static_devel}
87 %defattr(-,root,root)
88 %{_libdir}/libXi.a
89
90 #-----------------------------------------------------------
91
92 %prep
93 %setup -q -n libXi-%{version}
94
95 %build
96 %configure2_5x
97
98 %make
99
100 %install
101 rm -rf %{buildroot}
102 %makeinstall_std
103
104 %clean
105 rm -rf %{buildroot}
106
107 %files -n %{libxi}
108 %defattr(-,root,root)
109 %{_libdir}/libXi.so.6
110 %{_libdir}/libXi.so.6.1.0
111
112
113

  ViewVC Help
Powered by ViewVC 1.1.30