Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package obconf for openSUSE:Factory checked in at 2024-12-02 16:59:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/obconf (Old) and /work/SRC/openSUSE:Factory/.obconf.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obconf" Mon Dec 2 16:59:06 2024 rev:23 rq:1227645 version:2.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/obconf/obconf.changes 2024-02-26 19:50:53.581843375 +0100 +++ /work/SRC/openSUSE:Factory/.obconf.new.28523/obconf.changes 2024-12-02 16:59:28.634064345 +0100 @@ -1,0 +2,8 @@ +Sat Nov 30 00:46:28 UTC 2024 - Richard Rahl <rra...@opensuse.org> + +- seperate out the translations into their own package +- fix build by adjusting CFLAGS with -Wno-implicit-function-declaration +- use macros for build commands +- attach a source to the tarball + +------------------------------------------------------------------- Old: ---- obconf-2.0.4.tar.bz2 New: ---- obconf-2.0.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ obconf.spec ++++++ --- /var/tmp/diff_new_pack.l5RlbO/_old 2024-12-02 16:59:29.286091703 +0100 +++ /var/tmp/diff_new_pack.l5RlbO/_new 2024-12-02 16:59:29.286091703 +0100 @@ -1,7 +1,7 @@ # # spec file for package obconf # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,65 +12,56 @@ # 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: obconf +Version: 2.0.4 +Release: 0 +Summary: Openbox Configuration Tool +License: GPL-2.0-or-later +URL: http://openbox.org/ +Source0: https://openbox.org/dist/obconf/%{name}-%{version}.tar.gz +Patch0: %{name}-2.0.4-no_nb.patch +Patch1: %{name}-2.0.4-Spanish-translation-update.patch BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: gettext -BuildRequires: libglade2-devel -BuildRequires: startup-notification-devel -BuildRequires: update-desktop-files BuildRequires: xorg-x11 +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(libglade-2.0) +BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(obrender-3.5) BuildRequires: pkgconfig(obt-3.5) -BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) Requires: openbox -Version: 2.0.4 -Release: 0 -Summary: Openbox Configuration Tool -License: GPL-2.0+ -Group: System/GUI/Other -Url: http://openbox.org/ -Source0: %{name}-%{version}.tar.bz2 -Patch0: %{name}-2.0.4-no_nb.patch -Patch1: %{name}-2.0.4-Spanish-translation-update.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is the official application from the Openbox developers to configure the Openbox window manager. It is not needed, but highly recommended when installing Openbox. +%lang_package + %prep %autosetup -p1 %build +export CFLAGS="%{optflags} -Wno-implicit-function-declaration" mv po/no.po po/nb.po %configure pushd po -make update-gmo +%make_build update-gmo popd -%__make clean -%__make +%make_build %install -%makeinstall +%make_install %__rm -rf %buildroot/%_datadir/mimelnk -%suse_update_desktop_file %name Utility Settings DesktopSettings %find_lang %{name} -%post -%desktop_database_post - -%postun -%desktop_database_postun - -%files -f %{name}.lang -%defattr(-,root,root) +%files %doc AUTHORS COPYING README %_bindir/%name %_datadir/%name @@ -78,3 +69,5 @@ %_datadir/applications/%name.desktop %_datadir/pixmaps/obconf.png +%files lang -f %{name}.lang +