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