File mingw64-kde4-filesystem.spec of Package mingw64-kde4-filesystem
#
# spec file for package kde4-filesystem
#
# 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: mingw64-kde4-filesystem
Url: http://www.kde.org
Version: 4.14.60
Release: 0
BuildRequires: mingw64-filesystem
Requires: mingw64-filesystem
Requires: mingw64-libqt4-filesystem
Summary: KDE4 Directory Layout
License: LGPL-2.1-or-later
Group: System/Fhs
Source0: macros.mingw64-kde4
Source1: COPYING
Source99: kde4-filesystem-rpmlintrc
BuildArch: noarch
#
# keep in sync with macros.kde4
# TODO: can we include macros.kde4 directly to define it?
%define _mingw64_kde_config_dir %{_mingw64_datadir}/kde4/config
%description
This package installs the KDE directory structure.
%prep
%build
%install
install -D -m644 %{SOURCE0} %{buildroot}%{_rpmmacrodir}/macros.mingw64-kde4
install -D -m644 %{SOURCE1} %{buildroot}%{_mingw64_docdir}/kde4-filesystem/COPYING
mkdir -p %{buildroot}/%{_mingw64_kde_config_dir}
mkdir -p %{buildroot}%{_mingw64_datadir}/applications/kde4
for size in scalable 128x128 64x64 48x48 32x32 22x22 16x16; do
for type in actions apps devices filesystems mimetypes places status; do
for theme in crystalsvg oxygen hicolor locolor; do
mkdir -p %{buildroot}%{_mingw64_datadir}/icons/$theme/$size/$type
done
done
done
mkdir -p %{buildroot}%{_mingw64_datadir}/icons/oxygen/scalable/apps/small/{16x16,32x32}
mkdir -p %{buildroot}%{_mingw64_datadir}/icons/oxygen/scalable/status/small/{16x16,22x22,48x48}
mkdir -p %{buildroot}%{_mingw64_datadir}/kde4/apps
mkdir -p %{buildroot}%{_mingw64_datadir}/kde4/services/phononbackends
mkdir -p %{buildroot}%{_mingw64_datadir}/kde4/services/ServiceMenus
mkdir -p %{buildroot}%{_mingw64_datadir}/metainfo
mkdir -p %{buildroot}%{_mingw64_datadir}/apps
mkdir -p %{buildroot}%{_mingw64_datadir}/apps/color-schemes
mkdir -p %{buildroot}%{_mingw64_datadir}/apps/khtml/kpartplugins
mkdir -p %{buildroot}%{_mingw64_datadir}/apps/konqsidebartng/virtual_folders/services
mkdir -p %{buildroot}%{_mingw64_datadir}/config
mkdir -p %{buildroot}%{_mingw64_datadir}/config.kcfg
mkdir -p %{buildroot}%{_mingw64_includedir}/KDE
mkdir -p %{buildroot}%{_mingw64_libdir}/kde4
mkdir -p %{buildroot}%{_mingw64_libdir}/kde4/libexec
mkdir -p %{buildroot}%{_mingw64_libdir}/kde4/plugins
for lang in `find %{_mingw64_prefix}/share/locale/* -maxdepth 0 -type d -printf "%f\n"`; do mkdir -p %{buildroot}%{_mingw64_datadir}/doc/kde/HTML/$lang; done
%_mingw64_create_macro_links mingw64-cmake-kde4
%files
%defattr(-,root,root)
%{_bindir}/mingw64-cmake-kde4
%{_rpmmacrodir}/macros.mingw64-kde4
%{_mingw64_kde_config_dir}
%{_mingw64_datadir}/apps
%{_mingw64_datadir}/config
%{_mingw64_datadir}/config.kcfg
%{_mingw64_datadir}/kde4
%dir %{_mingw64_datadir}/metainfo
%{_mingw64_datadir}/metainfo
%dir %{_mingw64_datadir}/kde4/apps
%{_mingw64_datadir}/kde4/apps
%dir %{_mingw64_datadir}/applications
%{_mingw64_datadir}/applications/kde4
%{_mingw64_datadir}/doc/kde
%dir %{_mingw64_datadir}/icons
%{_mingw64_datadir}/icons/*
%{_mingw64_datadir}/kde4/services/phononbackends
%dir %{_mingw64_docdir}/kde4-filesystem
%{_mingw64_docdir}/kde4-filesystem/COPYING
%{_mingw64_includedir}/KDE
%{_mingw64_libdir}/kde4
%changelog