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/ # 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-distutils-extra BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description lx-control-center is a utility to display and launch system utilies, like configuration programs. #package gtk2 #ummary: Utility to display and launch system utilies, like configuration programs #equires: 5{name} = 5{version}-5{release} #equires: python #equires: python-gtk #equires: python-xdg #description gtk2 #lx-control-center is a utility to display and launch system utilies, like configuration programs. #Manage your settings in one place - GTK2 version. %package gtk3 Summary: Utility to display and launch system utilies, like configuration programs Requires: %{name} = %{version}-%{release} Requires: python3 Requires: python3-gobject Requires: python3-xdg %description gtk3 lx-control-center is a utility to display and launch system utilies, like configuration programs. Manage your settings in one place - GTK3 version. %package qt5 Summary: Utility to display and launch system utilies, like configuration programs Requires: %{name} = %{version}-%{release} Requires: python3 Requires: python3-qt5 Requires: python3-xdg %description qt5 lx-control-center is a utility to display and launch system utilies, like configuration programs. Manage your settings in one place - Qt5 version. %prep %setup -q dos2unix -o ./LXControlCenter/widgets/qt5.py %build python3 setup.py build %install python3 setup.py install -O1 \ --skip-build \ --root=%{buildroot} \ --record-rpm=%{name}.lst 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 %suse_update_desktop_file -r %{name}-gtk2 Settings DesktopSettings %suse_update_desktop_file -r %{name}-gtk3 Settings DesktopSettings cp %{buildroot}%{_datadir}/applications/%{name}-gtk3.desktop %{buildroot}%{_datadir}/applications/%{name}-qt5.desktop sed -i 's/gtk3/qt5/;s/GTK3/Qt5/' %{buildroot}%{_datadir}/applications/%{name}-qt5.desktop %fdupes %{buildroot}%{python3_sitelib}/LXControlCenter/ rm -f %{buildroot}%{_bindir}/%{name}-gtk2 rm -f %{buildroot}%{_datadir}/applications/%{name}-gtk2.desktop %files %defattr(-,root,root) %doc README.md TODO %{python3_sitelib}/LXControlCenter/ %{python3_sitelib}/lx_control_center-*-py%{py3_ver}.egg-info %{_mandir}/man?/%{name}.?%{ext_man} #files gtk2 #defattr(-,root,root) #{_bindir}/5{name}-gtk2 #{_datadir}/applications/5{name}-gtk2.desktop %files gtk3 %defattr(-,root,root) %{_bindir}/%{name}-gtk3 %{_datadir}/applications/%{name}-gtk3.desktop %files qt5 %defattr(-,root,root) %{_bindir}/%{name}-qt5 %{_datadir}/applications/%{name}-qt5.desktop %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