dconf-editor-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Summary: Editor/admin tool for dconf
  2. Summary(ja): dconf の編集/管理ツール
  3. Name: dconf-editor
  4. Version: 3.16.1
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: Applications/System
  8. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: Takemiakduchi
  13. Requires: dconf
  14. Requires(postun,posttrans): glib2
  15. Requires(post,postun): gtk2
  16. Requires(post,postun): desktop-file-utils
  17. BuildRequires: dconf-devel
  18. BuildRequires: gtk3-devel
  19. %description
  20. dconf-editor allows you to browse and modify dconf configuration.
  21. %description -l ja
  22. dconf-editor により dconf の設定を参照したり変更したりすることができます。
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  27. %{__make} %{?_smp_mflags}
  28. %install
  29. %{__rm} -rf ${RPM_BUILD_ROOT}
  30. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  31. %find_lang dconf
  32. %clean
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %post
  35. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  36. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  37. update-desktop-database -q &> /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ] ; then
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  42. update-desktop-database -q &> /dev/null || :
  43. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  44. fi
  45. %posttrans
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. %files -f dconf.lang
  48. %defattr(-, root, root, -)
  49. %{_bindir}/dconf-editor
  50. %{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml
  51. %{_datadir}/applications/ca.desrt.dconf-editor.desktop
  52. %{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
  53. %{_datadir}/glib-2.0/schemas/*.xml
  54. %{_datadir}/icons/hicolor/*/apps/*
  55. %{_mandir}/man1/dconf-editor.1.gz
  56. %changelog
  57. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  58. - new upstream release
  59. - fix typo
  60. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  61. - initial build