[gimp-elsamuko/f21] add metainfo for software center
Luya Tshimbalanga
luya at fedoraproject.org
Mon Feb 2 05:12:36 UTC 2015
commit 96c6dabdd68e1be24e7093be8ef1f0600fad7ad1
Author: Luya Tshimbalanga <luya at fedoraproject.org>
Date: Sun Feb 1 21:11:27 2015 -0800
add metainfo for software center
.gitignore | 1 +
gimp-elsamuko.spec | 29 ++++++++++++++++++-----------
sources | 1 +
3 files changed, 20 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e7dfe9a..b0868e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/elsamuko.zip
+/gimp-elsamuko.metainfo.xml
diff --git a/gimp-elsamuko.spec b/gimp-elsamuko.spec
index afa6598..4267ff4 100644
--- a/gimp-elsamuko.spec
+++ b/gimp-elsamuko.spec
@@ -1,12 +1,13 @@
-Name: gimp-elsamuko
-Version: 24
-Release: 3%{?dist}
-Summary: Script collection for the GIMP
-License: GPLv3+
-URL: https://sites.google.com/site/elsamuko/gimp
-Source0: https://sites.google.com/site/elsamuko/gimp/elsamuko.zip
-Requires: gimp
-BuildArch: noarch
+Name: gimp-elsamuko
+Version: 24
+Release: 4%{?dist}
+Summary: Script collection for the GIMP
+License: GPLv3+
+URL: https://sites.google.com/site/elsamuko/gimp
+Source0: https://sites.google.com/site/elsamuko/gimp/elsamuko.zip
+Source1: %{name}.metainfo.xml
+Requires: gimp
+BuildArch: noarch
%description
@@ -25,15 +26,21 @@ round corners, Obama 'Hope', vintage look, sharpening, etc.
%install
install -d %{buildroot}%{_datadir}/gimp/2.0/scripts/
install -m 0644 -p *.scm -t %{buildroot}%{_datadir}/gimp/2.0/scripts/
-
+# Add AppStream metadata
+install -Dm 0644 -p %{SOURCE1} \
+ %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml
%files
## Remember to add COPYING to docs, when it gets included upstream.
%doc z_README
%{_datadir}/gimp/2.0/scripts/*.scm
-
+#AppStream metadata
+%{_datadir}/appdata/%{name}.metainfo.xml
%changelog
+* Sun Feb 01 2015 Luya Tshimbalanga <luy at fedoraproject.org> - 24-4
+- Add metainfo files for software center
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index aec5bd3..4f8fe58 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
98e744676f0cff65ed9a0a7b45b06cee elsamuko.zip
+6ee938da241af4c391d2d3656f105455 gimp-elsamuko.metainfo.xml
More information about the scm-commits
mailing list