Appdata file moved into metainfo data directory
This commit is contained in:
parent
e82d504c2e
commit
62c0fafa8b
@ -8,7 +8,7 @@
|
|||||||
Name: engauge-digitizer
|
Name: engauge-digitizer
|
||||||
Summary: Convert graphs or map files into numbers
|
Summary: Convert graphs or map files into numbers
|
||||||
Version: 10.4
|
Version: 10.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://markummitchell.github.io/%{name}/
|
URL: http://markummitchell.github.io/%{name}/
|
||||||
@ -178,7 +178,7 @@ mkdir -p %{buildroot}%{_datadir}/%{name}-%{version}/samples
|
|||||||
mkdir -p %{buildroot}%{_datadir}/%{name}-%{version}/img
|
mkdir -p %{buildroot}%{_datadir}/%{name}-%{version}/img
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
mkdir -p %{buildroot}%{_datadir}/applications
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||||
mkdir -p %{buildroot}%{_datadir}/appdata
|
mkdir -p %{buildroot}%{_datadir}/metainfo
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
|
||||||
install -p -m 755 bin/engauge %{buildroot}%{_bindir}
|
install -p -m 755 bin/engauge %{buildroot}%{_bindir}
|
||||||
@ -188,10 +188,10 @@ install -p -m 644 *.gif *.jp* *.png *.bmp %{buildroot}%{_datadir}/%{name}-%{vers
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
install -p -m 644 src/img/* %{buildroot}%{_datadir}/%{name}-%{version}/img
|
install -p -m 644 src/img/* %{buildroot}%{_datadir}/%{name}-%{version}/img
|
||||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
|
install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps
|
install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/appdata
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
##Make a .desktop file
|
##Make a .desktop file
|
||||||
@ -226,10 +226,10 @@ sed -e \
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora} < 25 || 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-desktop-database &> /dev/null || :
|
/usr/bin/update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.
|
|||||||
%{_bindir}/engauge
|
%{_bindir}/engauge
|
||||||
%{_datadir}/pixmaps/%{name}*.svg
|
%{_datadir}/pixmaps/%{name}*.svg
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%{_datadir}/appdata/*.appdata.xml
|
%{_datadir}/metainfo/*.appdata.xml
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/%{name}-%{version}/
|
%{_datadir}/%{name}-%{version}/
|
||||||
@ -263,6 +263,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 21 2017 Antonio Trande <sagitter@fedoraproject.org> - 1:10.4-2
|
||||||
|
- Appdata file moved into metainfo data directory
|
||||||
|
|
||||||
* Sat Oct 21 2017 Antonio Trande <sagitter@fedoraproject.org> - 1:10.4-1
|
* Sat Oct 21 2017 Antonio Trande <sagitter@fedoraproject.org> - 1:10.4-1
|
||||||
- Update to 10.4
|
- Update to 10.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user