[e16-themes] 1.0.1 Remove fonts (bz #477378)
terjeros
terjeros at fedoraproject.org
Wed Oct 19 16:54:51 UTC 2011
commit d2c1ed027dd2997497321395e529f26a82f63f61
Author: Terje Røsten <terje.rosten at ntnu.no>
Date: Wed Oct 19 18:54:47 2011 +0200
1.0.1
Remove fonts (bz #477378)
.gitignore | 2 ++
e16-themes.spec | 26 +++++++++++++++++++++++---
sources | 3 ++-
3 files changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index de116b5..b6b946a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
e16-themes-1.0.0.tar.gz
+/create-clean-tarball.sh
+/e16-themes-cleaned-1.0.1.tar.gz
diff --git a/e16-themes.spec b/e16-themes.spec
index e12bb3c..16c9c56 100644
--- a/e16-themes.spec
+++ b/e16-themes.spec
@@ -1,11 +1,17 @@
Summary: Themes for Enlightenment, DR16
Name: e16-themes
-Version: 1.0.0
-Release: 2%{?dist}
+Version: 1.0.1
+Release: 1%{?dist}
License: MIT with advertising
Group: User Interface/Desktops
URL: http://www.enlightenment.org/
-Source: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
+#
+# Use create-clean-tarball.sh script to create the cleaned tarball
+# from the original tarball:
+# http://downloads.sourceforge.net/enlightenment/e16-themes-%{version}.tar.gz
+#
+Source0: e16-themes-cleaned-%{version}.tar.gz
+Source1: create-clean-tarball.sh
BuildArch: noarch
Requires: e16 >= 1.0.0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -28,6 +34,16 @@ This is part of the Enlightenment distribution.
%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
%{__rm} -rfv %{buildroot}%{_datadir}/e16/themes/ShinyMetal/epplets/images/.xvpics
%{__chmod} 0755 %{buildroot}%{_datadir}/e16/themes/Ganymede/ACTIVATE_BUTTONS
+# symlink all font configs to default theme
+for theme in BlueSteel BrushedMetal-Tigert Ganymede ShinyMetal ; do
+ %{__rm} -f %{buildroot}%{_datadir}/e16/themes/$theme/fonts.theme.cfg
+ %{__ln_s} ../winter/fonts.theme.cfg \
+ %{buildroot}%{_datadir}/e16/themes/$theme/fonts.theme.cfg
+done
+# Remove refs to removed fonts
+%{__sed} -i -r -e 's,face=(aircut3,ganymede|rothwell|vixar|zirkle),face=Vera,g' \
+ %{buildroot}%{_datadir}/e16/themes/*/ABOUT/MAIN
+
%clean
%{__rm} -rf %{buildroot}
@@ -37,6 +53,10 @@ This is part of the Enlightenment distribution.
%{_datadir}/e16/themes
%changelog
+* Tue Oct 18 2011 Terje Rosten <terje.rosten at ntnu.no> - 1.0.1-1
+- 1.0.1
+- Remove fonts (bz #477378)
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 990fcfb..b87ce48 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-0697ae00a32938f45d786b40a0b276fb e16-themes-1.0.0.tar.gz
+58d3e091cb70247d7e9c6d08989215e5 create-clean-tarball.sh
+8e3ec6964ec107a4ee418e57b030a55d e16-themes-cleaned-1.0.1.tar.gz
More information about the scm-commits
mailing list