gsettings-desktop-schemas-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Basic Information
  2. Name: gsettings-desktop-schemas
  3. Version: 0.0.1
  4. Release: 2%{?_dist_release}
  5. License: GPL-2
  6. Group: System Environment/Base
  7. Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.0/%{name}-%{version}.tar.bz2
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: A collection of GSettings schemas
  13. Summary(ja): GSettingsスキーマのコレクション
  14. # Dependency
  15. # 以下に依存関係を記述してください。
  16. Requires: pkgconfig
  17. Requires: glib2
  18. Requires: dconf
  19. BuildRequires: pkgconfig
  20. BuildRequires: glib2-devel
  21. %description
  22. gsettings-desktop-schemas contains a collection of GSettings schemas for
  23. settings shared by various components of a desktop.
  24. %description -l ja
  25. gsettings-desktop-schemasは、デスクトップのさまざまな部品によって共有される
  26. GSettingsスキーマのコレクションを含んでいます。
  27. %prep
  28. %setup -q
  29. %build
  30. %configure --disable-schemas-compile
  31. %{__make} %{?_smp_mflags}
  32. %install
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  35. #%%find_lang %{name}
  36. %posttrans
  37. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  41. fi
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. #%%files -f %{name}.lang
  45. %files
  46. %defattr(-,root,root)
  47. %doc COPYING ChangeLog NEWS README HACKING
  48. %{_includedir}/gsettings-desktop-schemas/gdesktop-enums.h
  49. %{_libdir}/pkgconfig/gsettings-desktop-schemas.pc
  50. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml
  51. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.default-applications.gschema.xml
  52. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.enums.xml
  53. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
  54. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
  55. %{_datadir}/glib-2.0/schemas/org.gnome.desktop.url-handlers.gschema.xml
  56. %{_datadir}/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
  57. %changelog
  58. * Sun Oct 17 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.1-2
  59. - add Requires: dconf
  60. * Tue Oct 12 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.0.1-1
  61. - new package.