$ git show --format=fuller --patch-with-stat --summary a85431daf3a5164a4a7497b8e4a81a973309ecb3
commit a85431daf3a5164a4a7497b8e4a81a973309ecb3
Author: mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 17:52:19 2023 +0000
Commit: mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 17:52:19 2023 +0000
upgrade at the latest git version and rebuild against gtk3
---
.abf.yml | 2 +-
lxmenu-data.spec | 30 ++++++++++++++++++++++--------
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/.abf.yml b/.abf.yml
index a3f7514..00c5116 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
sources:
- lxmenu-data-0.1.5.tar.gz: 319d53bb0cf5e41a4b471a154cde446c24143de4
+ lxmenu-data-6ffc8b388792fc89d40850bb2b6d28e16eb7f1a3.tar.gz: 1c824d771577f7532f0698217b341ccc290a168a
diff --git a/lxmenu-data.spec b/lxmenu-data.spec
index 349522f..78d9e02 100644
--- a/lxmenu-data.spec
+++ b/lxmenu-data.spec
@@ -1,8 +1,17 @@
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+ %global commit 6ffc8b388792fc89d40850bb2b6d28e16eb7f1a3
+ %global commitdate 20230801
+ %global shortcommit %(c=%{commit}; echo ${c:0:7})
+%endif
+
Summary: Menu data files for LXDE
Name: lxmenu-data
Version: 0.1.5
-Release: 4
-Source0: http://dfn.dl.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+Release: 5
+#Source0: http://dfn.dl.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
+Source0: https://github.com/lxde/%{name}/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
License: GPLv2+
Group: Graphical desktop/Other
Url: http://lxde.sourceforge.net/
@@ -18,17 +27,22 @@ spec-compliant desktop menus for LXDE.
The files are originally taken from gnome-menus, and some minor
modifications were made.
+%files
+%{_datadir}/desktop-directories/lxde-*.directory
+%{_sysconfdir}/xdg/menus/lxde-applications.menu
+
+#----------------------------------------------------------------------
+
%prep
-%setup -q
-[ -e autogen.sh ] && ./autogen.sh
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
%build
-%configure
+autoreconf -fiv
+%configure \
+ --enable-gtk3 \
+ %{nil}
%make_build
%install
%make_install
-%files
-%{_datadir}/desktop-directories/lxde-*.directory
-%{_sysconfdir}/xdg/menus/lxde-applications.menu