Skip to content

Commit

Permalink
Update rpm spec file to package v0.75.2
Browse files Browse the repository at this point in the history
Include and verify metainfo.xml file in the rpm package.
  • Loading branch information
dreamer committed Oct 27, 2020
1 parent 4634d0a commit c280bee
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion contrib/fedora/dosbox-staging.spec
@@ -1,5 +1,5 @@
Name: dosbox-staging
Version: 0.75.1
Version: 0.75.2
Release: 1%{?dist}
Summary: DOS/x86 emulator focusing on ease of use
License: GPLv2+
Expand All @@ -19,6 +19,7 @@ BuildRequires: SDL2_net-devel
BuildRequires: opusfile-devel
BuildRequires: librsvg2-tools
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib

Requires: hicolor-icon-theme

Expand Down Expand Up @@ -70,6 +71,11 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
contrib/linux/%{name}.desktop

install -p -m 0644 -Dt %{buildroot}%{_metainfodir} \
contrib/linux/%{name}.metainfo.xml

appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml


%files
%license COPYING
Expand All @@ -78,9 +84,14 @@ desktop-file-install \
%{_mandir}/man1/*
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps/dosbox-staging.*
%{_metainfodir}/*


%changelog
* Tue Oct 27 2020 Patryk Obara (pbo) <dreamer.tan@gmail.com>
- 0.75.2-1
- Update to 0.75.2

* Thu Oct 01 2020 Patryk Obara (pbo) <dreamer.tan@gmail.com>
- 0.75.1-1
- Initial release.

0 comments on commit c280bee

Please sign in to comment.