Репозиторий Sisyphus
Последнее обновление: 29 января 2023 | Пакетов: 18148 | Посещений: 26570803
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: kf5-oxygen-icons

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define rname oxygen-icons5

Name: kf5-oxygen-icons
Version: 5.101.0
Release: alt2
%K5init no_altplace

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

BuildArch: noarch

Source: %rname-%version.tar
Patch1: alt-icons-defaults.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

%description
%summary

%package -n icon-theme-oxygen
Summary: Oxygen icons theme
Group: Graphics
Provides: kde4-icon-theme-oxygen = %version-%release
Provides: kde4-icon-theme = %version-%release
Conflicts: kde4base-workspace-core <= 4.11.22-alt4
Conflicts: kde4pim-core <= 4.14.10-alt4
%description -n icon-theme-oxygen
%summary


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

%build
%K5build

%install
%K5install

# 6971

for t in %buildroot/%_iconsdir/* ; 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

# fix broken symlinks

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

# clean "package" icon

if [ -z "`find %buildroot/%_iconsdir -name package-installed-updated.\*`" ] ; then
   find %buildroot/%_iconsdir -name package.\* | \
   while read f ; do
rm -f "$f"
   done
fi

# create custom icons

for e in \
   "inode-directory application-x-smb-share" \
   #
do
   icon_from=`echo "$e"| cut -d\  -f1`
   icon_to=`echo "$e"| cut -d\  -f2`
   find %buildroot/%_iconsdir/ -type f -name ${icon_from}.png | \
   while read p; do
icon_dir=`dirname $p`
ln -s ${icon_from}.png $icon_dir/${icon_to}.png ||:
   done
done

%files -n icon-theme-oxygen
%doc COPYING*
%_iconsdir/oxygen*/

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin