rhughes pushed to LuxRender (master). "Add an AppData file for the software center"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 16:49:17 UTC 2015
>From a843df44e04236767329ff6cfcbef2cd738f08db Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard at hughsie.com>
Date: Thu, 26 Mar 2015 16:37:43 +0000
Subject: Add an AppData file for the software center
diff --git a/LuxRender.spec b/LuxRender.spec
index a4ca044..dfb425e 100644
--- a/LuxRender.spec
+++ b/LuxRender.spec
@@ -8,7 +8,7 @@
Name: LuxRender
Version: 1.3.1
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Lux Renderer, an unbiased rendering system
Group: Applications/Multimedia
@@ -182,6 +182,40 @@ cp -pr luxblend25-%{hash1}/src/luxrender \
install -pm 0644 %{SOURCE3} \
$RPM_BUILD_ROOT%{blender_libdir}/scripts/bpydata/config/luxblend.cfg
+# Register as an application to be visible in the software center
+#
+# NOTE: It would be *awesome* if this file was maintained by the upstream
+# project, translated and installed into the right place during `make install`.
+#
+# See http://www.freedesktop.org/software/appstream/docs/ for more details.
+#
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cat > $RPM_BUILD_ROOT%{_datadir}/appdata/luxrender.appdata.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <rlerch at redhat.com> -->
+<!--
+BugReportURL: http://www.luxrender.net/mantis/view.php?id=1540
+SentUpstream: 2014-09-18
+-->
+<application>
+ <id type="desktop">luxrender.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary>Standalone 3D renderer</summary>
+ <description>
+ <p>
+ LuxRender is an application that renders 3D scenes and features a physically
+ based and unbiased rendering engine.
+ LuxRender is only a 3D renderer, to use it, you are required to create the
+ scene to render (3D models, materials, cameras, and lights) in a 3D creation
+ application (such as blender), and then export to a format LuxRender understands.
+ </p>
+ </description>
+ <url type="homepage">http://www.luxrender.net</url>
+ <screenshots>
+ <screenshot type="default">http://www.luxrender.net/wiki/images/3/3a/Screenshot_luxrender_05.jpg</screenshot>
+ </screenshots>
+</application>
+EOF
%post lib -p /sbin/ldconfig
@@ -193,6 +227,7 @@ install -pm 0644 %{SOURCE3} \
%doc AUTHORS.txt COPYING.txt
%{_bindir}/luxrender
%{_datadir}/pixmaps/luxrender.svg
+%{_datadir}/appdata/luxrender.appdata.xml
%{_datadir}/applications/luxrender.desktop
%files lib
@@ -215,6 +250,9 @@ install -pm 0644 %{SOURCE3} \
%changelog
+* Thu Mar 26 2015 Richard Hughes <rhughes at redhat.com> - 1.3.1-16
+- Add an AppData file for the software center
+
* Thu Feb 19 2015 Rex Dieter <rdieter at fedoraproject.org> 1.3.1-15
- rebuild (fltk)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/LuxRender.git/commit/?h=master&id=a843df44e04236767329ff6cfcbef2cd738f08db
More information about the scm-commits
mailing list