dconf-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. # Basic Information
  2. Name: dconf
  3. Version: 0.20.0
  4. Release: 3%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Base
  7. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.20/%{name}-%{version}.tar.xz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi, Takemiakduchi
  12. Summary: dconf is a low-level configuration system.
  13. Summary(ja): dconfは、低レベル設定システムです。
  14. # Dependency
  15. Requires: dbus
  16. BuildRequires: glib2-devel
  17. BuildRequires: gtk3-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: dbus-devel
  20. BuildRequires: libxslt-devel
  21. BuildRequires: vala-devel
  22. BuildRequires: docbook-style-xsl
  23. %description
  24. dconf is a low-level configuration system. Its main purpose is to provide
  25. a backend to GSettings on platforms that don't already have configuration
  26. storage systems.
  27. %description -l ja
  28. dconfは、低レベル設定システムです。その主要な目的は、まだ設定保存システムを
  29. 有していないプラットフォーム上にGSettingsのバックエンドを提供することです。
  30. %package devel
  31. Summary: Headers for developing programs that will use %{name}
  32. Summary(ja): %{name} の開発用ファイル
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: glib2-devel
  36. Requires: libxml2-devel
  37. Requires: dbus-devel
  38. %description devel
  39. This package contains the headers that programmers will need to develop
  40. applications which will use %{name}.
  41. %package editor
  42. Summary: Editor/admin tool for dconf
  43. Summary(ja): dconf の編集/管理ツール
  44. Group: Applications/System
  45. Requires: %{name} = %{version}-%{release}
  46. %description editor
  47. dconf-editor allows you to browse and modify dconf configuration.
  48. %description -l ja editor
  49. dconf-editor により dconf の設定を参照したり変更したりすることができます。
  50. %prep
  51. %setup -q
  52. %build
  53. %configure
  54. #%{__make} %{?_smp_mflags} INTROSPECTION_SCANNER='/usr/bin/g-ir-scanner --identifier-prefix=DConf'
  55. %{__make} %{?_smp_mflags}
  56. %install
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  59. %find_lang %{name}
  60. %clean
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. %post
  63. gio-querymodules %{_libdir}/gio/modules
  64. %post editor
  65. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. update-desktop-database -q &> /dev/null || :
  68. %postun
  69. if [ $1 -eq 0 ] ; then
  70. gio-querymodules %{_libdir}/gio/modules
  71. fi
  72. %postun editor
  73. if [ $1 -eq 0 ] ; then
  74. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  75. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  76. update-desktop-database -q &> /dev/null || :
  77. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  78. fi
  79. %posttrans editor
  80. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  81. %files -f %{name}.lang
  82. %defattr(-,root,root)
  83. %doc COPYING NEWS
  84. %{_bindir}/dconf
  85. %{_libdir}/gio/modules/libdconfsettings.so
  86. %{_libdir}/libdconf*.so.*
  87. %{_libexecdir}/dconf-service
  88. %{_datadir}/bash-completion/completions/dconf
  89. %{_datadir}/dbus-1/services/ca.desrt.dconf.service
  90. %{_mandir}/man1/dconf.1.gz
  91. %{_mandir}/man1/dconf-service.1.gz
  92. %{_mandir}/man7/dconf.7.gz
  93. %files devel
  94. %defattr(-, root, root, -)
  95. %{_includedir}/dconf/
  96. %{_includedir}/dconf-dbus-1/
  97. %{_libdir}/libdconf*.so
  98. %{_libdir}/pkgconfig/*.pc
  99. %{_datadir}/gtk-doc/html/dconf/
  100. %{_datadir}/vala/vapi/dconf.deps
  101. %{_datadir}/vala/vapi/dconf.vapi
  102. %files editor
  103. %defattr(-, root, root, -)
  104. %{_bindir}/dconf-editor
  105. %{_datadir}/appdata/dconf-editor.appdata.xml
  106. %{_datadir}/applications/dconf-editor.desktop
  107. %{_datadir}/glib-2.0/schemas/*.xml
  108. %{_datadir}/icons/hicolor/*/apps/*
  109. %{_datadir}/icons/HighContrast/*/apps/*
  110. %{_mandir}/man1/dconf-editor.1.gz
  111. %changelog
  112. * Wed Jun 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-3
  113. - move some post/postun scripts to dconf-editor:
  114. - glib-compile-schemas, gtk-update-icon-cache, update-desktop-database
  115. * Mon Jun 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.20.0-2
  116. - split dconf-editor to subpackage.
  117. - drop libgee dependency(R,BR)
  118. - remove unneeded dependency(Requires)
  119. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.0-1
  120. - new upstream release
  121. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.0-2
  122. - rebuild with VineSeed environment
  123. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.0-1
  124. - new upstream release
  125. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.1-1
  126. - new upstream release
  127. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.0-1
  128. - new upstream release
  129. - add BuildRequires: vala
  130. * Fri Nov 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.1-1
  131. - new upstream release
  132. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
  133. - new upstream release
  134. - add BuildRequires: libxslt-devel, docbook-style-xsl
  135. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  136. - new upstream release
  137. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  138. - new upstream release
  139. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
  140. - new upstream release
  141. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  142. - new upstream release
  143. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  144. - new upstream release
  145. - add BuildRequires: dbus-devel
  146. - change BuildRequires: gtk3-devel instead of gtk2-devel
  147. * Sun Oct 17 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.1-1
  148. - new package.