/[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 3228 - (show annotations) (download)
Sun Jan 9 16:28:56 2011 UTC (13 years, 3 months ago) by blino
File size: 2415 byte(s)
remove old ldconfig scriptlets

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

  ViewVC Help
Powered by ViewVC 1.1.30