Sisyphus repository
Last update: 25 september 2020 | SRPMs: 17708 | Visits: 19294258
en ru br
ALT Linux repos
S:5.74.0-alt1

Group :: Graphical desktop/KDE
RPM: kf5-breeze-icons

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define rname breeze-icons

Name: kf5-%rname
Version: 5.68.0
Release: alt1
%K5init no_altplace

Group: Graphical desktop/KDE
Summary: Breeze icons theme
Url: http://www.kde.org
License: GPLv2+ / LGPLv2+

BuildArch: noarch

Source: %rname-%version.tar
Patch1: alt-icons-defaults.patch
Patch2: alt-bash.patch

# Automatically added by buildreq on Fri Dec 11 2015 (-bi)

# optimized out: cmake cmake-modules gtk-update-icon-cache libqt5-core libstdc++-devel perl-Encode perl-XML-LibXML perl-XML-SAX perl-XML-SAX-Base perl-XML-Simple perl-parent python-base python3 python3-base
#BuildRequires: extra-cmake-modules gcc-c++ icon-naming-utils qt5-base-devel rpm-build-python3 ruby ruby-stdlibs
BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules gcc-c++ qt5-base-devel
BuildRequires: icon-naming-utils xml-utils

%description
%summary

%package -n icon-theme-breeze
Summary: Breeze icons theme
Group: Graphics
Provides: kde4-icon-theme = %version-%release
%description -n icon-theme-breeze
%summary


%prep
%setup -n %rname-%version
%patch1 -p1
%patch2 -p1

chmod a+x *.sh

%build
%K5build

%install
%K5install

# 5858 7498

for t in %buildroot/%_iconsdir/* ; do
   [ -d $t ] || continue
   theme_subdir=`basename $t`
   mkdir %buildroot/%_iconsdir/tmp-$theme_subdir
   pushd $t
   ls -1d */* | \
   while read subdir ; do
[ -d $subdir ] || continue
ctx=`dirname $subdir`
sz=`basename $subdir`
mkdir -p %buildroot/%_iconsdir/tmp-$theme_subdir/$sz
ln -s $t/$ctx/$sz %buildroot/%_iconsdir/tmp-$theme_subdir/$sz/$ctx
   done
   popd
done

for t in %buildroot/%_iconsdir/tmp-* ; do
   [ -d $t ] || continue
   pushd $t
ls -1d * | \
while read sz ; do
   [ -d $sz ] || continue
   pushd $sz
   ls -1d * | \
   while read ctx ; do
[ -d $ctx ] || continue
%_libexecdir/icon-name-mapping -c $ctx
   done
   popd
done
   popd
done

rm -rf %buildroot/%_iconsdir/tmp-*

# fix broken symlinks

find %buildroot/%_iconsdir -type l | \
while read l ; do
   [ -e $l ] || rm -f $l
done

%files -n icon-theme-breeze
%_iconsdir/breeze*/

%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