[elementary-icon-theme] 3.0 version

Christopher Meng cicku at fedoraproject.org
Tue Jul 9 13:16:57 UTC 2013


commit 15943478d8d5ecd176088829c93987e6e8952fd5
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue Jul 9 21:16:11 2013 +0800

    3.0 version

 .gitignore                 |    1 +
 elementary-icon-theme.spec |   57 +++++++++++++++++---------------------------
 sources                    |    1 +
 3 files changed, 24 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f5343ca..70df3bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /elementary_Icons_by_DanRabbit.zip
 /elementary-icon-theme-2.7.1.tar.gz
+/elementary.tar.gz
diff --git a/elementary-icon-theme.spec b/elementary-icon-theme.spec
index 6fae8a6..7969d03 100644
--- a/elementary-icon-theme.spec
+++ b/elementary-icon-theme.spec
@@ -1,64 +1,51 @@
 Name:           elementary-icon-theme
-Version:        2.7.1
-Release:        4%{?dist}
+Version:        3.0
+Release:        1%{?dist}
 Summary:        Icons from the Elementary Project
-
-Group:          User Interface/Desktops
 License:        GPLv2
 URL:            https://launchpad.net/elementaryicons/
-Source0:        http://launchpad.net/elementaryicons/2.0/2.7.1/+download/%{name}-%{version}.tar.gz
+Source0:        https://launchpad.net/elementaryicons/3.x/%{version}/+download/elementary.tar.gz
 
 BuildArch:      noarch
 
 %description
-Icon theme set From Elementary Project
+This is an icon theme designed to be smooth, sexy, clear, and efficient.
 
 %prep
-%setup -c -q %{name}
-mkdir -p doc/elementary{,-monochrome}
-cp -p elementary-icon-theme/elementary-mono-dark/[A-Z]* doc/elementary-monochrome/
-cp -p elementary-icon-theme/elementary/[A-Z]* doc/elementary/
+%setup -qn elementary
 
 %build
+#Nothing here.
 
 %install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons
-cp -a elementary-icon-theme/elementary/ $RPM_BUILD_ROOT%{_datadir}/icons
-cp -a elementary-icon-theme/elementary-mono-dark/ $RPM_BUILD_ROOT%{_datadir}/icons
-chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/elementary/index.theme
-chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/elementary-mono-dark/index.theme
-
-%clean
-rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_iconsdir}/elementary
+cp -apR * %{buildroot}%{_iconsdir}/elementary
+chmod 644 %{buildroot}%{_iconsdir}/elementary/index.theme
+find %{buildroot} -name 'AUTHORS' -delete
+find %{buildroot} -name 'CONTRIBUTORS' -delete
+find %{buildroot} -name 'COPYING' -delete
+find %{buildroot} -name '.bzrignore' -delete
 
 %post
-touch --no-create %{_datadir}/icons/elementary &>/dev/null ||:
-touch --no-create %{_datadir}/icons/elementary-monochrome &>/dev/null ||:
+touch --no-create %{_iconsdir}/elementary &>/dev/null ||:
 
 %postun
 if [ $1 -eq 0 ] ; then
-         touch --no-create %{_datadir}/icons/elementary &>/dev/null
-         gtk-update-icon-cache -q %{_datadir}/icons/elementary &>/dev/null ||:
-fi
-
-if [ $1 -eq 0 ] ; then
-         touch --no-create %{_datadir}/icons/elementary-monochrome &>/dev/null
-         gtk-update-icon-cache -q %{_datadir}/icons/elementary-monochrome &>/dev/null ||:
+         touch --no-create %{_iconsdir}/elementary &>/dev/null
+         gtk-update-icon-cache -q %{_iconsdir}/elementary &>/dev/null ||:
 fi
 
 %posttrans 
-gtk-update-icon-cache %{_datadir}/icons/elementary &>/dev/null ||:
-gtk-update-icon-cache %{_datadir}/icons/elementary-monochrome &>/dev/null ||:
+gtk-update-icon-cache %{_iconsdir}/elementary &>/dev/null ||:
 
 %files
-%defattr(-,root,root,-)
-%{_datadir}/icons/elementary/
-%{_datadir}/icons/elementary-mono-dark/
-%doc doc/*
-
+%doc AUTHORS CONTRIBUTORS COPYING
+%{_iconsdir}/elementary/
 
 %changelog
+* Sun Jul 07 2013 Christopher Meng <rpm at cicku.me> - 3.0-1
+- Update to 3.0(BZ#973917)
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.7.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index a2799f6..0ef47bf 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 fc4580641089a09cbcf7df38ebddd807  elementary-icon-theme-2.7.1.tar.gz
+7c74684926cfbf58782948d4dc8c79f6  elementary.tar.gz


More information about the scm-commits mailing list