Skip to content

Commit

Permalink
fix mime
Browse files Browse the repository at this point in the history
  • Loading branch information
guard43ru authored Aug 4, 2023
1 parent 525bd4f commit b9428c9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deploy/rpm/gedkeeper-github.spec
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ ls -la %{buildroot}%{_libdir}/%{name}/plugins/runtimes/
mkdir -p %{buildroot}%{_bindir}
ln -fs %{_libdir}/%{name}/bin/GEDKeeper3 %{buildroot}%{_bindir}/%{name}

#rpm --eval %{_metainfodir} # not found ?! (TODO: check rpm version)
#install -D deploy/application-x-%{name}.xml %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
install -D deploy/application-x-%{name}.xml %{buildroot}%{_datadir}/metainfo/%{name}.metainfo.xml
#rpm --eval %{_metainfodir} # not found (TODO: check rpm version, make metainfo)
#install -D deploy/%{name}.metainfo.xml %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
#install -D deploy/%{name}.metainfo.xml %{buildroot}%{_datadir}/metainfo/%{name}.metainfo.xml
install -D deploy/application-x-%{name}.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml
install -D deploy/rpm/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -D deploy/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png

Expand All @@ -48,7 +49,7 @@ chmod a+x %{buildroot}%{_libdir}/%{name}/bin/GEDKeeper3
%license LICENSE
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/metainfo/%{name}.metainfo.xml
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

Expand Down

0 comments on commit b9428c9

Please sign in to comment.