Git init
[framework/uifw/xorg/lib/libxinerama.git] / packaging / libXinerama.spec
1
2 Name:       libXinerama
3 Summary:    X.Org X11 libXinerama runtime library
4 Version:    1.1.1
5 Release:    1
6 Group:      System/Libraries
7 License:    MIT/X11
8 URL:        http://www.x.org
9 Source0:    http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
10 Requires(post):  /sbin/ldconfig
11 Requires(postun):  /sbin/ldconfig
12 BuildRequires:  pkgconfig(xproto)
13 BuildRequires:  pkgconfig(xextproto)
14 BuildRequires:  pkgconfig(x11)
15 BuildRequires:  pkgconfig(xext)
16 BuildRequires:  pkgconfig(xineramaproto)
17 BuildRequires:  pkgconfig(xorg-macros)
18
19 %description
20 X.Org X11 libXinerama runtime library
21
22
23 %package devel
24 Summary:    X.Org X11 libXinerama development package
25 Group:      Development/Libraries
26 Requires:   %{name} = %{version}-%{release}
27
28 %description devel
29 X.Org X11 libXinerama development package
30
31
32 %prep
33 %setup -q -n %{name}-%{version}
34
35
36 %build
37
38 %reconfigure --disable-static
39
40 # Call make instruction with smp support
41 make %{?jobs:-j%jobs}
42
43 %install
44 rm -rf %{buildroot}
45 %make_install
46
47
48 %clean
49 rm -rf %{buildroot}
50
51
52
53 %post -p /sbin/ldconfig
54
55 %postun -p /sbin/ldconfig
56
57
58
59 %files
60 %defattr(-,root,root,-)
61 %doc COPYING
62 %{_libdir}/libXinerama.so.1
63 %{_libdir}/libXinerama.so.1.0.0
64
65
66 %files devel
67 %defattr(-,root,root,-)
68 %doc README ChangeLog
69 %{_includedir}/X11/extensions/*.h
70 %{_libdir}/libXinerama.so
71 %{_libdir}/pkgconfig/xinerama.pc
72 %{_mandir}/man3/*.3*
73