Skip to content

Commit

Permalink
Fix up appdata
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed May 20, 2019
1 parent 8e03feb commit a247fa0
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 24 deletions.
6 changes: 6 additions & 0 deletions package/yast2-control-center.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 20 18:52:00 UTC 2019 - Stasiek Michalski <hellcp@mailbox.org>

- Change location of appdataa and fix it up (fate#319035)
- 4.2.0

-------------------------------------------------------------------
Mon Apr 8 15:05:04 UTC 2019 - Stefan Hundhammer <shundhammer@suse.com>

Expand Down
4 changes: 2 additions & 2 deletions package/yast2-control-center.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-control-center
Version: 4.1.8
Version: 4.2.0
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down Expand Up @@ -106,7 +106,7 @@ rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%dir %{_datadir}/appdata
%{_datadir}/appdata/YaST.appdata.xml
%{_datadir}/metainfo/YaST.appdata.xml
%{_datadir}/applications/YaST.desktop
%dir %{_datadir}/kde4/
%dir %{_datadir}/kde4/services
Expand Down
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -58,10 +58,10 @@ TARGET_LINK_LIBRARIES(y2controlcenter Qt5::Widgets Qt5::Gui)
INSTALL(TARGETS y2controlcenter DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/YaST2/bin)

INSTALL(DIRECTORY icons DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ )
INSTALL(FILES YaST.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications )
INSTALL(FILES org.openSUSE.YaST.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications )
INSTALL(FILES YaST-systemsettings.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kde4/services )
INSTALL(FILES YaST-systemsettings.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kservices5 )
INSTALL(FILES YaST.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/appdata )
INSTALL(FILES org.openSUSE.YaST.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo )

SET(MODELS_TEST_SRCS
models_test.cpp
Expand Down
20 changes: 0 additions & 20 deletions src/YaST.appdata.xml

This file was deleted.

24 changes: 24 additions & 0 deletions src/org.openSUSE.YaST.appdata.xml
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id>org.openSUSE.YaST</id>
<launchable type="desktop-id">org.openSUSE.YaST.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<name>YaST</name>
<summary>Configuration and System Management Software</summary>
<description>
<p>YaST is both an extremely flexible installer and a powerful control center. It's an all-purpose tool for system management.</p>
<p>A multitude of modules allows to flexibly extend the capabilities of YaST.</p>
</description>
<categories>
<category>Settings</category>
<category>HardwareSettings</category>
<category>DesktopSettings</category>
</categories>
<screenshots>
<screenshot type="default">https://yast.opensuse.org/assets/images/screenshots/screenshot_1.png</screenshot>
</screenshots>
<url type="homepage">https://yast.opensuse.org/</url>
<url type="bugtracker">https://bugzilla.opensuse.org/</url>
<update_contact>yast-devel@opensuse.org</update_contact>
</application>
File renamed without changes.

0 comments on commit a247fa0

Please sign in to comment.