[mate-themes] update spec file for git source

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sun Aug 4 13:49:56 UTC 2013


commit d4496aeaba66c8c5c7b938bdbf0db40f1a940742
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sun Aug 4 15:49:43 2013 +0200

    update spec file for git source

 mate-themes.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/mate-themes.spec b/mate-themes.spec
index f1a07bf..8cb796f 100644
--- a/mate-themes.spec
+++ b/mate-themes.spec
@@ -1,10 +1,14 @@
 Name:           mate-themes
 Version:        1.6.1
-Release:        3%{?dist}
+Release:        0.1.git%{_internal_version}%{?dist}
 Summary:        MATE Desktop themes
 License:        GPLv2+
 URL:            http://mate-desktop.org
-Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
+
+# 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-uptream/%{name}-%{version}.git%{_internal_version}.tar.xz
 
 BuildRequires:  icon-naming-utils
 BuildRequires:  mate-common
@@ -27,7 +31,8 @@ MATE Desktop themes
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{_internal_version}
+NOCONFIGURE=1 ./autogen.sh
 
 %build
 %configure --enable-all-themes   \


More information about the scm-commits mailing list