Fixed package groups
[platform/upstream/libXxf86vm.git] / packaging / libXxf86vm.spec
1 Name:           libXxf86vm
2 Version:        1.1.2
3 Release:        1
4 License:        MIT
5 Summary:        X.org libXxf86vm library
6 Url:            http://www.x.org
7 Group:          Graphics/X Window System
8 Source:         %{name}-%{version}.tar.bz2
9
10 BuildRequires:  pkgconfig(xext)
11 BuildRequires:  pkgconfig(xf86vidmodeproto)
12 BuildRequires:  pkgconfig(xorg-macros)
13
14 %description
15 X.Org X11 libXxf86vm runtime library
16
17 %package devel
18 Summary:        X.org libXxf86vm library
19 Group:          Development/Libraries
20 Requires:       %{name} = %{version}
21
22 %description devel
23 X.Org X11 libXxf86vm development package
24
25 %prep
26 %setup -q
27
28 %build
29 %reconfigure --disable-static 
30 make %{?_smp_mflags}
31
32 %install
33 %make_install
34
35 %remove_docs
36
37 %post -p /sbin/ldconfig
38
39 %postun -p /sbin/ldconfig
40
41 %files
42 %defattr(-,root,root,-)
43 %license COPYING 
44 %{_libdir}/libXxf86vm.so.1
45 %{_libdir}/libXxf86vm.so.1.0.0
46
47 %files devel
48 %defattr(-,root,root,-)
49 %{_libdir}/libXxf86vm.so
50 %{_libdir}/pkgconfig/xxf86vm.pc
51 %{_includedir}/X11/extensions/xf86vmode.h