[ascii-design/epel7: 8/9] Update to 1.1.0 Patch to fix invalidation of the appdata file

Christopher Meng cicku at fedoraproject.org
Mon Jun 23 04:32:34 UTC 2014


commit 1bd3c8d45bce92b0766a75dd1a5996870ea8f8ad
Author: Christopher Meng <i at cicku.me>
Date:   Mon Jun 23 12:29:59 2014 +0800

    Update to 1.1.0
    Patch to fix invalidation of the appdata file

 .gitignore                                      |    1 +
 ascii-design-1.1.0-appdata-syntax-cleanup.patch |   50 +++++++++++++++++++++++
 ascii-design.spec                               |    9 +++-
 sources                                         |    2 +-
 4 files changed, 59 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 423604e..24929d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /ascii-design-1.0.1.tar.bz2
 /ascii-design-1.0.2.tar.bz2
 /ascii-design-1.0.3.tar.bz2
+/ascii-design-1.1.0.tar.bz2
diff --git a/ascii-design-1.1.0-appdata-syntax-cleanup.patch b/ascii-design-1.1.0-appdata-syntax-cleanup.patch
new file mode 100644
index 0000000..d452b1f
--- /dev/null
+++ b/ascii-design-1.1.0-appdata-syntax-cleanup.patch
@@ -0,0 +1,50 @@
+From cf4655e73f52fc36c12d6ab07610d88bb4b513c6 Mon Sep 17 00:00:00 2001
+From: Christopher Meng <cickumqt at gmail.com>
+Date: Mon, 23 Jun 2014 12:22:37 +0800
+Subject: [PATCH] Update ascii-design.appdata.xml
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+1.appdata 1 problems detected:
+• style-invalid         : Not enough <p> tags for a good description
+
+Fixed now by pulling in more <p> tags.
+---
+ ascii-design.appdata.xml | 11 +++++++----
+ 1 file changed, 7 insertions(+), 4 deletions(-)
+
+diff --git a/ascii-design.appdata.xml b/ascii-design.appdata.xml
+index e764f84..1ec67c0 100644
+--- a/ascii-design.appdata.xml
++++ b/ascii-design.appdata.xml
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!-- Copyright 2014 Francesco Mondello <faster3ck at gmail.com> -->
++<!-- Copyright 2014 Francesco Mondello -->
+ <application>
+  <id type="desktop">ascii-design.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+@@ -8,13 +8,16 @@
+  <summary>Ascii Design is a free program to create awesome ascii art text</summary>
+  <description>
+   <p>
+-   Ascii Design is a free program, based on figlet engine, that enables you to create awesome ascii art text. You can create art based text for many types of decorations for web sites, e-mail, text files etc...
+-   Ascii Design is able to use dozens of special fonts to create various styles of ascii arts.
++   Ascii Design is a free program, based on figlet engine, that enables you to create awesome ascii art text.
++  </p>
++  <p>You can create art based text for many types of decorations for web sites, e-mail, text files etc...
++  </p>
++  <p>Ascii Design is able to use dozens of special fonts to create various styles of ascii arts.
+   </p>
+  </description>
+  <screenshots>
+   <screenshot type="default" width="818" height="545">http://ascii-design.sourceforge.net/ascii-design_kde.png</screenshot>
+  </screenshots>
+  <url type="homepage">http://ascii-design.sourceforge.net/</url>
+- <updatecontact>faster3ck_AT_gmail.com</updatecontact>
++ <updatecontact>faster3ck at gmail.com</updatecontact>
+ </application>
+-- 
+1.9.3
+
diff --git a/ascii-design.spec b/ascii-design.spec
index 66dc800..31ac9d6 100644
--- a/ascii-design.spec
+++ b/ascii-design.spec
@@ -1,10 +1,11 @@
 Name:           ascii-design
-Version:        1.0.3
+Version:        1.1.0
 Release:        1%{?dist}
 Summary:        A tool to create ascii arts
 License:        GPLv2
 URL:            http://ascii-design.sourceforge.net
 Source0:        http://downloads.sourceforge.net/project/%{name}/%{name}/Ascii-Design%20%{version}/%{name}-%{version}.tar.bz2
+Patch0:         ascii-design-1.1.0-appdata-syntax-cleanup.patch
 BuildRequires:  appdata-tools
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
@@ -20,7 +21,8 @@ Ascii Design is also able to use dozens of special fonts to create various
 styles of ascii arts.
 
 %prep
-%setup -q 
+%setup -q
+%patch0 -p1
 sed -i 's/\r$//' COPYING.TXT
 
 %build
@@ -44,6 +46,9 @@ appdata-validate --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/pixmaps/%{name}.png
 
 %changelog
+* Fri Jun 20 2014 Christopher Meng <rpm at cicku.me> - 1.1.0-1
+- Update to 1.1.0
+
 * Wed Jun 11 2014 Christopher Meng <rpm at cicku.me> - 1.0.3-1
 - Update to 1.0.3
 
diff --git a/sources b/sources
index 3fd1050..a29c707 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8dbc7ca75e984e9c12ea4d941d82e499  ascii-design-1.0.3.tar.bz2
+d2e2b434977cefe3e94d544198ae5e64  ascii-design-1.1.0.tar.bz2


More information about the scm-commits mailing list