Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
yast2-control-center
yast2-control-center.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-control-center.spec of Package yast2-control-center
# # spec file for package yast2-control-center # # Copyright (c) 2014 SUSE LINUX Products 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: yast2-control-center Version: 3.1.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-control-center-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: libdrm-devel BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: yast2-devtools >= 3.1.10 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) Requires: yast2_theme %if 0%{?force_gcc_46} BuildRequires: gcc46 BuildRequires: gcc46-c++ %else BuildRequires: gcc-c++ >= 4.6 %endif Url: https://github.com/yast/yast-control-center Summary: YaST2 - Control Center License: GPL-2.0 Group: System/YaST Requires: yast2 Requires: yast2-control-center-binary %description This package contains the menu selection component for YaST2. %package qt Summary: YaST2 - Control Center (Qt Version) Group: System/YaST Requires: yast2-control-center Provides: yast2-control-center-binary Provides: yast2-control-center:%{_prefix}/lib/YaST2/bin/y2controlcenter Recommends: libyui-qt5 Supplements: kdebase3 Supplements: kdebase4-session %description qt This package contains the menu selection component for YaST2 using the Qt toolkit. %prep %setup %build mkdir build cd build %if 0%{?force_gcc_46} export CC=gcc-4.6 export CXX=g++-4.6 %endif export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$CFLAGS" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB=%{_lib} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 \ .. make %{?jobs:-j %jobs} VERBOSE=1 %install cd build make install DESTDIR=$RPM_BUILD_ROOT cd .. %suse_update_desktop_file -G "Administrator Settings" %{buildroot}%{_datadir}/applications/YaST.desktop Core-System X-SuSE-ControlCenter-System X-GNOME-SystemSettings %suse_update_desktop_file %{buildroot}%{_datadir}/kde4/services/YaST-systemsettings.desktop %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_datadir}/applications/YaST.desktop %dir %{_datadir}/kde4/ %dir %{_datadir}/kde4/services %{_datadir}/kde4/services/YaST-systemsettings.desktop %{_datadir}/pixmaps/yast.png %files qt %defattr(-,root,root) %{_prefix}/lib/YaST2/bin/y2controlcenter %doc COPYING.GPL2 %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