2012-02-09 14:19:43 +01:00
|
|
|
#
|
|
|
|
# spec file for package libXxf86vm
|
|
|
|
#
|
2022-09-27 11:49:59 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-02-09 14:19:43 +01: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.
|
|
|
|
|
2022-09-27 11:49:59 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-09 14:19:43 +01:00
|
|
|
#
|
2012-03-07 10:47:53 +01:00
|
|
|
|
|
|
|
|
2012-02-09 14:19:43 +01:00
|
|
|
%define lname libXxf86vm1
|
2022-09-30 14:48:18 +02:00
|
|
|
Name: libXxf86vm
|
2022-09-27 11:49:59 +02:00
|
|
|
Version: 1.1.5
|
2012-02-09 14:19:43 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: XFree86-VidMode X extension library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-30 14:48:18 +02:00
|
|
|
URL: https://xorg.freedesktop.org/
|
2012-02-09 14:19:43 +01:00
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86vm
|
2012-02-13 11:08:30 +01:00
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXxf86vm/
|
2022-09-30 14:48:18 +02:00
|
|
|
Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
2015-03-09 11:08:08 +01:00
|
|
|
Source1: baselibs.conf
|
2012-02-09 14:19:43 +01:00
|
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
2012-03-07 10:47:53 +01:00
|
|
|
BuildRequires: fdupes
|
2022-09-27 11:49:59 +02:00
|
|
|
BuildRequires: grep
|
2012-04-12 12:45:04 +02:00
|
|
|
BuildRequires: pkgconfig
|
2015-03-09 11:02:56 +01:00
|
|
|
BuildRequires: pkgconfig(x11) >= 1.6
|
2012-04-12 12:45:04 +02:00
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xf86vidmodeproto) >= 2.2.99.1
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
|
|
|
BuildRequires: pkgconfig(xproto)
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%description
|
2012-02-13 11:08:30 +01:00
|
|
|
These functions provide aninterface to the server extension
|
|
|
|
XFree86-VidModeExtension which allows the video modes to be queried
|
|
|
|
and adjusted dynamically and mode switching to be controlled.
|
2012-02-09 14:19:43 +01:00
|
|
|
|
2022-09-30 14:48:18 +02:00
|
|
|
%package -n %{lname}
|
2012-02-09 14:19:43 +01:00
|
|
|
Summary: XFree86-VidMode X extension library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2022-09-30 14:48:18 +02:00
|
|
|
%description -n %{lname}
|
2012-02-13 11:08:30 +01:00
|
|
|
These functions provide aninterface to the server extension
|
|
|
|
XFree86-VidModeExtension which allows the video modes to be queried
|
|
|
|
and adjusted dynamically and mode switching to be controlled.
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the XFree86-VidMode X extension library
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-09-30 14:48:18 +02:00
|
|
|
Requires: %{lname} = %{version}
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%description devel
|
2012-02-13 11:08:30 +01:00
|
|
|
These functions provide aninterface to the server extension
|
|
|
|
XFree86-VidModeExtension which allows the video modes to be queried
|
|
|
|
and adjusted dynamically and mode switching to be controlled.
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
2022-09-30 14:48:18 +02:00
|
|
|
in %{lname}.
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2022-09-30 14:48:18 +02:00
|
|
|
%make_build
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%install
|
2022-09-30 14:48:18 +02:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2012-02-09 14:19:43 +01:00
|
|
|
|
2022-09-30 14:48:18 +02:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2012-02-09 14:19:43 +01:00
|
|
|
|
2022-09-30 14:48:18 +02:00
|
|
|
%files -n %{lname}
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libXxf86vm.so.1*
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%files devel
|
2022-09-30 14:48:18 +02:00
|
|
|
%{_includedir}/X11/*
|
|
|
|
%{_libdir}/libXxf86vm.so
|
|
|
|
%{_libdir}/pkgconfig/xxf86vm.pc
|
|
|
|
%{_mandir}/man3/*
|
2012-02-09 14:19:43 +01:00
|
|
|
|
|
|
|
%changelog
|