Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:H_B:lxde
obmenu
obmenu.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obmenu.spec of Package obmenu
# # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %if ! 0%{?suse_version} || 0%{?suse_version} >= 1500 %define python python3 %else %define python python %endif 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 %setup -q %if "%{python}" == "python3" %patch0 -p1 %endif %build export CFLAGS="%{optflags}" %{python} setup.py build %install %{python} setup.py install --root %{buildroot} --prefix %{_prefix} %if "%{python}" == "python3" %define psitelib %{python3_sitelib} %define pver %{python3_version} %else %define psitelib %{python_sitelib} %define pver %{python_version} %endif %files %license COPYING %doc README %{_bindir}/obm-dir %{_bindir}/obm-moz %{_bindir}/obm-nav %{_bindir}/obm-xdg %{_bindir}/obmenu %{psitelib}/obxml.py %if "%{python}" == "python3" %{psitelib}/__pycache__/obxml*.pyc %else %{psitelib}/obxml.pyc %endif %{psitelib}/obMenu-%{version}-py%{pver}.egg-info %{_datadir}/obmenu %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor