fixing the group section in spec file
[pkgs/xorg/lib/libxxf86misc.git] / packaging / libxxf86misc.spec
1
2 Name:       libxxf86misc
3 Summary:    X11 XFree86 miscellaneous extension library
4 Version:    1.0.2
5 Release:    6.5
6 Group:      Graphics/X Window System
7 License:    MIT
8 URL:        http://www.x.org/
9 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
10 Source1001: packaging/libxxf86misc.manifest 
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
13 BuildRequires:  pkgconfig(xorg-macros)
14 BuildRequires:  pkgconfig(xproto)
15 BuildRequires:  pkgconfig(xf86miscproto)
16 BuildRequires:  pkgconfig(x11)
17 BuildRequires:  pkgconfig(xext)
18 BuildRequires:  pkgconfig(xextproto)
19
20
21 %description
22 X11 XFree86 miscellaneous extension library 
23 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.
24
25 More information about X.Org can be found at:
26 <URL:http://www.X.org>
27 <URL:http://xorg.freedesktop.org>
28 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
29
30 This module can be found at
31 git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc
32
33
34 %package devel
35 Summary:    X11 XFree86 miscellaneous extension library (development headers)
36 Group:      Development/Libraries
37 Requires:   %{name} = %{version}-%{release}
38
39 %description devel
40 X11 XFree86 miscellaneous extension library (development headers)
41 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.
42
43 This package contains the development headers for the library found in libxxf86misc1.  Non-developers likely have little use for this package.
44
45 More information about X.Org can be found at:
46 <URL:http://www.X.org>
47 <URL:http://xorg.freedesktop.org>
48 <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
49
50 This module can be found at
51 git://anongit.freedesktop.org/git/xorg/lib/libXxf86misc
52
53
54 %prep
55 %setup -q
56
57
58 %build
59 cp %{SOURCE1001} .
60 export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
61 %reconfigure --disable-static
62 make %{?jobs:-j%jobs}
63
64
65 rm -rf %{buildroot}
66 %make_install
67
68
69
70
71 %post -p /sbin/ldconfig
72
73 %postun -p /sbin/ldconfig
74
75
76
77 %files
78 %manifest libxxf86misc.manifest
79 %defattr(-,root,root,-)
80 %{_libdir}/libXxf86misc.so.1
81 %{_libdir}/libXxf86misc.so.1.1.0
82
83
84 %files devel
85 %manifest libxxf86misc.manifest
86 %defattr(-,root,root,-)
87 %{_libdir}/libXxf86misc.so
88 %{_libdir}/pkgconfig/xxf86misc.pc
89 %doc %{_mandir}/man3/*.3*
90