Group :: Desktop gráfico/Icewm
RPM: design-icewm-themes
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: design-icewm-themes
Version: 1.0
Release: alt6
Summary: Themes collection for IceWM
License: GPL-2.0
Group: Graphical desktop/Icewm
Source: icewm-themes.tar
Requires: design-icewm >= 1.0-alt12
AutoReqProv: no
BuildArch: noarch
Summary(ru_RU.UTF-8): Коллекция тем для IceWM
%define themedir %_x11x11dir/icewm/themes
%description
Themes collection for IceWM
%description -l ru_RU.UTF-8
Коллекция тем для IceWM
%prep
%build
%install
mkdir -p %buildroot%themedir
tar xf %SOURCE0 -C %buildroot$(dirname %themedir)
find %buildroot%themedir -type f -print0 | xargs -r0 chmod 0644
find %buildroot%themedir -type d -print0 | xargs -r0 chmod 0755
# remove .xvpics
find %buildroot%themedir -type d -name .xvpics -print0 | xargs -r0 rm -rf
# remove *.bak
find %buildroot%themedir -type f -name '*.bak' -print0 | xargs -r0 rm -rf
# It is the file in the package whose name matches the format emacs or vim uses
# for backup and autosave files. It may have been installed by accident.
find %buildroot \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
# failsafe cleanup if the file is declared as %%doc
find . \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
%files
%themedir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0
Release: alt6
Summary: Themes collection for IceWM
License: GPL-2.0
Group: Graphical desktop/Icewm
Source: icewm-themes.tar
Requires: design-icewm >= 1.0-alt12
AutoReqProv: no
BuildArch: noarch
Summary(ru_RU.UTF-8): Коллекция тем для IceWM
%define themedir %_x11x11dir/icewm/themes
%description
Themes collection for IceWM
%description -l ru_RU.UTF-8
Коллекция тем для IceWM
%prep
%build
%install
mkdir -p %buildroot%themedir
tar xf %SOURCE0 -C %buildroot$(dirname %themedir)
find %buildroot%themedir -type f -print0 | xargs -r0 chmod 0644
find %buildroot%themedir -type d -print0 | xargs -r0 chmod 0755
# remove .xvpics
find %buildroot%themedir -type d -name .xvpics -print0 | xargs -r0 rm -rf
# remove *.bak
find %buildroot%themedir -type f -name '*.bak' -print0 | xargs -r0 rm -rf
# It is the file in the package whose name matches the format emacs or vim uses
# for backup and autosave files. It may have been installed by accident.
find %buildroot \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
# failsafe cleanup if the file is declared as %%doc
find . \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete
%files
%themedir/*
%changelog
…
Todas as alterações você pod ver aqui