summaryrefslogtreecommitdiff
path: root/packaging/libXrandr.spec
blob: 5f7fcceaedb1a41469414dce72a0d66433e68750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

Name:       libXrandr
Summary:    X.Org X11 libXrandr runtime library
Version:    1.3.1
Release:    1
Group:      System/Libraries
License:    MIT
URL:        http://www.x.org/
Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  pkgconfig(randrproto) >= 1.3
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(xextproto)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xrender)
BuildRequires:  pkgconfig(xorg-macros)


%description
Xorg libXrandr runtime library


%package devel
Summary:    Development components for the libXrandr library
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}
Requires:   libXrender-devel

%description devel
Xorg libXrandr development package


%prep
%setup -q -n %{name}-%{version}


%build

%reconfigure --disable-static
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install




%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig





%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libXrandr.so.2
%{_libdir}/libXrandr.so.2.2.0


%files devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog
%dir %{_includedir}/X11
%dir %{_includedir}/X11/extensions
%{_includedir}/X11/extensions/Xrandr.h
%{_libdir}/libXrandr.so
%{_libdir}/pkgconfig/xrandr.pc
%doc %{_mandir}/man3/*.3*