Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-oxygen5-icon-theme
mingw32-oxygen5-icon-theme.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-oxygen5-icon-theme.spec of Package mingw32-oxygen5-icon-theme
# # spec file for package mingw32-oxygen5-icon-theme # # Copyright (c) 2019 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _tar_path 5.103 # Full KF5 version (e.g. 5.33.0) %{!?_mingw32_kf5_version: %global _mingw32_kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_mingw32_kf5_bugfix_version: %define _mingw32_kf5_bugfix_version %(echo %{_mingw32_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_with autotests # Only needed for the package signature condition %bcond_without lang %define _name oxygen5-icon-theme Name: mingw32-%{_name} Version: 5.103.0 Release: 0 Summary: Oxygen Icon Theme License: LGPL-3.0-only Group: System/GUI/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/oxygen-icons5-%{version}.tar.xz %if %{with lang} Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/oxygen-icons5-%{version}.tar.xz.sig Source2: frameworks.keyring %endif Source3: 22x22-package-manager-icon.png Source4: 32x32-package-manager-icon.png Source5: 48x48-package-manager-icon.png Source6: 22x22_folder-html.png Source7: 32x32_folder-html.png Source8: 48x48_folder-html.png Source9: 64x64_folder-html.png Source10: 128x128_folder-html.png Source11: 256x256_folder-html.png Source12: 16x16_folder-html.png BuildRequires: cmake BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-extra-cmake-modules BuildRequires: mingw32-kf5-filesystem BuildRequires: mingw32-xz Requires: mingw32-hicolor-icon-theme Recommends: mingw32-oxygen5-icon-theme-large Provides: mingw32-oxygen-icon-theme = 15.08 Obsoletes: mingw32-oxygen-icon-theme < 15.08 BuildArch: noarch %if %{with autotests} BuildRequires: mingw32(cmake:Qt5Core) BuildRequires: mingw32(cmake:Qt5Test) %endif %_mingw32_package_header_debug %description This package contains the non-scalable icons of the Oxygen icon theme. %_mingw32_debug_package %prep %setup -q -n oxygen-icons5-%{version} %if %{without autotests} sed -i -e's/.*autotests/# \0/' CMakeLists.txt %endif %build %_mingw32_cmake_kf5 -d build %_mingw32_cmake_build %install cd build %make_install install -D -m 0644 %{SOURCE3} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/22x22/apps/package-manager-icon.png install -D -m 0644 %{SOURCE4} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/32x32/apps/package-manager-icon.png install -D -m 0644 %{SOURCE5} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/48x48/apps/package-manager-icon.png install -D -m 0644 %{SOURCE6} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/22x22/places/folder-html.png install -D -m 0644 %{SOURCE7} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/32x32/places/folder-html.png install -D -m 0644 %{SOURCE8} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/48x48/places/folder-html.png install -D -m 0644 %{SOURCE9} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/64x64/places/folder-html.png install -D -m 0644 %{SOURCE10} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/128x128/places/folder-html.png install -D -m 0644 %{SOURCE11} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/256x256/places/folder-html.png install -D -m 0644 %{SOURCE12} %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/16x16/places/folder-html.png %if 0 for i in 16x16 22x22 32x32 48x48 64x64 128x128 256x256; do install -D -m 0644 %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/${i}/places/folder-html.png %{buildroot}%{_datadir}/icons/oxygen/base/${i}/places/folder_html.png install -D -m 0644 %{buildroot}%{_mingw32_datadir}/icons/oxygen/base/${i}/places/folder-documents.png %{buildroot}%{_datadir}/icons/oxygen/base/${i}/apps/document.png; done %endif cp -r ../scalable %{buildroot}%{_mingw32_datadir}/icons/oxygen/base %package scalable Summary: Oxygen Icon Theme Group: System/GUI/KDE Requires: %{name} = %{version} Provides: mingw32-oxygen-icon-theme-scalable = 15.08 Obsoletes: mingw32-oxygen-icon-theme-scalable < 15.08 %description scalable This package contains the scalable icons of the Oxygen icon theme. %files scalable %{_mingw32_kf5_iconsdir}/oxygen/base/scalable %package large Summary: Oxygen Icon Theme Group: System/GUI/KDE Requires: %{name} = %{version} Provides: mingw32-oxygen-icon-theme-large = 15.08 Obsoletes: mingw32-oxygen-icon-theme-large < 15.08 %description large This package contains the large (128x128 and larger) non-scalable icons of the Oxygen icon theme. %files large %{_mingw32_kf5_iconsdir}/oxygen/base/128x128 %{_mingw32_kf5_iconsdir}/oxygen/base/256x256 %files %license COPYING* %exclude %{_mingw32_kf5_iconsdir}/oxygen/base/scalable %exclude %{_mingw32_kf5_iconsdir}/oxygen/base/128x128 %exclude %{_mingw32_kf5_iconsdir}/oxygen/base/256x256 %{_mingw32_kf5_iconsdir}/oxygen %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