commit 2cba8d3b2ba439fe37ac81d8afbf5e8a01fef334
Author: Göran Uddeborg <goeran(a)uddeborg.se>
Date: Tue Sep 19 20:50:49 2017 +0200
Appdata added.
ProjectX.spec | 15 +++++++++++++--
projectx.appdata.xml | 34 ++++++++++++++++++++++++++++++++++
screenshot.png | Bin 0 -> 240040 bytes
3 files changed, 47 insertions(+), 2 deletions(-)
---
diff --git a/ProjectX.spec b/ProjectX.spec
index 2b05509..14305c3 100644
--- a/ProjectX.spec
+++ b/ProjectX.spec
@@ -1,15 +1,15 @@
Name: ProjectX
Version: 0.91.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: DVB video editing and demultiplexing tool
Summary(sv): Verktyg för redigering och demultiplexning av DVB-video
-Group: Applications/Multimedia
License: GPLv2+
URL:
http://project-x.sourceforge.net/
Source0:
http://downloads.sourceforge.net/project/project-x/project-x/%{name}_%ver...
Source1:
http://gentoo.sbriesen.de/distfiles/projectx-idctfast.tar.xz
+Source2: projectx.appdata.xml
Patch0: %name-0.90.4.00-20100801cvs.sysjava.patch
Patch1: %name-0.90.4.00-20100806cvs.desktop.patch
Patch2: %name-0.90.4.00-20100806cvs.helpfiles.patch
@@ -21,6 +21,7 @@ BuildRequires: apache-commons-net
BuildRequires: jpackage-utils
BuildRequires: desktop-file-utils
BuildRequires: dos2unix
+BuildRequires: libappstream-glib
Requires: java >= 1.2.2
Requires: jakarta-oro
Requires: apache-commons-net
@@ -78,8 +79,14 @@ install -p -m u=rw,go=r %name.jar %buildroot%_jnidir
install -p lib/PORTABLE/libidctfast.so %buildroot%_libdir/%name
%jpackage_script net.sourceforge.dvb.projectx.common.Start
"-Djava.library.path=%_libdir/%name" ""
ProjectX:commons-net:jakarta-oro projectx true
desktop-file-install --dir=%buildroot%_datadir/applications projectx.desktop
+install -d %buildroot%_datadir/metainfo
+cp -p %SOURCE2 %buildroot%_datadir/metainfo
+%check
+appstream-util validate-relax --nonet \
+ %buildroot%_datadir/metainfo/projectx.appdata.xml
+
%files
%license Copying
%doc ReadMe.txt ReleaseNotes_0.91.0.txt
@@ -87,9 +94,13 @@ desktop-file-install --dir=%buildroot%_datadir/applications
projectx.desktop
%_jnidir/%name.jar
%_libdir/%name
%_datadir/applications/projectx.desktop
+%_datadir/metainfo/projectx.appdata.xml
%changelog
+* Tue Sep 19 2017 Göran Uddeborg <goeran(a)uddeborg.se> 0.91.0-9
+- Appdata added.
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> -
0.91.0-8
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/projectx.appdata.xml b/projectx.appdata.xml
new file mode 100644
index 0000000..cf95818
--- /dev/null
+++ b/projectx.appdata.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>projectx.desktop</id>
+ <metadata_license>CC-BY-SA-4.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <description>
+ <p>
+ In many countries digital radio and television uses the Digital
+ Video Broadcasting (DVB) standard to broadcast its data. Project
+ X is a tool to analyze and manipulate these DVB MPEG data
+ streams. It can cut and demultiplex them and it tries its best
+ to handle and repair many stream types and show what went wrong
+ on reception.
+ </p>
+ <p xml:lang="sv">
+ I många länder använder digital radio och television
+ DVB-standarden (Digital Video Broadcasting) för att sända sina
+ data. Project X är ett verktyg för att analysera och hantera
+ dessa DVB-MPEG-dataströmmar. Det kan dela upp och demultiplexa
+ dem och det gör sitt bästa för att hantera och reparera många
+ strömtyper och visa vad som gick fel vid mottagningen.
+ </p>
+ </description>
+ <launchable type="desktop-id">xpenguins.desktop</launchable>
+ <screenshots>
+ <screenshot type="default">
+ <image width="465" height="262">
+
https://pkgs.rpmfusion.org/cgit/free/ProjectX.git/plain/screenshot.png
+ </image>
+ </screenshot>
+ </screenshots>
+ <url
type="homepage">http://project-x.sourceforge.net/</url>
+ <update_contact>goeran(a)uddeborg.se</update_contact>
+</component>
diff --git a/screenshot.png b/screenshot.png
new file mode 100644
index 0000000..622820a
Binary files /dev/null and b/screenshot.png differ