Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt
lx-control-center
lx-control-center.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lx-control-center.spec of Package lx-control-center
# # spec file for package lx-control-center # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %if 0%{?fedora_version} %define py3_ver %(python3 -c "import sys; print ('%d.%d' % (sys.version_info.major, sys.version_info.minor))") %endif Name: lx-control-center Version: 0.1 Release: 0 Summary: Utility to display and launch system utilies, like configuration programs License: GPL-2.0 Group: System/X11/Utilities Url: https://github.com/lxde/lx-control-center Source: %{name}-%{version}.tar.xz BuildRequires: dos2unix BuildRequires: fdupes # Needed for typelib() - Requires. BuildRequires: gobject-introspection BuildRequires: intltool BuildRequires: python3-devel BuildRequires: python3-distutils-extra %if 0%{?suse_version} BuildRequires: update-desktop-files %endif Requires: python3-psutil Requires: python3-pyxdg Requires: python3-qt5 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description lx-control-center is a utility to display and launch system utilies, like configuration programs. %prep %setup -q sed -i '/^Exec/s/$/ --ui Qt5/' ./data/lx-control-center.desktop.in dos2unix -o ./LXControlCenter/widgets/qt5.py dos2unix -o ./LXControlCenter/setting.py %build python3 setup.py build %install python3 setup.py install -O1 \ --skip-build \ --root=%{buildroot} grep -rl '^#!' %{buildroot}%{python3_sitelib}/LXControlCenter/ | xargs chmod 0755 install -dm 0755 %{buildroot}%{_datadir}/applications/ install -Dm 0644 build/share/applications/%{name}*.desktop %{buildroot}%{_datadir}/applications/ install -Dm 0644 data/man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %if 0%{?suse_version} %suse_update_desktop_file -r %{name} Settings DesktopSettings %endif %fdupes %{buildroot}%{python3_sitelib}/LXControlCenter/ %files %defattr(-,root,root) %doc README.md TODO %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{python3_sitelib}/LXControlCenter/ %{python3_sitelib}/lx_control_center-*-py%{py3_ver}.egg-info %{_mandir}/man?/%{name}.?%{ext_man} %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