2 Commits

Author SHA256 Message Date
90193a9e1f Accepting request 1227645 from X11:lxde
OBS-URL: https://build.opensuse.org/request/show/1227645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obconf?expand=0&rev=23
2024-12-02 15:59:06 +00:00
0f2afe7ee6 - 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

OBS-URL: https://build.opensuse.org/package/show/X11:lxde/obconf?expand=0&rev=45
2024-12-02 03:32:30 +00:00
4 changed files with 36 additions and 35 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bf3a114529eaf556d3091a1b0a286afb8cc5b734aa543f7b4d4ef26c65806b9
size 343621

3
obconf-2.0.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71a3e5f4ee246a27421ba85044f09d449f8de22680944ece9c471cd46a9356b9
size 456523

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Nov 30 00:46:28 UTC 2024 - Richard Rahl <rrahl0@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
-------------------------------------------------------------------
Mon Feb 26 12:31:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -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
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: libglade2-devel
BuildRequires: startup-notification-devel
BuildRequires: update-desktop-files
BuildRequires: xorg-x11
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
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gettext
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(sm)
Requires: openbox
%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,4 +69,6 @@ popd
%_datadir/applications/%name.desktop
%_datadir/pixmaps/obconf.png
%files lang -f %{name}.lang
%changelog