dconf-editor-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Summary: Editor/admin tool for dconf
  2. Summary(ja): dconf の編集/管理ツール
  3. Name: dconf-editor
  4. Version: 3.36.4
  5. Release: 1%{?_dist_release}
  6. Group: desktop-gnome
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPL
  10. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: dconf
  14. Requires(postun,posttrans): glib2
  15. Requires(post,postun): gtk2
  16. Requires(post,postun): desktop-file-utils
  17. BuildRequires: meson
  18. BuildRequires: vala
  19. BuildRequires: dconf-devel
  20. BuildRequires: dconf-vala
  21. BuildRequires: gtk3-devel
  22. %description
  23. dconf-editor allows you to browse and modify dconf configuration.
  24. %description -l ja
  25. dconf-editor により dconf の設定を参照したり変更したりすることができます。
  26. %prep
  27. %setup -q
  28. %build
  29. %meson
  30. %meson_build
  31. %install
  32. %{__rm} -rf ${RPM_BUILD_ROOT}
  33. %meson_install
  34. %find_lang %{name}
  35. %clean
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %post
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. update-desktop-database -q &> /dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ] ; then
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  45. update-desktop-database -q &> /dev/null || :
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. fi
  48. %posttrans
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  50. %files -f %{name}.lang
  51. %defattr(-, root, root, -)
  52. %license COPYING
  53. %doc README.md
  54. %{_bindir}/dconf-editor
  55. %{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml
  56. %{_datadir}/applications/ca.desrt.dconf-editor.desktop
  57. %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
  58. %{_datadir}/glib-2.0/schemas/*.xml
  59. %{_datadir}/icons/hicolor/*/apps/*
  60. %{_datadir}/icons/hicolor/scalable/actions/*
  61. %{_mandir}/man1/dconf-editor.1.gz
  62. %dir %{_datadir}/bash-completion
  63. %dir %{_datadir}/bash-completion/completions
  64. %{_datadir}/bash-completion/completions/dconf-editor
  65. %changelog
  66. * Fri Aug 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.4-1
  67. - new upstream release.
  68. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.3-1
  69. - new upstream release
  70. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  71. - new upstream release
  72. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  73. - new upstream release
  74. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  75. - new upstream release
  76. - fix typo
  77. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  78. - initial build