Sisyphus repository
Last update: 29 january 2023 | SRPMs: 18148 | Visits: 26570438
en ru br
ALT Linux repos
S:5.98.0-alt1

Group :: System/Base
RPM: kf5-filesystem

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define lng_list af ar as ast be be at latin bg bn bn_IN br bs ca ca at valencia crh cs csb cy da de el en en_GB en_US eo es es_AR et eu fa fi fr fy ga gd gl gu ha he hi hne hr hsb hu hy ia id is it ja ka kk km kn ko ku lb lt lv mai mk ml mr ms my nb nds ne nl nn oc or pa pl ps pt pt_BR ro ru se si sk sl sq sr sr at ijekavian sr at ijekavianlatin sr at latin sv ta te tg th tok tr tt ug uk uz uz at cyrillic vi wa xh zh_CN zh_HK zh_TW

%define major 5
%define minor 98
%define bugfix 0

Name: kf5-filesystem
Version: %major.%minor.%bugfix
Release: alt1
%K5init altplace

Summary: The basic directory layout for KF5
License: Public Domain
Group: System/Base

Requires: filesystem qt5-base-common
Obsoletes: kf5-i18n-ru kf5-i18n-uk

Source1: kde5
Source2: dbus-session-dir.conf
Source3: dbus-system-dir.conf
Source10: kdeglobals

BuildRequires(pre): rpm-build-kf5

%description
The %name package is one of the basic KF5 packages that is installed on
a %distribution system; %name contains the basic directory layout
for the KDE 5, including the correct permissions for the directories.

%install
mkdir -p %buildroot/%_libdir

mkdir -p %buildroot/%_kf5_bin
mkdir -p %buildroot/%_kf5_sbin

mkdir -p %buildroot/%_kf5_icon/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128,scalable}/{actions,apps,devices,emblems,emotes,mimetypes,places,resources,status}
mkdir -p %buildroot/%_K5mod
mkdir -p %buildroot/%_K5exec
mkdir -p %buildroot/%_K5start
mkdir -p %buildroot/%_K5app
mkdir -p %buildroot/%_K5emo
mkdir -p %buildroot/%_K5snd
mkdir -p %buildroot/%_K5tmpl
mkdir -p %buildroot/%_K5wall
mkdir -p %buildroot/%_K5conf
mkdir -p %buildroot/%_K5cfg
mkdir -p %buildroot/%_K5cf_upd
mkdir -p %buildroot/%_K5data/{color-schemes,solid/{actions,devices},widgets/pics,plasma/{packages,shells,updates,layout-templates}}
mkdir -p %buildroot/%_K5data/dbus-1/{interfaces,services,system-services}
mkdir -p %buildroot/%_K5dbus_iface
mkdir -p %buildroot/%_K5dbus_srv
mkdir -p %buildroot/%_K5dbus_sys_srv
#
mkdir -p %buildroot/%_K5notif
mkdir -p %buildroot/%_K5srv/ServiceMenus
mkdir -p %buildroot/%_K5srvtyp
mkdir -p %buildroot/%_K5xmlgui

mkdir -p %buildroot/%_kf5_xdgapp
mkdir -p %buildroot/%_desktopdir/kf5
mkdir -p %buildroot/%_K5xdgdir
mkdir -p %buildroot/%_K5xdgmenu

mkdir -p %buildroot/%_K5inc
mkdir -p %buildroot/%_K5link
mkdir -p %buildroot/%_K5plug/kf5/{kio_dnd,parts}
mkdir -p %buildroot/%_K5cf_bin

mkdir -p %buildroot/%_K5xdgconf/{autostart,colors,menus,ui}

mkdir -p %buildroot/%_datadir/{qlogging-categories5,}

mkdir -p %buildroot/%_K5data/{katepart5,knotifications5,kservicetypes5,kxmlgui5,knsrcfiles,ksmserver}
mkdir -p %buildroot/%_K5data/{kpackage/genericqml,plasma/kinfocenter,kio_desktop/DesktopLinks}
mkdir -p %buildroot/%_K5data/{kservices5/ServiceMenus,icons/breeze,icons/breeze-dark}

for l in %lng_list
do
   mkdir -p %buildroot/%_datadir/locale/$l/LC_SCRIPTS
   mkdir -p %buildroot/%_K5i18n/$l/{LC_MESSAGES,LC_SCRIPTS}
done

mkdir -p %buildroot/%_K5doc
for l in %lng_list
do
   mkdir -p %buildroot/%_K5doc/$l
done


ln -s `relative %_kf5_bin %_K5data/bin` %buildroot/%_K5data/bin
ln -s `relative %_libdir %_K5data/lib` %buildroot/%_K5data/lib

mkdir -p %buildroot/%_bindir/
install -m 0755 %SOURCE1 %buildroot/%_bindir/kde5

# install dbus dirs

mkdir -p %buildroot/{%_K5conf_dbus_sessd,%_K5conf_dbus_sysd}
install -m 0644 %SOURCE2 %buildroot/%_K5conf_dbus_sessd/kf5.conf
#install -m 0644 %SOURCE3 %buildroot/%_K5conf_dbus_sysd/kf5.conf
# configs
install -m 0644 %SOURCE10 %buildroot/%_K5xdgconf/

%files
%config %_K5conf_dbus_sessd/kf5.conf
#%config %_K5conf_dbus_sysd/kf5.conf
%_bindir/kde5
%_datadir/*5/
%_datadir/locale/*/LC_SCRIPTS/
%_K5plug/kf5
%dir %_sysconfdir/kf5
%dir %_sysconfdir/kf5/*
%dir %_sysconfdir/kf5/*/*
%config(noreplace) %_sysconfdir/kf5/*/*
%dir %_kf5_bin
%dir %_kf5_sbin
%dir %_K5cf_bin
%dir %_K5exec
%dir %_K5inc
%dir %_K5link
%dir %_desktopdir/kf5

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin