|
|
|
%global codename sphericalcow
|
|
|
|
# Package is only arch specific due to missing deps on arm
|
|
|
|
# Debuginfo package is useless.
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global release_version 16
|
|
|
|
|
|
|
|
Name: sphere-logos
|
|
|
|
Version: 90.4
|
|
|
|
Release: %{release_version}%{?dist}
|
|
|
|
Summary: MSVSphere-related icons and pictures
|
|
|
|
|
|
|
|
%global real_version %{version}-%{release_version}
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
URL: https://msvsphere-os.ru
|
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}-%{release_version}.tar.xz
|
|
|
|
Source1: org.fedoraproject.AnacondaInstaller.svg
|
|
|
|
|
|
|
|
License: Licensed only for approved usage, see COPYING for details.
|
|
|
|
|
|
|
|
Obsoletes: sphere-logos < 80.1-2
|
|
|
|
Provides: system-logos = %{version}-%{release}
|
|
|
|
Provides: redhat-logos = %{version}-%{release}
|
|
|
|
|
|
|
|
Conflicts: anaconda-images <= 10
|
|
|
|
Conflicts: redhat-artwork <= 5.0.5
|
|
|
|
|
|
|
|
# For splashtolss.sh
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
BuildRequires: syslinux-perl, netpbm-progs, make
|
|
|
|
%endif
|
|
|
|
Requires(post): coreutils
|
|
|
|
BuildRequires: hardlink
|
|
|
|
|
|
|
|
%description
|
|
|
|
Licensed only for approved usage, see COPYING for details.
|
|
|
|
|
|
|
|
%package httpd
|
|
|
|
Summary: MSVSphere-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: MSVSphere-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 sphere-backgrounds
|
|
|
|
Summary: MSVSphere-related desktop backgrounds
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Obsoletes: sphere-logos < 80.1-2
|
|
|
|
Provides: system-backgrounds = %{version}-%{release}
|
|
|
|
Requires: sphere-logos = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n sphere-backgrounds
|
|
|
|
Licensed only for approved usage, see COPYING for details.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{name}-%{real_version}
|
|
|
|
|
|
|
|
%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
|
|
|
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/org.fedoraproject.AnacondaInstaller.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
|
|
|
|
%exclude %{_datadir}/pixmaps/system-noindex-logo.png
|
|
|
|
%exclude %{_datadir}/pixmaps/test-page-background.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}/pixmaps/system-noindex-logo.png
|
|
|
|
%{_datadir}/pixmaps/test-page-background.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 sphere-backgrounds
|
|
|
|
%license COPYING
|
|
|
|
%{_datadir}/backgrounds/*
|
|
|
|
%{_datadir}/gnome-background-properties/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon May 06 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 90.4-16
|
|
|
|
- Update backgrounds for MSVSphere 9.4
|
|
|
|
|
|
|
|
* Fri Oct 6 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-15
|
|
|
|
- Added more backgrounds
|
|
|
|
|
|
|
|
* Thu Sep 28 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-14
|
|
|
|
- Update Anaconda logo and backgrounds
|
|
|
|
|
|
|
|
* Sat Sep 16 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-13
|
|
|
|
- Some fixes in Anaconda logo again
|
|
|
|
|
|
|
|
* Thu Sep 14 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-12
|
|
|
|
- Update Anaconda logo
|
|
|
|
|
|
|
|
* Tue Sep 12 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 90.4-11
|
|
|
|
- Changed URLs from msvsphere.ru to msvsphere-os.ru
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-10
|
|
|
|
- Update MSVSphere icon
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-9
|
|
|
|
- Update Anaconda logo
|
|
|
|
- Update icons
|
|
|
|
|
|
|
|
* Sat Aug 19 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-8
|
|
|
|
- Update darkbackground logo
|
|
|
|
- Fix branding in index.html
|
|
|
|
- Drop logo from wallpaper
|
|
|
|
- Update installer icon
|
|
|
|
- Update ipa logos
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-7
|
|
|
|
- Change default background
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-6
|
|
|
|
- Fix background visiability
|
|
|
|
|
|
|
|
* Wed Aug 9 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-5
|
|
|
|
- Update MSVSphere logos
|
|
|
|
|
|
|
|
* Wed Jun 21 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 90.4-4
|
|
|
|
- update anaconda logos and backgrounds
|
|
|
|
|
|
|
|
* Mon Apr 24 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 90.4-3
|
|
|
|
- Renew content of fedora-logo-icon.svg start-here.svg xfce4_xicon1.svg
|
|
|
|
org.fedoraproject.AnacondaInstaller-symbolic.svg fedora-logo-sprite.png
|
|
|
|
fedora-logo-sprite.svg
|
|
|
|
|
|
|
|
* Fri Apr 21 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 90.4-2_1
|
|
|
|
- Updated index.html test page, replaced logos and pictures
|
|
|
|
|
|
|
|
* Mon Apr 10 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 90.4-2
|
|
|
|
- New and replaced sphere-logos content, index.html and test-page-background.png
|
|
|
|
|
|
|
|
* Tue Mar 28 2023 Alexey Lyubimov <a.lyubimov@msvsphere.ru> - 90.4-1
|
|
|
|
- Initial release for MSVSphere 9.1 beta
|