gtk-sharp-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. %define monodir %(/usr/bin/monodir)
  2. Summary: .Net language bindings for Gtk+ and GNOME
  3. Summary(ja): Gtk+ と GNOME 用の .Net 言語バインディング
  4. Name: gtk-sharp
  5. Version: 1.0.10
  6. Release: 3%{?_dist_release}
  7. License: LGPL
  8. Group: Development/Libraries
  9. URL: http://gtk-sharp.sourceforge.net/
  10. Source: gtk-sharp-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: mono-core, mono-devel
  13. BuildRequires: libgnomeui-devel >= 2.0, libgnomecanvas-devel >= 2.2
  14. BuildRequires: libglade2-devel, gtk2-devel >= 2.2.0
  15. BuildRequires: libgnomedb-devel, libgda-devel, librsvg2-devel
  16. BuildRequires: glib2-devel, libart_lgpl-devel, libgsf-devel
  17. BuildRequires: vte-devel, libgnomeprintui-devel
  18. Requires: librsvg2
  19. %description
  20. A C source parser and C# code generator to produce .Net assemblies
  21. which bind to GObject based libraries. The Gtk+-2.0 libraries are
  22. included along with several GNOME platform libraries.
  23. %description -l ja
  24. GObject ベースのライブラリにバインドされた .Net アセンブリを
  25. 生成する為の、C 言語のソースパーサと C# 言語ののコードジェネ
  26. レータです。Gtk+-2.0 ライブラリは色々な GNOME プラットフォーム
  27. ライブラリに含まれています。
  28. %package gapi
  29. Summary: C source parser and C code generator
  30. Summary(ja): C 言語のソースパーサとコードジェネレータ
  31. Group: Development/Libraries
  32. Requires: perl-libxml-perl, perl-XML-NamespaceSupport
  33. Requires: perl-XML-SAX, gtk-sharp = %{version}-%{release}
  34. %description gapi
  35. The gtk-sharp-gapi package includes the parser and code
  36. generator used by the Gtk if you want to bind
  37. GObject-based libraries, or need to compile a project that
  38. uses it to bind such a library.
  39. %description gapi -l ja
  40. gtk-sharp-gapi パッケージは、GObject ベースの Gtk や、同じよ
  41. うな他のライブラリにバインドされたプロジェクトを、コンパイル
  42. するのに必要なパーサとコードジェネレータを含んでいます。
  43. %package devel
  44. Summary: Header files, libraries and development documentation for %{name}
  45. Summary(ja): %{name} 用のヘッダファイルやライブラリ及び開発用ドキュメント
  46. Group: Development/Libraries
  47. Requires: %{name} = %{version}-%{release}
  48. %description devel
  49. This package contains the header files, static libraries and development
  50. documentation for %{name}. If you like to develop programs using %{name},
  51. you will need to install %{name}-devel.
  52. %description devel -l ja
  53. このパッケージは %{name} 用のヘッダファイルや静的ライブラリ及び
  54. 開発用ドキュメントを含んでいます。もし %{name} を使用したプログ
  55. ラムを開発する場合は、このパッケージをインストールする必要があり
  56. ます。
  57. %prep
  58. %setup -q
  59. %build
  60. %configure
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf %{buildroot}
  64. make install \
  65. DESTDIR="%{buildroot}" \
  66. GACUTIL_FLAGS="/package gtk-sharp /root %{buildroot}%{_prefix}/lib"
  67. %post
  68. /sbin/ldconfig 2>/dev/null
  69. %postun
  70. /sbin/ldconfig 2>/dev/null
  71. %clean
  72. rm -rf %{buildroot}
  73. %files
  74. %defattr(-, root, root, 0755)
  75. %doc ChangeLog COPYING README
  76. %{_bindir}/gconfsharp-*
  77. %{monodir}/gac
  78. %{monodir}/gtk-sharp
  79. %{_libdir}/*.so
  80. %files gapi
  81. %defattr(-, root, root, 0755)
  82. %{_bindir}/gapi*
  83. %{_libdir}/pkgconfig/gapi.pc
  84. %{_datadir}/gapi
  85. %files devel
  86. %defattr(-, root, root, 0755)
  87. %doc README.generator sample
  88. %{_libdir}/*.a
  89. %{_libdir}/pkgconfig/*.pc
  90. %exclude %{_libdir}/pkgconfig/gapi.pc
  91. %exclude %{_libdir}/*.la
  92. %changelog
  93. * Thu Sep 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.10-3vl5
  94. - rebuild with mono-2.0
  95. * Mon Sep 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.10-2vl5
  96. - fixed library path (for x86_64)
  97. * Wed Aug 27 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.10-1vl5
  98. - applied new versioning policy, spec in utf-8
  99. * Sat Sep 23 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> - 1.0.10-0vl1
  100. - new upstream release.
  101. - update BuildRequires (from mono to mono-core).
  102. - add japanese Summary and Description.
  103. * Wed Mar 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.8-1vl1
  104. - new upstream release
  105. - rebuild for Vine Linux
  106. * Sun Jan 02 2005 Dag Wieers <dag@wieers.com> - 1.0.4-1
  107. - Updated to release 1.0.4.
  108. * Thu Apr 01 2004 Dag Wieers <dag@wieers.com> - 0.18-1
  109. - Updated to release 0.18.
  110. * Sat Feb 28 2004 Dag Wieers <dag@wieers.com> - 0.17-0
  111. - Updated to release 0.17.
  112. * Sat Jan 31 2004 Dag Wieers <dag@wieers.com> - 0.15-1
  113. - Symlinked gtk-sharp.pc to gapi.pc.
  114. * Mon Jan 05 2004 Dag Wieers <dag@wieers.com> - 0.15-0
  115. - Updated to release 0.15.
  116. * Thu Nov 20 2003 Dag Wieers <dag@wieers.com> - 0.14-0
  117. - Updated to release 0.14.
  118. * Mon Nov 17 2003 Dag Wieers <dag@wieers.com> - 0.13-0
  119. - Updated to release 0.13.
  120. * Wed Oct 29 2003 Dag Wieers <dag@wieers.com> - 0.12-0
  121. - Updated to release 0.12.
  122. * Fri Sep 19 2003 Dag Wieers <dag@wieers.com> - 0.11-0
  123. - Updated to release 0.11.
  124. * Sun Jun 15 2003 Dag Wieers <dag@wieers.com> - 0.10-0
  125. - Updated to release 0.10.
  126. * Sun May 25 2003 Dag Wieers <dag@wieers.com> - 0.9-0
  127. - Initial package. (using DAR)