From 005b8fde34844251ac5dfd488303d4e748a7b4783ae2f1ead7d59f1b149eb976 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 27 Sep 2022 09:49:59 +0000 Subject: [PATCH 1/2] - Update to version 1.1.5 * Update README for gitlab migration * Update configure.ac bug URL for gitlab migration * Fix spelling/wording issues * gitlab CI: add a basic build test * Fix -Wsign-compare warning * Variable scope reductions as suggested by cppcheck * Update GetOldReq to use _XGetRequest() * autogen.sh: use quoted string variables * autogen: add default patch prefix * autogen.sh: use exec instead of waiting for configure to finish OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXxf86vm?expand=0&rev=15 --- libXxf86vm-1.1.4.tar.bz2 | 3 --- libXxf86vm-1.1.5.tar.xz | 3 +++ libXxf86vm.changes | 15 +++++++++++++++ libXxf86vm.spec | 11 ++++++----- 4 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 libXxf86vm-1.1.4.tar.bz2 create mode 100644 libXxf86vm-1.1.5.tar.xz diff --git a/libXxf86vm-1.1.4.tar.bz2 b/libXxf86vm-1.1.4.tar.bz2 deleted file mode 100644 index 4f23d5f..0000000 --- a/libXxf86vm-1.1.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57 -size 295346 diff --git a/libXxf86vm-1.1.5.tar.xz b/libXxf86vm-1.1.5.tar.xz new file mode 100644 index 0000000..9854e0c --- /dev/null +++ b/libXxf86vm-1.1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:247fef48b3e0e7e67129e41f1e789e8d006ba47dba1c0cdce684b9b703f888e7 +size 265384 diff --git a/libXxf86vm.changes b/libXxf86vm.changes index f8c9598..6ad840e 100644 --- a/libXxf86vm.changes +++ b/libXxf86vm.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Sep 27 09:40:35 UTC 2022 - Stefan Dirsch + +- Update to version 1.1.5 + * Update README for gitlab migration + * Update configure.ac bug URL for gitlab migration + * Fix spelling/wording issues + * gitlab CI: add a basic build test + * Fix -Wsign-compare warning + * Variable scope reductions as suggested by cppcheck + * Update GetOldReq to use _XGetRequest() + * autogen.sh: use quoted string variables + * autogen: add default patch prefix + * autogen.sh: use exec instead of waiting for configure to finish + ------------------------------------------------------------------- Mon Mar 9 10:06:42 UTC 2015 - sndirsch@suse.com diff --git a/libXxf86vm.spec b/libXxf86vm.spec index 389a7d0..62e49a2 100644 --- a/libXxf86vm.spec +++ b/libXxf86vm.spec @@ -1,7 +1,7 @@ # # spec file for package libXxf86vm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,27 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libXxf86vm %define lname libXxf86vm1 -Version: 1.1.4 +Version: 1.1.5 Release: 0 Summary: XFree86-VidMode X extension library License: MIT Group: Development/Libraries/C and C++ -Url: http://xorg.freedesktop.org/ +URL: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86vm #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXxf86vm/ -Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: fdupes +BuildRequires: grep BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) >= 1.6 BuildRequires: pkgconfig(xext) From 57e157fc21ecf0926b9608ab135e97a5a79cd1bd37215fb1e2f52f8d070d7f0f Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 30 Sep 2022 12:48:18 +0000 Subject: [PATCH 2/2] Accepting request 1007093 from home:dirkmueller:Factory - modernize spec file, add license OBS-URL: https://build.opensuse.org/request/show/1007093 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXxf86vm?expand=0&rev=16 --- libXxf86vm.changes | 5 +++++ libXxf86vm.spec | 44 ++++++++++++++++++++------------------------ 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/libXxf86vm.changes b/libXxf86vm.changes index 6ad840e..0bed5fc 100644 --- a/libXxf86vm.changes +++ b/libXxf86vm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 29 19:21:39 UTC 2022 - Dirk Müller + +- modernize spec file, add license + ------------------------------------------------------------------- Tue Sep 27 09:40:35 UTC 2022 - Stefan Dirsch diff --git a/libXxf86vm.spec b/libXxf86vm.spec index 62e49a2..a1edd50 100644 --- a/libXxf86vm.spec +++ b/libXxf86vm.spec @@ -16,20 +16,18 @@ # -Name: libXxf86vm %define lname libXxf86vm1 +Name: libXxf86vm Version: 1.1.5 Release: 0 Summary: XFree86-VidMode X extension library License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ - +URL: https://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXxf86vm #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXxf86vm/ -Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz +Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool BuildRequires: fdupes BuildRequires: grep @@ -46,11 +44,11 @@ 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. -%package -n %lname +%package -n %{lname} Summary: XFree86-VidMode X extension library Group: System/Libraries -%description -n %lname +%description -n %{lname} 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. @@ -58,7 +56,7 @@ and adjusted dynamically and mode switching to be controlled. %package devel Summary: Development files for the XFree86-VidMode X extension library Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} %description devel These functions provide aninterface to the server extension @@ -66,33 +64,31 @@ XFree86-VidModeExtension which allows the video modes to be queried and adjusted dynamically and mode switching to be controlled. This package contains the development headers for the library found -in %lname. +in %{lname}. %prep %setup -q %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" -rm -f "%buildroot/%_libdir"/*.la -%fdupes %buildroot/%_prefix +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes %{buildroot}/%{_prefix} -%post -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig - -%files -n %lname -%defattr(-,root,root) -%_libdir/libXxf86vm.so.1* +%files -n %{lname} +%license COPYING +%{_libdir}/libXxf86vm.so.1* %files devel -%defattr(-,root,root) -%_includedir/X11/* -%_libdir/libXxf86vm.so -%_libdir/pkgconfig/xxf86vm.pc -%_mandir/man3/* +%{_includedir}/X11/* +%{_libdir}/libXxf86vm.so +%{_libdir}/pkgconfig/xxf86vm.pc +%{_mandir}/man3/* %changelog