2012-02-09 13:18:57 +00:00
|
|
|
#
|
|
|
|
# spec file for package libXrandr
|
|
|
|
#
|
2017-05-29 13:30:34 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-02-09 13:18:57 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-03-07 09:47:37 +00:00
|
|
|
|
|
|
|
|
2012-02-09 13:18:57 +00:00
|
|
|
Name: libXrandr
|
2015-05-18 09:13:17 +00:00
|
|
|
%define lname libXrandr2
|
2016-10-06 12:47:54 +00:00
|
|
|
Version: 1.5.1
|
2012-02-09 13:18:57 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: X Resize, Rotate and Reflection extension library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-03-07 09:47:37 +00:00
|
|
|
Url: http://xorg.freedesktop.org/
|
2012-02-09 13:18:57 +00:00
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXrandr
|
2012-02-13 10:07:57 +00:00
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXrandr/
|
2012-04-12 10:44:51 +00:00
|
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
2015-05-18 09:23:45 +00:00
|
|
|
Source1: baselibs.conf
|
2012-03-07 09:47:37 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-07-31 10:18:14 +00:00
|
|
|
|
|
|
|
BuildRequires: autoconf >= 2.60
|
|
|
|
BuildRequires: automake
|
2012-03-07 09:47:37 +00:00
|
|
|
BuildRequires: fdupes
|
2012-07-31 10:18:14 +00:00
|
|
|
BuildRequires: libtool
|
2012-04-12 10:44:51 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-12-17 09:50:16 +00:00
|
|
|
BuildRequires: pkgconfig(randrproto) >= 1.5
|
2012-03-07 09:47:37 +00:00
|
|
|
BuildRequires: pkgconfig(renderproto)
|
2012-04-12 10:44:51 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
2012-02-09 13:18:57 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The X Resize, Rotate and Reflect Extension (RandR) allows clients to
|
|
|
|
dynamically change X screens, so as to resize, to change the
|
|
|
|
orientation and layout of the root window of a screen.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: X Resize, Rotate and Reflection extension library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
The X Resize, Rotate and Reflect Extension (RandR) allows clients to
|
|
|
|
dynamically change X screens, so as to resize, to change the
|
|
|
|
orientation and layout of the root window of a screen.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X Resize-Rotate-Reflection library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The X Resize, Rotate and Reflect Extension (RandR) allows clients to
|
|
|
|
dynamically change X screens, so as to resize, to change the
|
|
|
|
orientation and layout of the root window of a screen.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
|
|
|
in %lname.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-07-31 10:18:14 +00:00
|
|
|
autoreconf -fi
|
2012-02-09 13:18:57 +00:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-03-19 19:47:46 +00:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-02-09 13:18:57 +00:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2013-03-19 19:47:46 +00:00
|
|
|
%fdupes %buildroot/%_prefix
|
2012-02-09 13:18:57 +00:00
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXrandr.so.2*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/X11/*
|
|
|
|
%_libdir/libXrandr.so
|
|
|
|
%_libdir/pkgconfig/xrandr.pc
|
|
|
|
%_mandir/man3/*
|
|
|
|
|
|
|
|
%changelog
|