Add an AppData file for the software center
This commit is contained in:
parent
b66f1cfa5c
commit
329c7eab28
@ -1,7 +1,7 @@
|
||||
Summary: Helps troubleshoot SELinux problems
|
||||
Name: setroubleshoot
|
||||
Version: 3.2.22
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: https://fedorahosted.org/setroubleshoot
|
||||
@ -87,6 +87,46 @@ mkdir -p %{buildroot}%{pkgvardatadir}
|
||||
touch %{buildroot}%{pkgdatabase}
|
||||
touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
|
||||
rm -rf %{buildroot}/usr/share/doc/
|
||||
|
||||
# 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/%{name}.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> -->
|
||||
<!--
|
||||
BugReportURL: https://fedorahosted.org/setroubleshoot/ticket/14
|
||||
SentUpstream: 2014-07-02
|
||||
-->
|
||||
<application>
|
||||
<id type="desktop">setroubleshoot.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<summary>Troubleshoot SELinux policy and access denials</summary>
|
||||
<description>
|
||||
<p>
|
||||
The SELinux Troubleshooter provides a graphical user interface to help
|
||||
diagnose SELinux policy issues.
|
||||
When Access Vector Cache (AVC) denial messages are logged by SELinux,
|
||||
the SELinux Troubleshooter generates a desktop notification containing
|
||||
information about the problem and allows the user to launch the
|
||||
troubleshooting interface to help track down the cause of the denial.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://fedorahosted.org/setroubleshoot/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">https://fedorahosted.org/setroubleshoot/raw-attachment/wiki/WikiStart/setroubleshoot.png</screenshot>
|
||||
</screenshots>
|
||||
<!-- FIXME: change this to an upstream email address for spec updates
|
||||
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
||||
-->
|
||||
</application>
|
||||
EOF
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%package server
|
||||
@ -128,6 +168,7 @@ rm -rf %{buildroot}
|
||||
|
||||
%files server -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_bindir}/sealert
|
||||
%{_sbindir}/sedispatch
|
||||
%{_sbindir}/setroubleshootd
|
||||
@ -171,6 +212,9 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 3.2.22-2
|
||||
- Add an AppData file for the software center
|
||||
|
||||
* Thu Mar 26 2015 Petr Lautrbach <plautrba@redhat.com> 3.2.22-1
|
||||
- Ship a symbolic setroubleshoot icon (#1182652)
|
||||
- Fix get_rpm_nvr_*_temporary functions - CVE-2015-1815 (#1203352)
|
||||
|
Loading…
Reference in New Issue
Block a user