Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt
obconf-qt
obconf-qt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obconf-qt.spec of Package obconf-qt
# # spec file for package obconf-qt # # Copyright (c) 2016 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/ # %define _qtver 5.10.0 Name: obconf-qt Version: @SERVICE@ Release: 0 Summary: OpenBox window manager configuration tool License: LGPL-2.1+ and GPL-2.0+ Group: System/GUI/LXQt Url: https://github.com/lxde/obconf-qt Source: %{name}-%{version}.tar.xz BuildRequires: cmake >= 2.8.11 BuildRequires: gcc-c++ BuildRequires: lxqt-build-tools BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(Qt5Widgets) >= %{_qtver} BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(lxqt) BuildRequires: pkgconfig(obrender-3.5) BuildRequires: pkgconfig(obt-3.5) %if 0%{?fedora_version} BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) %endif Recommends: %{name}-lang = %{version}-%{release} Requires(post): desktop-file-utils Requires(post): update-alternatives Requires(postun): update-alternatives Requires(pre): desktop-file-utils Conflicts: obconf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Configuration tool for the OpenBox Window Manager. This tool is used by LXQt to configure OpenBox, since it is used as the default WindowManager in LXQt. %lang_package %prep %setup -q %build %cmake \ -DUSE_QT5=ON %make_jobs %install %cmake_install install -dm 755 %{buildroot}%{_sysconfdir}/alternatives/ touch %{buildroot}%{_sysconfdir}/alternatives/obconf ln -s %{_sysconfdir}/alternatives/obconf \ %{buildroot}%{_bindir}/obconf %find_lang %{name} --with-qt %if 0%{?suse_version} < 1500 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %post %{_sbindir}/update-alternatives --install \ %{_bindir}/obconf \ obconf \ %{_bindir}/%{name} \ 40 %postun if [ $1 -eq 0 ]; then %{_sbindir}/update-alternatives --remove obconf \ %{_bindir}/%{name} fi %files %defattr(-,root,root) %doc AUTHORS COPYING README.md %{_bindir}/obconf %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %ghost %{_sysconfdir}/alternatives/obconf %files lang -f %{name}.lang %defattr(-,root,root) %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations %{_datadir}/%{name}/translations/%{name}_arn.qm %{_datadir}/%{name}/translations/%{name}_ast.qm %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