dconf-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # Basic Information
  2. Name: dconf
  3. Version: 0.12.1
  4. Release: 1%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Base
  7. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.12/%{name}-%{version}.tar.xz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: dconf is a low-level configuration system.
  13. Summary(ja): dconfは、低レベル設定システムです。
  14. # Dependency
  15. Requires: glib2
  16. Requires: gtk3
  17. Requires: libgee
  18. Requires: libxml2
  19. BuildRequires: glib2-devel
  20. BuildRequires: gtk3-devel
  21. BuildRequires: libgee-devel
  22. BuildRequires: libxml2-devel
  23. BuildRequires: dbus-devel
  24. %description
  25. dconf is a low-level configuration system. Its main purpose is to provide
  26. a backend to GSettings on platforms that don't already have configuration
  27. storage systems.
  28. %description -l ja
  29. dconfは、低レベル設定システムです。その主要な目的は、まだ設定保存システムを
  30. 有していないプラットフォーム上にGSettingsのバックエンドを提供することです。
  31. %package devel
  32. Summary: Headers for developing programs that will use %{name}
  33. Summary(ja): %{name} の開発用ファイル
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: glib2-devel
  37. Requires: gtk3-devel
  38. Requires: libgee-devel
  39. Requires: libxml2-devel
  40. Requires: dbus-devel
  41. %description devel
  42. This package contains the headers that programmers will need to develop
  43. applications which will use %{name}.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure
  48. %{__make} %{?_smp_mflags} INTROSPECTION_SCANNER='/usr/bin/g-ir-scanner --identifier-prefix=DConf'
  49. %install
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. #%%find_lang %{name}
  53. %clean
  54. %{__rm} -rf ${RPM_BUILD_ROOT}
  55. %post
  56. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  57. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  58. update-desktop-database -q &> /dev/null || :
  59. %postun
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. if [ $1 -eq 0 ] ; then
  62. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  64. update-desktop-database -q &> /dev/null || :
  65. fi
  66. %posttrans
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. #%%files -f %{name}.lang
  69. %files
  70. %defattr(-,root,root)
  71. %doc COPYING NEWS
  72. %{_bindir}/dconf
  73. %{_bindir}/dconf-editor
  74. %{_libdir}/gio/modules/libdconfsettings.so
  75. %{_libdir}/libdconf*.so.*
  76. %{_libexecdir}/dconf-service
  77. %{_sysconfdir}/bash_completion.d/dconf-bash-completion.sh
  78. %{_datadir}/applications/dconf-editor.desktop
  79. %{_datadir}/dbus-1/services/ca.desrt.dconf.service
  80. %{_datadir}/dconf-editor/dconf-editor.ui
  81. %{_datadir}/glib-2.0/schemas/*.xml
  82. %{_datadir}/icons/hicolor/*/apps/*
  83. %files devel
  84. %defattr(-, root, root, -)
  85. %{_includedir}/dconf/
  86. %{_includedir}/dconf-dbus-1/
  87. %{_libdir}/libdconf*.so
  88. %{_libdir}/pkgconfig/*.pc
  89. %{_datadir}/gtk-doc/html/dconf/
  90. %{_datadir}/vala/vapi/dconf.deps
  91. %{_datadir}/vala/vapi/dconf.vapi
  92. %changelog
  93. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  94. - new upstream release
  95. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1
  96. - new upstream release
  97. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
  98. - new upstream release
  99. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1
  100. - new upstream release
  101. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  102. - new upstream release
  103. - add BuildRequires: dbus-devel
  104. - change BuildRequires: gtk3-devel instead of gtk2-devel
  105. * Sun Oct 17 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.5.1-1
  106. - new package.