lxrandr 0.3.2-3 (x86_64;aarch64;znver1) 2024-17632
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/389979
Packages
lxrandr-0.3.2-3.x86_64.source
lxrandr-0.3.2-3.x86_64.binary
lxrandr-debuginfo-0.3.2-3.x86_64.debuginfo
lxrandr-debugsource-0.3.2-3.x86_64.binary
lxrandr-0.3.2-3.aarch64.binary
lxrandr-0.3.2-3.aarch64.source
lxrandr-debuginfo-0.3.2-3.aarch64.debuginfo
lxrandr-debugsource-0.3.2-3.aarch64.binary
lxrandr-0.3.2-3.znver1.source
lxrandr-0.3.2-3.znver1.binary
lxrandr-debuginfo-0.3.2-3.znver1.debuginfo
lxrandr-debugsource-0.3.2-3.znver1.binary
Build Date 2024-01-01 00:09:14 +0000 UTC
Last Updated 2024-01-04 23:52:02.814694305 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 60931afa661c448f7602d141a9d45373a41175a0

commit 60931afa661c448f7602d141a9d45373a41175a0
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 17:35:19 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 17:35:19 2023 +0000

    upgrade at the latest git version and rebuild against gtk3
---
 .abf.yml     |  2 +-
 lxrandr.spec | 33 +++++++++++++++++++++++----------
 2 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 0c8d037..c673adc 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  lxrandr-0.3.2.tar.xz: a76b3d79ab1d5aa974a2ad25b1882685159a2e98
+  lxrandr-a78873f6727a826423eab55be1e4edb69f660cdf.tar.gz: 7f51d72c1513d56fd40350423852270414ffede2
diff --git a/lxrandr.spec b/lxrandr.spec
index 12fbc89..3ba3cff 100644
--- a/lxrandr.spec
+++ b/lxrandr.spec
@@ -1,17 +1,32 @@
-%define git 0
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+	%global commit		a78873f6727a826423eab55be1e4edb69f660cdf
+	%global commitdate	20230917
+	%global shortcommit	%(c=%{commit}; echo ${c:0:7})
+%endif
 
 Summary:	Simple monitor config tool for LXDE
 Name:     	lxrandr
 Version:	0.3.2
-Release:	2
+Release:	3
 License:	GPLv2+
 Group:		Graphical desktop/Other
 Url:		http://lxde.sourceforge.net/
-Source0: 	http://sourceforge.net/lxde/%{name}-%{version}.tar.xz
+#Source0: 	http://sourceforge.net/lxde/%{name}-%{version}.tar.xz
+Source0:	https://github.com/lxde/lxrandr/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
+
 BuildRequires:	intltool
 BuildRequires:	pkgconfig(gtk+-3.0)
 Requires:	xrandr
 
+%files -f %{name}.lang
+%{_bindir}/%{name}
+%{_datadir}/applications/*.desktop
+%{_mandir}/man1/*.1*
+
+#---------------------------------------------------------------------------
+
 %description
 This is a very basic monitor config tool utilizing XRandR. It can let you
 change the screen resolution on the fly. Besides, when you run lxrandr
@@ -19,19 +34,17 @@ with external monitor connected, its GUI will change, and show you some
 quick options to get your projector working correctly.
 
 %prep
-%setup -q
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
 
 %build
-%configure --enable-gtk3
+sh ./autogen.sh
+%configure \
+	--enable-gtk3
 %make_build
 
 %install
 %make_install
 
+# locales
 %find_lang %{name}
 
-%files -f %{name}.lang
-%{_bindir}/%{name}
-%{_datadir}/applications/*.desktop
-%{_mandir}/man1/*.1*
-
Not Available

369start [@T] proton.meNo Comment.114d 05hrs
369start [@T] proton.meNo Comment.114d 05hrs