Browse Source

notepadqq update appdata

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 6 years ago
parent
commit
7a8a99fedf
  1. 8
      SPECS/notepadqq.spec

8
SPECS/notepadqq.spec

@ -71,9 +71,9 @@ cp support_files/manpage/%{name}.1 %{buildroot}%{_mandir}/man1 @@ -71,9 +71,9 @@ cp support_files/manpage/%{name}.1 %{buildroot}%{_mandir}/man1
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications support_files/shortcuts/%{name}.desktop

# Appstream
mkdir %{buildroot}%{_metainfodir}
cp support_files/notepadqq.appdata.xml %{buildroot}%{_metainfodir}
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/notepadqq.appdata.xml
#mkdir %{buildroot}%{_metainfodir}
#cp support_files/notepadqq.appdata.xml %{buildroot}%{_metainfodir}
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/notepadqq.appdata.xml

# App data
cd out/release
@ -91,7 +91,7 @@ mv * %{buildroot}/%{_datadir}/%{name} @@ -91,7 +91,7 @@ mv * %{buildroot}/%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_docdir}/%{name}
%{_metainfodir}/notepadqq.appdata.xml
#%{_metainfodir}/notepadqq.appdata.xml
%license COPYING

%changelog

Loading…
Cancel
Save