summaryrefslogtreecommitdiff
path: root/packaging/libxxf86misc.spec
blob: f838bf04b50db849d169276b356783ea0f9f89f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

Name:       libxxf86misc
Summary:    X11 XFree86 miscellaneous extension library
Version:    1.0.2
Release:    6.5
Group:      Graphics/X Window System
License:    MIT
URL:        http://www.x.org/
Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
Source1001: packaging/libxxf86misc.manifest 
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  pkgconfig(xorg-macros)
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(xf86miscproto)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xextproto)


%description
X11 XFree86 miscellaneous extension library 
libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server.

More information about X.Org can be found at:
<URL:http://www.X.org>
<URL:http://xorg.freedesktop.org>
<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>

This module can be found at
git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc


%package devel
Summary:    X11 XFree86 miscellaneous extension library (development headers)
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
X11 XFree86 miscellaneous extension library (development headers)
libXxf86misc provides an interface to the XFree86-Misc extension, which allows client applications to query the current keyboard and mouse settings of the running XFree86-based (XFree86, Xorg) server.

This package contains the development headers for the library found in libxxf86misc1.  Non-developers likely have little use for this package.

More information about X.Org can be found at:
<URL:http://www.X.org>
<URL:http://xorg.freedesktop.org>
<URL:http://lists.freedesktop.org/mailman/listinfo/xorg>

This module can be found at
git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc


%prep
%setup -q


%build
cp %{SOURCE1001} .
export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
%reconfigure --disable-static
make %{?jobs:-j%jobs}


rm -rf %{buildroot}
%make_install




%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig



%files
%manifest libxxf86misc.manifest
%defattr(-,root,root,-)
%{_libdir}/libXxf86misc.so.1
%{_libdir}/libXxf86misc.so.1.1.0


%files devel
%manifest libxxf86misc.manifest
%defattr(-,root,root,-)
%{_libdir}/libXxf86misc.so
%{_libdir}/pkgconfig/xxf86misc.pc
%doc %{_mandir}/man3/*.3*