[mate-themes] udate to git snapshot from 2014.03.04

Wolfgang Ulbrich raveit65 at fedoraproject.org
Wed Mar 5 19:42:18 UTC 2014


commit ad1967ebf3ab8903c4edc99e8efc8ff8176302a6
Author: raveit65 <chat-to-me at raveit.de>
Date:   Wed Mar 5 20:41:56 2014 +0100

    udate to git snapshot from 2014.03.04

 .gitignore       |    1 +
 mate-themes.spec |   42 +++++++++++++++++++++++++++++-------------
 sources          |    2 +-
 3 files changed, 31 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a610d2..6834e2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /mate-themes-1.7.2.tar.xz
 /mate-themes-1.7.90.tar.xz
 /mate-themes-1.8.0.tar.xz
+/mate-themes-1.8.1-git20140304-5a900ef.tar.xz
diff --git a/mate-themes.spec b/mate-themes.spec
index 7151786..0d11cdb 100644
--- a/mate-themes.spec
+++ b/mate-themes.spec
@@ -1,19 +1,30 @@
-#%%global _internal_version  27da094
+# Conditional for release and snapshot builds. Uncomment for release-builds.
+#%%global rel_build 1
+
+# This is needed, because src-url contains branched part of versioning-scheme.
+%global branch 1.8
+
+# Settings used for build from snapshots.
+%{!?rel_build:%global commit 5a900efff53ab69e6427c71ecae859c07618774a}
+%{!?rel_build:%global commit_date 20140304}
+%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
+%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
+%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
+%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
 
 Name:           mate-themes
-Version:        1.8.0
-#Release:        0.2.git%{_internal_version}%{?dist}
-Release:        1%{?dist}
+Version:        %{branch}.1
+Release:        0.1%{?git_rel}%{?dist}
+#Release:        1%{?dist}
 Summary:        MATE Desktop themes
 License:        GPLv2+
 URL:            http://mate-desktop.org
 
-# To generate tarball
-# wget http://git.mate-desktop.org/mate-themes/snapshot/%%{name}-{_internal_version}.tar.xz -O %%{name}-%%{version}.git%%{_internal_version}.tar.xz
-
-#Source0:       http://raveit65.fedorapeople.org/Mate/git-upstream/%{name}-%{version}.git%{_internal_version}.tar.xz
-
-Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
+# for downloading the tarball use 'spectool -g -R mate-themes.spec'
+# Source for release-builds.
+%{?rel_build:Source0:     http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
+# Source for snapshot-builds.
+%{!?rel_build:Source0:    http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
 
 BuildRequires:  icon-naming-utils
 BuildRequires:  mate-common
@@ -35,11 +46,10 @@ MATE Desktop themes
 
 
 %prep
-%setup -q
-#%setup -q -n %{name}-%{_internal_version}
+%setup -q%{!?rel_build:n %{name}-%{commit}}
 
 # needed for git snapshots
-#NOCONFIGURE=1 ./autogen.sh
+NOCONFIGURE=1 ./autogen.sh
 
 
 %build
@@ -126,6 +136,12 @@ done
 
 
 %changelog
+* Wed Mar 05 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.8.1-0.1.git20140304.5a900e
+- update to git snapshot from 2014.03.04
+- add better git snapshot usage
+- BlackMATE, GreenLaguna, Menta and BlueMenta supports now GTk3-3.10
+- Good bye adwaita engine warning
+
 * Wed Mar 05 2014 Dan Mashal <dan.mashal at fedoraproject.org> - 1.8.0-1
 - Update to 1.8.0
 
diff --git a/sources b/sources
index a671c4d..a50cc9c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a29efead861d6eb68fda59e95705c520  mate-themes-1.8.0.tar.xz
+e5943c625aea07bef8c012a725e9df8e  mate-themes-1.8.1-git20140304-5a900ef.tar.xz


More information about the scm-commits mailing list