Initial release for AlmaLinux Kitten 10
This commit is contained in:
commit
59530f91af
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
almalinux-kitten-logos-100.1.tar.xz
|
219
almalinux-kitten-logos.spec
Normal file
219
almalinux-kitten-logos.spec
Normal file
@ -0,0 +1,219 @@
|
|||||||
|
%global codename brainhertz
|
||||||
|
# Package is only arch specific due to missing deps on arm
|
||||||
|
# Debuginfo package is useless.
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
Name: almalinux-kitten-logos
|
||||||
|
Version: 100.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: AlmaLinux-related icons and pictures
|
||||||
|
|
||||||
|
Group: System Environment/Base
|
||||||
|
URL: https://www.almalinux.org
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
License: Licensed only for approved usage, see COPYING for details.
|
||||||
|
|
||||||
|
Obsoletes: almalinux-logos < 90.4-1
|
||||||
|
Provides: system-logos = %{version}-%{release}
|
||||||
|
Provides: redhat-logos = %{version}-%{release}
|
||||||
|
|
||||||
|
Conflicts: anaconda-images <= 10
|
||||||
|
Conflicts: redhat-artwork <= 5.0.5
|
||||||
|
|
||||||
|
Requires(post): coreutils
|
||||||
|
BuildRequires: hardlink
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%description
|
||||||
|
Licensed only for approved usage, see COPYING for details.
|
||||||
|
|
||||||
|
%package httpd
|
||||||
|
Summary: AlmaLinux-related icons and pictures used by httpd
|
||||||
|
Provides: system-logos-httpd = %{version}-%{release}
|
||||||
|
Provides: redhat-logos-httpd = %{version}-%{release}
|
||||||
|
Provides: system-logos(httpd-logo-ng)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description httpd
|
||||||
|
Licensed only for approved usage, see COPYING for details.
|
||||||
|
|
||||||
|
%package ipa
|
||||||
|
Summary: AlmaLinux-related icons and pictures used by ipa
|
||||||
|
Provides: system-logos-ipa = %{version}-%{release}
|
||||||
|
Provides: redhat-logos-ipa = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description ipa
|
||||||
|
Licensed only for approved usage, see COPYING for details.
|
||||||
|
|
||||||
|
%package -n almalinux-kitten-backgrounds
|
||||||
|
Summary: AlmaLinux-related desktop backgrounds
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Obsoletes: almalinux-logos < 80.1-2
|
||||||
|
Provides: system-backgrounds = %{version}-%{release}
|
||||||
|
Requires: almalinux-kitten-logos = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n almalinux-kitten-backgrounds
|
||||||
|
Licensed only for approved usage, see COPYING for details.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/backgrounds/
|
||||||
|
for i in backgrounds/*.jpg backgrounds/*.xml; do
|
||||||
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/backgrounds/
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
|
||||||
|
install -p -m 644 backgrounds/10_org.gnome.desktop.background.default.gschema.override $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
|
||||||
|
install -p -m 644 backgrounds/10_org.gnome.desktop.screensaver.default.gschema.override $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/
|
||||||
|
install -p -m 644 backgrounds/desktop-backgrounds-default.xml $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/fedora-%{codename}/
|
||||||
|
for i in firstboot/* ; do
|
||||||
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/firstboot/themes/fedora-%{codename}/
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
|
for i in pixmaps/* ; do
|
||||||
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
||||||
|
for i in plymouth/charge/* ; do
|
||||||
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
||||||
|
done
|
||||||
|
|
||||||
|
for size in 16x16 22x22 24x24 32x32 36x36 48x48 96x96 256x256 ; do
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps
|
||||||
|
for i in icons/hicolor/$size/apps/* ; do
|
||||||
|
install -p -m 644 $i $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/$size/apps
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
pushd $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
|
ln -s %{_datadir}/icons/hicolor/16x16/apps/fedora-logo-icon.png favicon.png
|
||||||
|
popd
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
||||||
|
install -p -m 644 icons/hicolor/scalable/apps/xfce4_xicon1.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
||||||
|
install -p -m 644 icons/hicolor/scalable/apps/fedora-logo-icon.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/start-here.svg
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/places/
|
||||||
|
pushd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/places/
|
||||||
|
ln -s ../apps/start-here.svg .
|
||||||
|
popd
|
||||||
|
|
||||||
|
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||||
|
cp -a fedora/*.svg $RPM_BUILD_ROOT%{_datadir}/%{name}
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ipa/ui/images
|
||||||
|
cp -a ipa/*.png $RPM_BUILD_ROOT%{_datadir}/ipa/ui/images
|
||||||
|
cp -a ipa/*.jpg $RPM_BUILD_ROOT%{_datadir}/ipa/ui/images
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/testpage
|
||||||
|
install -p -m 644 testpage/index.html $RPM_BUILD_ROOT%{_datadir}/testpage
|
||||||
|
|
||||||
|
# save some dup'd icons
|
||||||
|
# Except in /boot. Because some people think it is fun to use VFAT for /boot.
|
||||||
|
hardlink -v %{buildroot}/usr
|
||||||
|
|
||||||
|
%ifnarch x86_64 i686
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_datadir}/anaconda/boot/splash.lss
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%config(noreplace) %{_sysconfdir}/favicon.png
|
||||||
|
%{_datadir}/glib-2.0/schemas/*.override
|
||||||
|
%{_datadir}/firstboot/themes/fedora-%{codename}/
|
||||||
|
%{_datadir}/plymouth/themes/charge/
|
||||||
|
|
||||||
|
%{_datadir}/pixmaps/*
|
||||||
|
%exclude %{_datadir}/pixmaps/poweredby.png
|
||||||
|
%{_datadir}/anaconda/pixmaps/*
|
||||||
|
%ifarch x86_64 i686
|
||||||
|
%{_datadir}/anaconda/boot/splash.lss
|
||||||
|
%endif
|
||||||
|
%{_datadir}/anaconda/boot/syslinux-splash.png
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
%{_datadir}/icons/hicolor/*/places/*
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
|
# we multi-own these directories, so as not to require the packages that
|
||||||
|
# provide them, thereby dragging in excess dependencies.
|
||||||
|
%dir %{_datadir}/backgrounds
|
||||||
|
%dir %{_datadir}/icons/hicolor/
|
||||||
|
%dir %{_datadir}/icons/hicolor/16x16/
|
||||||
|
%dir %{_datadir}/icons/hicolor/16x16/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/22x22/
|
||||||
|
%dir %{_datadir}/icons/hicolor/22x22/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/24x24/
|
||||||
|
%dir %{_datadir}/icons/hicolor/24x24/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/32x32/
|
||||||
|
%dir %{_datadir}/icons/hicolor/32x32/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/36x36/
|
||||||
|
%dir %{_datadir}/icons/hicolor/36x36/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/48x48/
|
||||||
|
%dir %{_datadir}/icons/hicolor/48x48/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/96x96/
|
||||||
|
%dir %{_datadir}/icons/hicolor/96x96/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/256x256/
|
||||||
|
%dir %{_datadir}/icons/hicolor/256x256/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/scalable/
|
||||||
|
%dir %{_datadir}/icons/hicolor/scalable/apps/
|
||||||
|
%dir %{_datadir}/icons/hicolor/scalable/places/
|
||||||
|
%dir %{_datadir}/anaconda
|
||||||
|
%dir %{_datadir}/anaconda/boot/
|
||||||
|
%dir %{_datadir}/anaconda/pixmaps
|
||||||
|
%dir %{_datadir}/firstboot/
|
||||||
|
%dir %{_datadir}/firstboot/themes/
|
||||||
|
%dir %{_datadir}/plymouth/
|
||||||
|
%dir %{_datadir}/plymouth/themes/
|
||||||
|
|
||||||
|
%files httpd
|
||||||
|
%license COPYING
|
||||||
|
%{_datadir}/pixmaps/poweredby.png
|
||||||
|
%{_datadir}/testpage
|
||||||
|
%{_datadir}/testpage/index.html
|
||||||
|
|
||||||
|
%files ipa
|
||||||
|
%license COPYING
|
||||||
|
%{_datadir}/ipa/ui/images/*
|
||||||
|
# we multi-own these directories, so as not to require the packages that
|
||||||
|
# provide them, thereby dragging in excess dependencies.
|
||||||
|
%dir %{_datadir}/ipa
|
||||||
|
%dir %{_datadir}/ipa/ui
|
||||||
|
%dir %{_datadir}/ipa/ui/images
|
||||||
|
|
||||||
|
%files -n almalinux-kitten-backgrounds
|
||||||
|
%license COPYING
|
||||||
|
%{_datadir}/backgrounds/*
|
||||||
|
%{_datadir}/gnome-background-properties/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 12 2024 Eduard Abdullin <eabdullin@almalinux.org> - 100.1-1
|
||||||
|
- Initial release
|
Loading…
Reference in New Issue
Block a user