commit 1b83c4513766cee22fa7262daa428c8be0d86cc4
Author: Luya Tshimbalanga <luya(a)kwetu.telus1603>
Date: Sun Jan 25 23:55:30 2015 -0800
Added metainfo
.gitignore | 1 +
gimp-paint-studio.spec | 12 +++++++++++-
sources | 1 +
3 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 82b665a..b1fa431 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/GPS_2_0.tar.gz
+/gimp-paint-studio.metainfo.xml
diff --git a/gimp-paint-studio.spec b/gimp-paint-studio.spec
index aa12bf4..d4e0479 100644
--- a/gimp-paint-studio.spec
+++ b/gimp-paint-studio.spec
@@ -1,10 +1,11 @@
Name: gimp-paint-studio
Version: 2.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: A collection of tool option presets and brushes for GIMP
License: CC-BY-SA and GPLv2
URL:
http://code.google.com/p/gps-%{name}/
Source0:
https://gps-%{name}.googlecode.com/files/GPS_2_0.tar.gz
+Source1: %{name}.metainfo.xml
BuildArch: noarch
Requires: gimp >= 2.8
@@ -32,6 +33,10 @@ cp -pr %{_builddir}/%{name}-%{version}/brushes \
%{_builddir}/%{name}-%{version}/tool-presets \
%{buildroot}/usr/share/gimp/2.0
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE1} \
+ %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
+
%files
#CC-BY-SA
%{_datadir}/gimp/2.0/brushes/GPS-Brushes/
@@ -53,6 +58,8 @@ cp -pr %{_builddir}/%{name}-%{version}/brushes \
%{_datadir}/gimp/2.0/tool-presets/GPS-Set2/
%{_datadir}/gimp/2.0/tool-presets/GPS-Sketch/
%{_datadir}/gimp/2.0/tool-presets/GPS-Smudge/
+#AppStream metadata
+%{_datadir}/appdata/%{name}.metainfo.xml
# Conditional for RHEL6 and less
%if 0%{?rhel} <= 6
@@ -62,6 +69,9 @@ cp -pr %{_builddir}/%{name}-%{version}/brushes \
%endif
%changelog
+* Sun Jan 25 2015 Luya Tshimbalanga <luya(a)fedoraproject.org> - 2.0-9
+- Add metainfo files for software center
+
* Sun Nov 09 2014 Luya Tshimbalanga <luya(a)fedoraproject.org> - 2.0-8
- Removal of xcf files within patterns directory (rhbz#1054967)
diff --git a/sources b/sources
index 47e580b..baa99d5 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
72fd1edc148a0c8c8c12993ee266d9e6 GPS_2_0.tar.gz
+333e5eabb6933d7f90e47b8a6150b7e0 gimp-paint-studio.metainfo.xml