gnome-desktop-sharp2-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. %define mono_dir %(/usr/bin/monodir)
  2. %define _name gnome-desktop-sharp
  3. Name: gnome-desktop-sharp2
  4. Version: 2.26.0
  5. Release: 10%{?_dist_release}
  6. Summary: Mono bindings for libgnome-desktop
  7. Summary(ja): Mono 用 libgnome-desktop バインディング
  8. Group: Development/Libraries
  9. License: GPL, LGPL 2.0/2.1
  10. URL: http://gtk-sharp.sf.net
  11. #Source: http://mono.ximian.com/monobuild/preview/sources/%{mame}/%{_name}-%{version}.tar.bz2
  12. Source: http://ftp.novell.com/pub/mono/sources/%{name}/gnome-desktop-sharp-%{version}.tar.bz2
  13. Patch0: gnome-desktop-sharp-lib-target.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: mono-devel monodoc
  16. BuildRequires: gnome-sharp2 gtk-sharp2-gapi
  17. BuildRequires: librsvg2-devel libwnck-devel
  18. BuildRequires: gtkhtml3-devel gtksourceview2-devel
  19. #BuildRequires: nautilus-cd-burner
  20. BuildRequires: gnome-desktop-devel libgnomeprintui-devel
  21. #BuildRequires: gnome-panel-devel
  22. Packager: konno, daisuke, ryoichi
  23. Obsoletes: gnome-panel-sharp < 2.26.0-10
  24. Obsoletes: vte016-sharp < 2.26.0-10
  25. %description
  26. This package contains Mono bindings for libgnome-desktop.
  27. %package -n gtksourceview2-sharp
  28. Summary: Mono bindings for gtksourceview2
  29. Group: Development/Libraries
  30. %description -n gtksourceview2-sharp
  31. This package contains Mono bindings for libgtksourceview-2.0.
  32. %package -n rsvg2-sharp
  33. Summary: Mono bindings for rsvg
  34. Group: Development/Libraries
  35. %description -n rsvg2-sharp
  36. This package contains Mono bindings for librsvg.
  37. %package -n gtkhtml314-sharp
  38. Summary: Mono bindings for gtkhtml
  39. Group: Development/Libraries
  40. %description -n gtkhtml314-sharp
  41. This package contains Mono bindings for gtkhtml.
  42. %package -n wnck-sharp
  43. Summary: Mono bindings for wnck
  44. Group: Development/Libraries
  45. %description -n wnck-sharp
  46. This package contains Mono bindings wnck.
  47. #%package -n vte016-sharp
  48. #Summary: Mono bindings for vte
  49. #Group: Development/Libraries
  50. #%description -n vte016-sharp
  51. #This package contains Mono bindings for vte.
  52. #%package -n nautilusburn-sharp
  53. #Summary: Mono bindings for nautilusburn
  54. #Group: Development/Libraries
  55. #
  56. #%description -n nautilusburn-sharp
  57. #This package contains Mono bindings for libnautilus-burn.
  58. #%package -n gnome-panel-sharp
  59. #Summary: Mono bindings for gnome-panel
  60. #Group: Development/Libraries
  61. #%description -n gnome-panel-sharp
  62. #This package contains Mono bindings for gnome-panel.
  63. %package -n gnome-print-sharp
  64. Summary: Mono bindings for gnome-print
  65. Group: Development/Libraries
  66. %description -n gnome-print-sharp
  67. This package contains Mono bindings for gnome-print.
  68. %prep
  69. %setup -q -n %{_name}-%{version}
  70. %patch0 -p1 -b .target
  71. %build
  72. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  73. # FIXME: windowmanager.c:*: warning: dereferencing type-punned pointer will break strict-aliasing rules
  74. export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
  75. %configure --enable-debug
  76. make
  77. %install
  78. rm -rf $RPM_BUILD_ROOT
  79. export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
  80. %makeinstall
  81. rm $RPM_BUILD_ROOT%{_libdir}/*.*a
  82. %clean
  83. rm -rf $RPM_BUILD_ROOT
  84. %files
  85. %defattr(-,root,root)
  86. %{mono_dir}/gnomedesktop-sharp-2.20
  87. %{mono_dir}/gac/*gnomedesktop-sharp
  88. %dir %{_datadir}/gnomedesktop-sharp
  89. %{_datadir}/gnomedesktop-sharp/2.20
  90. %{_libdir}/pkgconfig/gnome-desktop-sharp-2.0.pc
  91. %files -n gtksourceview2-sharp
  92. %defattr(-,root,root)
  93. %{mono_dir}/gtksourceview2-sharp-2.0
  94. %{mono_dir}/gac/*gtksourceview2-sharp
  95. %dir %{_datadir}/gtksourceview2-sharp
  96. %{_datadir}/gtksourceview2-sharp/2.0
  97. %{_libdir}/pkgconfig/gtksourceview2-sharp.pc
  98. %{_libdir}/libgtksourceview2sharpglue-2.so
  99. %files -n rsvg2-sharp
  100. %defattr(-,root,root)
  101. %{mono_dir}/rsvg2-sharp-2.0
  102. %{mono_dir}/gac/*rsvg2-sharp
  103. %dir %{_datadir}/rsvg2-sharp
  104. %{_datadir}/rsvg2-sharp/2.0
  105. %{_libdir}/pkgconfig/rsvg2-sharp-2.0.pc
  106. %files -n gtkhtml314-sharp
  107. %defattr(-,root,root)
  108. %{mono_dir}/gtkhtml-sharp-3.14
  109. %{mono_dir}/gac/*gtkhtml-sharp
  110. %dir %{_datadir}/gtkhtml-sharp
  111. %{_datadir}/gtkhtml-sharp/3.14
  112. %{_libdir}/pkgconfig/gtkhtml-sharp-3.14.pc
  113. %{_libdir}/libgtkhtmlsharpglue-2.so
  114. #%files -n nautilusburn-sharp
  115. #%defattr(-,root,root)
  116. #%{mono_dir}/nautilusburn-sharp-2.20
  117. #%{mono_dir}/gac/*nautilusburn-sharp
  118. #%dir %{_datadir}/nautilusburn-sharp
  119. #%{_datadir}/nautilusburn-sharp/2.20
  120. #%{_libdir}/pkgconfig/nautilusburn-sharp.pc
  121. #%{_libdir}/libnautilusburnsharpglue-2.so
  122. #%files -n vte016-sharp
  123. #%defattr(-, root, root)
  124. #%{mono_dir}/vte-sharp-0.16
  125. #%{mono_dir}/gac/*vte-sharp
  126. #%dir %{_datadir}/vte-sharp
  127. #%{_datadir}/vte-sharp/0.16
  128. #%{_libdir}/libvtesharpglue-2.so
  129. #%{_libdir}/pkgconfig/vte-sharp-0.16.pc
  130. %files -n wnck-sharp
  131. %defattr(-, root, root)
  132. %{mono_dir}/wnck-sharp-2.20
  133. %{mono_dir}/gac/*wnck-sharp
  134. %dir %{_datadir}/wnck-sharp
  135. %{_datadir}/wnck-sharp/2.20
  136. %{_libdir}/pkgconfig/wnck-sharp-1.0.pc
  137. %{_libdir}/libwncksharpglue-2.so
  138. # %files -n gnome-panel-sharp
  139. # %defattr(-, root, root)
  140. # %{mono_dir}/gnome-panel-sharp-2.24
  141. # %{mono_dir}/gac/gnome-panel-sharp
  142. # %dir %{_datadir}/gnome-panel-sharp
  143. # %{_datadir}/gnome-panel-sharp/2.24
  144. # %{_libdir}/pkgconfig/gnome-panel-sharp-2.24.pc
  145. # %{_libdir}/libgnomepanelsharpglue-2.so
  146. %files -n gnome-print-sharp
  147. %defattr(-, root, root)
  148. %{mono_dir}/gnome-print-sharp-2.18
  149. %{mono_dir}/gac/gnome-print-sharp
  150. %dir %{_datadir}/gnome-print-sharp
  151. %{_datadir}/gnome-print-sharp/2.18
  152. %{_libdir}/pkgconfig/gnome-print-sharp-2.18.pc
  153. %changelog
  154. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-10
  155. - drop BuildRequires: gnome-panel-devel
  156. - drop gnome-panel-sharp and vte016-sharp sub package
  157. * Tue Dec 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-9
  158. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  159. * Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-8
  160. - rebuilt with mono-2.8
  161. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-7
  162. - rebuilt with rpm-4.8.1 for pkg-config
  163. * Mon May 31 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.26.0-6
  164. - import Patch1 from fedora package to fix target lib number
  165. - add BuildRequires: gnome-desktop-devel libgnomeprintui-devel
  166. - drop BuildRequires: nautilus-cd-burner and nautilusburn-sharp
  167. sub package (Obsoletes by brasero)
  168. * Thu Apr 08 2010 Shu KONNO <owa@bg.wakwak.com> 2.26.0-5
  169. - rebuilt with new envrionment
  170. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.26.0-4
  171. - rebuilt with latest rpm to update mono-dependencies
  172. * Fri May 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-3
  173. - BuildRequires: gtksourceview2-devel instead of gtksourceview-devel
  174. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.26.0-2
  175. - add sub packages gnome-panel-sharp and gnome-print-sharp
  176. - add *glue-2.so to each sub packages
  177. - add Packager tag
  178. * Sat Apr 25 2009 Shu KONNO <owa@bg.wakwak.com> 2.26.0-1
  179. - updated gnome-desktop-sharp to 2.26.0
  180. * Sun Apr 19 2009 Shu KONNO <owa@bg.wakwak.com> 2.20.1-2
  181. - changed url
  182. - changed sub packages Group to Development/Libraries
  183. - changed monodoc-core to monodoc
  184. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.20.1-1
  185. - initial build for VineSeed
  186. - applied vine versioning policy
  187. - added japanese summary
  188. - spec in utf-8
  189. * Wed Apr 9 2008 wberrier@novell.com
  190. - Remove gnome-desktop-sharp2-complete package
  191. - Rename gnomedesktop2-sharp to gnome-desktop-sharp2 so we have a
  192. sub-package named the same as the .spec file
  193. - Don't call autoreconf since we don't have any patches
  194. * Fri Jan 11 2008 mkestner@novell.com
  195. - Initial package of gnome-desktop-sharp2