File plasma-desktoptheme-rosa.spec of Package plasma-desktoptheme-rosa
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: plasma-desktoptheme-rosa
Version: 1.2.5
Release: 34.7
License: GPL
Summary: Plasma desktoptheme from ROSA Laboratory
Url: http://rosalab.ru/
Group: System/GUI/KDE
Source: plasma-desktoptheme-rosa-%{version}.tar.bz2
Requires: plasma5-workspace
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Original theme for the plasma-desktop from ROSA Laboratory. This theme is used by default
in Mandriva/ROSA Desktop since 2011.
#--------------------------------------------------------------------
%prep
%setup -q -n ROSA
%build
# No build needed for theme package
%install
# Create installation directories
mkdir -p %{buildroot}%{_datadir}/plasma/desktoptheme/ROSA
cp -R * %{buildroot}%{_datadir}/plasma/desktoptheme/ROSA/
# Remove unnecessary files
rm -f %{buildroot}%{_datadir}/plasma/desktoptheme/ROSA/CMakeLists.txt
rm -f %{buildroot}%{_datadir}/plasma/desktoptheme/ROSA/LICENSE
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE
%dir %{_datadir}/plasma/
%dir %{_datadir}/plasma/desktoptheme/
%dir %{_datadir}/plasma/desktoptheme/ROSA
%{_datadir}/plasma/desktoptheme/ROSA/*
%post
# Update KDE cache after installation
if [ -x /usr/bin/kbuildsycoca5 ]; then
/usr/bin/kbuildsycoca5
fi
%changelog
* Mon Nov 03 2025 Alex S. Shubin aka Sylar <renard.corp@hotmail.com>
- Added explicit directory ownership for all parent directories
- Using %dir for plasma, desktoptheme and ROSA directories
- Explicit file listing with wildcard to avoid duplication
- Changed dependency to plasma5-workspace for openSUSE compatibility
- Added kbuildsycoca5 cache update in %post section
- Initial package release for openSUSE Tumbleweed