[packages/obconf-qt] - up to 0.16.6

mrozowik mrozowik at pld-linux.org
Thu Dec 11 01:11:25 CET 2025


commit 24cf196f3a72007af47796750a47a66a63839574
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Thu Dec 11 00:11:13 2025 +0000

    - up to 0.16.6

 obconf-qt.spec | 52 +++++++++++++++++++++++++++++++++-------------------
 1 file changed, 33 insertions(+), 19 deletions(-)
---
diff --git a/obconf-qt.spec b/obconf-qt.spec
index 427db51..96bb1ed 100644
--- a/obconf-qt.spec
+++ b/obconf-qt.spec
@@ -1,37 +1,49 @@
-%define		qtver		4.8.5
+%define		qtver		6.6.0
 
-Summary:	obconf-qt
+Summary:	Qt port of a configuration editor for OpenBox window manager
+Summary(pl.UTF-8):	Port Qt edytora konfiguracji dla menedżera okien OpenBox
 Name:		obconf-qt
-Version:	0.11.0
+Version:	0.16.6
 Release:	1
 License:	GPLv2 and LGPL-2.1+
 Group:		X11/Libraries
-Source0:	http://downloads.lxqt.org/obconf-qt/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	12de451f5ab442bf6174ea285f2670e9
+Source0:	https://github.com/lxqt/obconf-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	24eb56d0aac8099cbceeff412d82c4c9
 URL:		http://www.lxqt.org/
-BuildRequires:	QtCore-devel >= %{qtver}
-BuildRequires:	QtGui-devel >= %{qtver}
-BuildRequires:	QtXml-devel >= %{qtver}
-BuildRequires:	cmake >= 2.8.3
-BuildRequires:	glib2-devel
-BuildRequires:	openbox-devel >= 3.5
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= %{qtver}
+BuildRequires:	Qt6Widgets-devel >= %{qtver}
+BuildRequires:	cmake >= 3.5.0
+BuildRequires:	glib2-devel >= 1:2.50.0
+BuildRequires:	openbox-devel >= 1:3.5
+BuildRequires:	qt6-linguist >= %{qtver}
 BuildRequires:	xz-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-obconf-qt
+ObConf-Qt is a Qt port of ObConf, a configuration editor for window
+manager OpenBox.
+
+It is not actively developed anymore by LXQt project, code
+contributions and bugfixes will be accepted. It can be used
+independently from this desktop environment.
+
+%description -l pl.UTF-8
+ObConf-Qt to port Qt programu ObConf, edytora konfiguracji dla
+menedżera okien OpenBox.
+
+Nie jest on już aktywnie rozwijany przez projekt LXQt, akceptowany
+jest wkład w postaci kodu i poprawek błędów. Można go używać
+niezależnie od tego środowiska graficznego.
 
 %prep
 %setup -q
 
 %build
-install -d build
-cd build
-%cmake \
-	-DPULL_TRANSLATIONS:BOOL=OFF \
-	../
+%cmake -B build \
+	-DPULL_TRANSLATIONS:BOOL=OFF
 
-%{__make}
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -39,10 +51,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name} --with-qm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/obconf-qt
 %{_desktopdir}/obconf-qt.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/obconf-qt.git/commitdiff/24cf196f3a72007af47796750a47a66a63839574



More information about the pld-cvs-commit mailing list