commit faenza-icon-theme for openSUSE:Factory
Hello community,
here is the log from the commit of package faenza-icon-theme for openSUSE:Factory checked in at 2012-11-02 17:32:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/faenza-icon-theme (Old)
and /work/SRC/openSUSE:Factory/.faenza-icon-theme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "faenza-icon-theme", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/faenza-icon-theme/faenza-icon-theme.changes 2012-01-19 09:41:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.faenza-icon-theme.new/faenza-icon-theme.changes 2012-11-02 17:32:27.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Sep 14 16:40:54 UTC 2012 - nmo.marques@gmail.com
+
+- update faenza-install script; updated the spec file to use the
+ new syntax, cleaned up old stuff.
+
+-------------------------------------------------------------------
New:
----
faenza-install
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ faenza-icon-theme.spec ++++++
--- /var/tmp/diff_new_pack.I9cPd3/_old 2012-11-02 17:32:28.000000000 +0100
+++ /var/tmp/diff_new_pack.I9cPd3/_new 2012-11-02 17:32:28.000000000 +0100
@@ -17,6 +17,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
+
Name: faenza-icon-theme
Version: 1.2
Release: 0
@@ -27,7 +29,10 @@
## http://www.deviantart.com/download/173323228/faenza_icons_by_tiheum-d2v6x24....
Source: faenza_icons_by_tiheum-d2v6x24.zip
Source1: http://gnome-look.org/CONTENT/content-files/132681-Faenza-Mint.tar.gz
+# script to rebrand and install stuff...
+Source2: faenza-install
BuildRequires: fdupes
+BuildRequires: python
%if 0%{?suse_version}
# For all the icon themes macros
BuildRequires: hicolor-icon-theme
@@ -109,50 +114,18 @@
%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
+python %{S:2} --install %{buildroot}%{_datadir}/icons/
+%fdupes %{buildroot}%{_datadir}/icons
+find %{buildroot}%{_datadir}/icons -type f -exec chmod 0644 {} \;
+
%if 0%{?suse_version} > 1130
%icon_theme_cache_create_ghost Faenza
%icon_theme_cache_create_ghost Faenza-Ambiance
++++++ faenza-install ++++++
#!/usr/bin/env python
#
# Copyright (c) 2011-2012 Nelson Marques
participants (1)
-
root@hilbert.suse.de