gnome-desktop3-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. %define glib2_version 2.28.6
  2. %define pango_version 1.28.4
  3. %define gtk3_version 3.0.9
  4. %define gconf2_version 2.32.2
  5. %define startup_notification_version 0.10
  6. %define po_package gnome-desktop-3.0
  7. Summary: Package containing code shared among gnome-panel, gnome-session, nautilus, etc.
  8. Summary(ja): gnome-panel, gnome-session, nautilus などの共用プログラム
  9. Name: gnome-desktop3
  10. Version: 3.1.5
  11. Release: 1%{?_dist_release}
  12. URL: http://www.gnome.org/
  13. Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/3.1/gnome-desktop-%{version}.tar.xz
  14. License: GPL
  15. Group: User Interface/Desktops
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. # Requires for Vine
  21. Requires: ibus-gtk3
  22. Requires: gnome-icon-theme-symbolic
  23. Requires: gnome-themes-standard
  24. Requires: gsettings-desktop-schemas
  25. Requires(post,postun): scrollkeeper
  26. Obsoletes: gnome-core gnome-core-devel
  27. Provides: gnome-core
  28. BuildRequires: glib2-devel >= %{glib2_version}
  29. BuildRequires: pango-devel >= %{pango_version}
  30. BuildRequires: gtk3-devel >= %{gtk3_version}
  31. BuildRequires: GConf2-devel >= %{gconf2_version}
  32. BuildRequires: startup-notification-devel >= %{startup_notification_version}
  33. BuildRequires: libXrandr-devel
  34. BuildRequires: autoconf, automake
  35. BuildRequires: gnome-doc-utils
  36. BuildRequires: docbook-utils
  37. BuildRequires: gsettings-desktop-schemas
  38. %description
  39. The gnome-desktop package contains an internal library
  40. (libgnomedesktop3) used to implement some portions of the GNOME
  41. desktop, and also some data files and other shared components of the
  42. GNOME user environment.
  43. %package devel
  44. Summary: Libraries and headers for libgnome-desktop
  45. Summary(ja): libgnome-desktop の開発用ライブラリおよびヘッダファイル
  46. Group: Development/Libraries
  47. Requires: %{name} = %{version}-%{release}
  48. Requires: glib2-devel >= %{glib2_version}
  49. Requires: gtk3-devel >= %{gtk3_version}
  50. Requires: GConf2-devel >= %{gconf2_version}
  51. Requires: startup-notification-devel >= %{startup_notification_version}
  52. %description devel
  53. Libraries and header files for the GNOME-internal private library
  54. libgnomedesktop
  55. %prep
  56. %setup -q -n gnome-desktop-%{version}
  57. %build
  58. %configure --with-gnome-distributor="Project Vine" --disable-scrollkeeper
  59. make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. %makeinstall
  63. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  64. rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
  65. %find_lang %{po_package}
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %post
  69. /sbin/ldconfig
  70. scrollkeeper-update
  71. %postun
  72. /sbin/ldconfig
  73. scrollkeeper-update
  74. %files -f %{po_package}.lang
  75. %defattr(-,root,root)
  76. %doc AUTHORS COPYING ChangeLog NEWS README
  77. %{_libdir}/lib*.so.*
  78. %{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
  79. %{_datadir}/libgnome-desktop-3.0
  80. %{_datadir}/gnome/*
  81. %{_datadir}/omf/*
  82. %files devel
  83. %defattr(-,root,root)
  84. %{_libdir}/lib*.so
  85. %{_libdir}/pkgconfig/*.pc
  86. %{_includedir}/*
  87. %{_datadir}/gir-1.0/GnomeDesktop-3.0.gir
  88. %{_datadir}/gtk-doc
  89. %changelog
  90. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  91. - new upstream release
  92. * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  93. - initial build for Vine Linux