1
0

Accepting request 100202 from home:vuntz:branches:GNOME:Apps

New package: popular icon theme, importing from contrib

OBS-URL: https://build.opensuse.org/request/show/100202
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/faenza-icon-theme?expand=0&rev=1
This commit is contained in:
Vincent Untz 2012-01-13 16:40:40 +00:00 committed by Git OBS Bridge
commit 763ff07c22
6 changed files with 286 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ceacfeb6f890b7c2bc1e88f9bcacb1770646d64b74c46cba2e8eec4042df33b5
size 209363

27
faenza-icon-theme.changes Normal file
View File

@ -0,0 +1,27 @@
-------------------------------------------------------------------
Fri Jan 13 13:25:33 UTC 2012 - vuntz@opensuse.org
- Update to version 1.2:
+ New apps: Desura, Gajim, Google Music Frame, Mail notification
+ New icons sizes: 64x64 and 96x96
+ Fixes the specific folders icons replaced by the standard one
+ Fixes some missing links
- Add unzip BuildRequires since the upstream sources is a zip file.
- On openSUSE >= 11.3, add hicolor-icon-theme BuildRequires and use
%icon_theme_cache_* macros to get the icon theme caches built.
- Add gnome-icon-theme Requires to main subpackage as the theme
inherits the GNOME icon theme.
- Fix Requires of the various subpackages so that they depend on
the right Faenza variant they inherit from.
- Improve summaries and descriptions.
-------------------------------------------------------------------
Wed Oct 26 12:46:33 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.1
-------------------------------------------------------------------
Fri Oct 1 18:08:09 UTC 2010 - nmo.marques@gmail.com
- Initial packaging including: Faenza, Faenza-Dark and Faenza-Mint (Faenza in green).

229
faenza-icon-theme.spec Normal file
View File

@ -0,0 +1,229 @@
# vim: set ts=4 sw=4 et:
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Name: faenza-icon-theme
Version: 1.2
Release: 0
License: GPL-3.0+
Summary: Faenza Icon Theme
Url: http://tiheum.deviantart.com/art/Faenza-Icons-173323228
Group: System/GUI/GNOME
## http://www.deviantart.com/download/173323228/faenza_icons_by_tiheum-d2v6x24.zip
Source: faenza_icons_by_tiheum-d2v6x24.zip
Source1: http://gnome-look.org/CONTENT/content-files/132681-Faenza-Mint.tar.gz
BuildRequires: fdupes
%if 0%{?suse_version}
# For all the icon themes macros
BuildRequires: hicolor-icon-theme
%endif
BuildRequires: unzip
# Inherits from GNOME icon theme
Requires: gnome-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package ambiance
Summary: Faenza-Ambiance Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-darkest = %{version}
%description ambiance
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
Faenza-Ambiance is suitable with dark panel and toolbars.
%package dark
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description dark
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package darker
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-darkest = %{version}
%description darker
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package darkest
Summary: Faenza-Dark Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-dark = %{version}
%description darkest
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%package radiance
Summary: Faenza-Radiance Icon Theme
Group: System/GUI/GNOME
Requires: %{name} = %{version}
%description radiance
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
Faenza-Radiance is suitable with light panel and controls.
%package mint
Summary: Faenza-Mint Icon Theme
Group: System/GUI/GNOME
Requires: %{name}-dark = %{version}
%description mint
This icon theme for GNOME provides monochromatic icons for panels,
toolbars and buttons and colourful squared icons for devices,
applications, folder, files and GNOME menu items.
%prep
%setup -q -c "faenza-%{version}" -a 1
dist=
%if 0%{?suse_version:1}
dist=opensuse
%endif
%if 0%{?fedora_version:1}
dist=fedora
%endif
%if 0%{?mandriva_version:1} || 0%{?mdv_version:1}
dist=mandriva
%endif
[ -n "$dist" ] || { echo "Failed to determine distribution" >&2; exit 1; }
for f in Faenza*.tar.gz; do
tar xzf "$f"
done
find . -maxdepth 1 -type d -name 'Faenza*' | while read f; do
f="${f#*/}"
n="${f##*/}"
n="${n%.tar.gz}"
find "$n/" -type f ! -perm 0644 -exec chmod 0644 {} \;
pushd "$n"
find . -type f -name "distributor-logo-${dist}.*" | while read x; do
xf="${x##*/}"
xd="${x%/*}"
xe="${xf##*.}"
rm -f "$xd/distributor-logo.$xe"
ln -s "$xf" "$xd/distributor-logo.$xe"
rm -f "$xd/start-here.$xe"
ln -s "$xf" "$xd/start-here.$xe"
done
popd #$n
done
%build
%install
install -d "%{buildroot}%{_datadir}/icons"
find . -maxdepth 1 -type d -name 'Faenza*' | while read d; do
n="${d##*/}"
cp -a "$d" "%{buildroot}%{_datadir}/icons/$n"
%fdupes -s "%{buildroot}%{_datadir}/icons/$n"
done
%if 0%{?suse_version} > 1130
%icon_theme_cache_create_ghost Faenza
%icon_theme_cache_create_ghost Faenza-Ambiance
%icon_theme_cache_create_ghost Faenza-Dark
%icon_theme_cache_create_ghost Faenza-Darker
%icon_theme_cache_create_ghost Faenza-Darkest
%icon_theme_cache_create_ghost Faenza-Radiance
%icon_theme_cache_create_ghost Faenza-Mint
%endif
%if 0%{?suse_version} > 1130
# No need for %%icon_theme_cache_postun in %%postun since the themes won't exist anymore
%post
%icon_theme_cache_post Faenza
%post ambiance
%icon_theme_cache_post Faenza-Ambiance
%post dark
%icon_theme_cache_post Faenza-Dark
%post darker
%icon_theme_cache_post Faenza-Darker
%post darkest
%icon_theme_cache_post Faenza-Darkest
%post radiance
%icon_theme_cache_post Faenza-Radiance
%post mint
%icon_theme_cache_post Faenza-Mint
%endif
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
%{_datadir}/icons/Faenza
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza/icon-theme.cache
%endif
%files ambiance
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Ambiance
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Ambiance/icon-theme.cache
%endif
%files dark
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Dark
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Dark/icon-theme.cache
%endif
%files darker
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Darker
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Darker/icon-theme.cache
%endif
%files darkest
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Darkest
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Darkest/icon-theme.cache
%endif
%files radiance
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Radiance
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Radiance/icon-theme.cache
%endif
%files mint
%defattr(-,root,root)
%{_datadir}/icons/Faenza-Mint
%if 0%{?suse_version} > 1130
%ghost %{_datadir}/icons/Faenza-Mint/icon-theme.cache
%endif
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37d87721dbb3357e38d1e683e1d705476bc5e6d75f0d07c3af4c5c0cf8a0131f
size 24640260