appstream-data-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Summary: AppStream metadata of Vine Linux packages
  2. Summary(ja): Vine LinuxパッケージのAppStreamメタデータ
  3. Name: appstream-data
  4. Version: 7
  5. Release: 5%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL2
  10. Source0: appstream-main.xml.gz
  11. Source1: appstream-main-icons.tar.gz
  12. Source2: appstream-plus.xml.gz
  13. Source3: appstream-plus-icons.tar.gz
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Requires: appstream
  17. BuildRequires: libappstream-glib
  18. %description
  19. This package provides AppStream metadata of Vine Linux packages.
  20. %prep
  21. %setup -n %{name}-%{version} -c -T
  22. %build
  23. %install
  24. %{__rm} -rf %{buildroot}
  25. DESTDIR=%{buildroot} appstream-util install-origin vine-main %{SOURCE0} %{SOURCE1}
  26. DESTDIR=%{buildroot} appstream-util install-origin vine-plus %{SOURCE2} %{SOURCE3}
  27. %clean
  28. %{__rm} -rf %{buildroot}
  29. %posttrans
  30. /usr/bin/appstreamcli refresh >& /dev/null ||:
  31. %files
  32. %defattr(-,root,root)
  33. %dir %{_datadir}/app-info
  34. %dir %{_datadir}/app-info/icons
  35. %dir %{_datadir}/app-info/icons/*
  36. %dir %{_datadir}/app-info/icons/*/*
  37. %{_datadir}/app-info/icons/*/*/*png
  38. %dir %{_datadir}/app-info/xmls
  39. %attr(0644,root,root) %{_datadir}/app-info/xmls/*
  40. %changelog
  41. * Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-5
  42. - updated appstream data.
  43. * Sun Sep 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-4
  44. - updated appstream data.
  45. * Fri Aug 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-3
  46. - updated appstream data.
  47. * Thu Aug 20 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-2
  48. - updated appstream data.
  49. * Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7-1
  50. - initial build.