/[packages]/cauldron/mageia-plasma5-config/current/SPECS/mageia-plasma5-config.spec
ViewVC logotype

Contents of /cauldron/mageia-plasma5-config/current/SPECS/mageia-plasma5-config.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1959581 - (show annotations) (download)
Sun May 28 20:32:50 2023 UTC (6 months, 1 week ago) by daviddavid
File size: 3249 byte(s)
- revert "Use kickoff plugin menu as default"

1 %define source_date 20230528
2
3 Name: mageia-plasma5-config
4 Version: 9
5 Release: %mkrel 3
6 Summary: %_vendor Plasma 5 configuration
7 License: GPLv2
8 Group: Graphical desktop/KDE
9 URL: https://www.mageia.org/
10 Source0: %{name}-%{version}.%{source_date}.tar.xz
11
12 BuildRequires: kf5-rpm-macros
13 BuildRequires: plasma-workspace
14
15 BuildArch: noarch
16
17 %description
18 This package regroups all specific %_vendor config file for Plasma.
19
20 %files
21 %_iconsdir/mgabutton.svg
22 %_iconsdir/breeze*/places/*/*
23 %_sysconfdir/Trolltech.conf
24 %_sysconfdir/xdg/ksplashrc
25 %dir %_sysconfdir/xdg/plasma-workspace/
26 %dir %_sysconfdir/xdg/plasma-workspace/env/
27 %dir %_sysconfdir/xdg/plasma-workspace/shutdown/
28 %_sysconfdir/xdg/plasma-workspace/env/plasma5-firstsetup.sh
29 %_sysconfdir/xdg/plasma-workspace/env/env.sh
30 %_sysconfdir/xdg/plasma-workspace/shutdown/kuiserver5.sh
31 %{_sysconfdir}/xdg/kdeglobals
32 %{_sysconfdir}/xdg/kcm-about-distrorc
33 %{_sysconfdir}/xdg/kdebugrc
34 %_datadir/plasma/look-and-feel/org.mageia.breeze.desktop
35 %_var/lib/plasma5-profiles/common
36
37 #--------------------------------------------------------------------
38
39 %prep
40 %setup -q
41
42 %build
43 #Nothing to do here
44
45 %install
46 cp -frv etc %buildroot
47 chmod -Rv 755 %buildroot%_sysconfdir/xdg/plasma-workspace/env/
48 for i in 16 22 32 64 ; do
49 mkdir -p %buildroot%_iconsdir/breeze/places/$i
50 cp usr/share/icons/mgabutton.svg %buildroot%_iconsdir/breeze/places/$i
51
52 mkdir -p %buildroot%_iconsdir/breeze-dark/places/$i
53 cp usr/share/icons/mgabutton.svg %buildroot%_iconsdir/breeze-dark/places/$i
54 done
55
56 cp usr/share/icons/mgabutton.svg %buildroot%_iconsdir
57
58 mkdir -p %buildroot%_datadir/plasma/look-and-feel/
59 pushd %buildroot%_datadir/plasma/look-and-feel/
60 mkdir -p %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/
61 mkdir -p %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/
62 # Symlink to default.png to get correct aspect ratio image
63 ln -sf %{_datadir}/mga/backgrounds/default.png %{buildroot}%{_datadir}/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash/images/background.png
64 # Replace with Mageia KSplash
65 cp -frv %_builddir/%name-%version/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/splash %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/contents
66 cp -frv %_builddir/%name-%version/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/contents/previews/splash.png
67 cp -frv %_builddir/%name-%version/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/metadata.desktop %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/
68 cp -frv %_builddir/%name-%version/usr/share/plasma/look-and-feel/org.mageia.breeze.desktop/metadata.json %buildroot%_datadir/plasma/look-and-feel/org.mageia.breeze.desktop/
69 popd
70
71 mkdir -p %buildroot%_var/lib/
72 cp -frv var/lib/plasma5-profiles %buildroot%_var/lib/
73
74 # fix icon permission
75 find %buildroot -not -type d -a \( -type f -name '*.png' -o -name '*.qml' \) -perm /u=x,g=x,o=x -exec chmod -x '{}' \;

  ViewVC Help
Powered by ViewVC 1.1.28