[elementary-xfce-icon-theme] Update to version 0.4
hannes
hannes at fedoraproject.org
Fri Feb 28 20:06:25 UTC 2014
commit 002c1f1d9340f338b0843cb73d58ee274a883f4f
Author: hannes <hannes at fedoraproject.org>
Date: Fri Feb 28 21:07:10 2014 +0100
Update to version 0.4
.gitignore | 1 +
elementary-xfce-icon-theme.spec | 22 ++++++++++++++++++++--
sources | 2 +-
3 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c81d51c..93cf9b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/elementary-xfce-0.3.tar.gz
+/elementary-xfce-0.4.tar.gz
diff --git a/elementary-xfce-icon-theme.spec b/elementary-xfce-icon-theme.spec
index ccf0198..750470e 100644
--- a/elementary-xfce-icon-theme.spec
+++ b/elementary-xfce-icon-theme.spec
@@ -1,6 +1,6 @@
Name: elementary-xfce-icon-theme
-Version: 0.3
-Release: 3%{?dist}
+Version: 0.4
+Release: 1%{?dist}
Summary: Icons for Xfce based on the elementary Project Icon Theme
@@ -30,6 +30,7 @@ cp -p elementary-xfce-%version/elementary-xfce/[A-Z]* doc/elementary-xfce/
%build
+
%install
mkdir -p %{buildroot}%{_datadir}/icons
cp -a elementary-xfce-%version/elementary-xfce/ %{buildroot}%{_datadir}/icons
@@ -38,12 +39,25 @@ cp -a elementary-xfce-%version/elementary-xfce-darker/ %{buildroot}%{_datadir}/
chmod 0644 %{buildroot}%{_datadir}/icons/elementary-xfce/index.theme
chmod 0644 %{buildroot}%{_datadir}/icons/elementary-xfce-dark/index.theme
chmod 0644 %{buildroot}%{_datadir}/icons/elementary-xfce-darker/index.theme
+#additional steps to prevent the conflicting file problem
+mv %{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16 \
+ %{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16_folder
+ln -s ../../elementary-xfce/actions/16 \
+ %{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16
+
+cp %{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16_folder/zoom-fit.svg \
+%{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16/
+
+rm -rf %{buildroot}%{_datadir}/icons/elementary-xfce-darker/actions/16_folder
+
+
%post
touch --no-create %{_datadir}/icons/elementary-xfce &>/dev/null ||:
touch --no-create %{_datadir}/icons/elementary-xfce-dark &>/dev/null ||:
touch --no-create %{_datadir}/icons/elementary-xfce-darker &>/dev/null ||:
+
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/elementary-xfce &>/dev/null
@@ -71,6 +85,10 @@ fi
%changelog
+* Wed Feb 26 2014 Johannes Lips <hannes at fedoraproject.org> - 0.4-1
+- update to latest upstream version 0.4
+- add section to prevent conflicting file problem
+
* Sat Jul 27 2013 Johannes Lips <hannes at fedoraproject.org> - 0.3-3
- added %posttrans scripts
diff --git a/sources b/sources
index 549b2f1..1f8fc3c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-be584a186f3f77bc6c902146dbc8daf1 elementary-xfce-0.3.tar.gz
+382e9abea98d4d85accec3598e272014 elementary-xfce-0.4.tar.gz
More information about the scm-commits
mailing list