forked from lxde/obmenu
63 lines
1.7 KiB
RPMSpec
63 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package obmenu
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define python python3
|
|
Name: obmenu
|
|
Version: 1.0
|
|
Release: 0
|
|
Summary: Small tea systray icon
|
|
License: GPL-2.0-only
|
|
Group: System/X11/Utilities
|
|
URL: https://obmenu.sourceforge.net
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Patch0: obmenu-python3.patch
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
%if ! 0%{?suse_version} || 0%{?suse_version} >= 1500
|
|
Requires: typelib-1_0-Gtk-3_0
|
|
%endif
|
|
|
|
%description
|
|
Obmenu is a menu editor designed for openbox
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
%{python} setup.py build
|
|
|
|
%install
|
|
%{python} setup.py install --root %{buildroot} --prefix %{_prefix}
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README
|
|
%{_bindir}/obm-dir
|
|
%{_bindir}/obm-moz
|
|
%{_bindir}/obm-nav
|
|
%{_bindir}/obm-xdg
|
|
%{_bindir}/obmenu
|
|
%{python3_sitelib}/obxml.py
|
|
%{python3_sitelib}/__pycache__/obxml*.pyc
|
|
%{python3_sitelib}/obMenu-%{version}-py%{python3_version}.egg-info
|
|
%{_datadir}/obmenu
|
|
|
|
%changelog
|