Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Herbster0815
crystal-dock
crystal-dock.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crystal-dock.spec of Package crystal-dock
# # spec file for package crystal-dock # # 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/ # %define kf5_version 5.7 %define qt5_version 5.6 Name: crystal-dock Version: 1.x Release: 1.54 Summary: A cool dock (desktop panel) for Linux desktop License: GPL-3.0 Group: System/GUI/KDE Url: https://github.com/dangvd/crystal-dock Source: %{name}-%{version}.tar.xz BuildRequires: cmake => 2.8.12 BuildRequires: fdupes %if 0%{?suse_version} <= 1500 BuildRequires: gcc12 BuildRequires: gcc12-c++ %endif %if 0%{?suse_version} > 1500 BuildRequires: gcc-c++ %endif BuildRequires: extra-cmake-modules BuildRequires: update-desktop-files BuildRequires: cmake(Qt5Core) >= %{qt5_version} BuildRequires: cmake(Qt5DBus) >= %{qt5_version} BuildRequires: cmake(Qt5Gui) >= %{qt5_version} BuildRequires: cmake(Qt5Test) >= %{qt5_version} BuildRequires: cmake(Qt5Widgets) >= %{qt5_version} BuildRequires: cmake(KF5Config) >= %{kf5_version} BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version} BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version} BuildRequires: cmake(KF5I18n) >= %{kf5_version} BuildRequires: cmake(KF5IconThemes) >= %{kf5_version} BuildRequires: cmake(KF5XmlGui) >= %{kf5_version} BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version} BuildRequires: cmake(KF5WindowSystem) >= %{kf5_version} BuildRequires: cmake(KF5Activities) >= %{kf5_version} BuildRequires: xz Requires: libqt5-qdbus BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: crystal-remix-icon-theme %description Crystal Dock is a cool dock (desktop panel) for Linux desktop, with the focus on attractive user interface, being simple and easy to use, and cross-desktop support. %prep %setup -q %build export CFLAGS='%optflags' export CXXFLAGS='%optflags' %if 0%{?suse_version} <= 1500 export CC="gcc-12" export CXX="g++-12" %endif mkdir -p build cd build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ ../src %make_jobs %install %cmake_install %if 0%{?is_opensuse} %suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/%{name}.desktop Utility DesktopUtility %endif %fdupes -s %{buildroot} %post %desktop_database_post %postun %desktop_database_postun %files %defattr(-,root,root) %doc LICENSE README.md %{_bindir}/crystal-dock %{_datadir}/applications/%{name}.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