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