[fonts-tweak-tool] Change to version 0.0.6

james ni jamesni at fedoraproject.org
Fri Jun 29 06:02:19 UTC 2012


commit 8a01f5c3b2db0f32b83e194c7b32b60717f2c4d9
Author: James Ni <kent.neo at gmail.com>
Date:   Fri Jun 29 14:02:00 2012 +0800

    Change to version 0.0.6

 .gitignore            |    1 +
 fonts-tweak-tool.spec |   17 +++++++++--------
 sources               |    2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7178251..dbc7ef7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /fonts-tweak-tool-0.0.3.tar.gz
 /fonts-tweak-tool-0.0.4.tar.gz
 /fonts-tweak-tool-0.0.5.tar.gz
+/fonts-tweak-tool-0.0.6.tar.gz
diff --git a/fonts-tweak-tool.spec b/fonts-tweak-tool.spec
index d2ca5fe..4719b07 100644
--- a/fonts-tweak-tool.spec
+++ b/fonts-tweak-tool.spec
@@ -1,5 +1,5 @@
 Name: fonts-tweak-tool
-Version: 0.0.5
+Version: 0.0.6
 Release: 1%{?dist}
 Summary: Tool for customizing fonts per language
 
@@ -23,22 +23,23 @@ using fontconfig.
 
 %prep
 %setup -q
-%configure
 
 %build
-make
-#python setup.py build
+python setup.py build
+#make
 
 %install
-#%{__python} setup.py install --skip-build --root %{buildroot}
-make install DESTDIR=${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications fonts-tweak-tool.desktop
+#make install DESTDIR=${RPM_BUILD_ROOT}
 
 %files
 %doc README COPYING AUTHORS
 %{python_sitelib}/*
 %{_bindir}/*
-%{_datadir}/*
-
+%{_datadir}/%{name}
+%{_datadir}/applications
 
 %changelog
 * Tue Mar 20 2012 James Ni <jni at redhat.com> - 0.0.5-1
diff --git a/sources b/sources
index d9b31ca..39ddcd0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cf99d45ad5220712308f4c3eb5d529b8  fonts-tweak-tool-0.0.5.tar.gz
+94307bfc2a17c58c285215adf088fa5f  fonts-tweak-tool-0.0.6.tar.gz


More information about the scm-commits mailing list