kross-interpreters-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. ## falcon (still) not functional
  2. #define kross_falcon 1
  3. # Only compatible with ruby-1.9.x currently
  4. %define kross_ruby 1
  5. %global ruby_abi 1.9.1
  6. %define kross_java 1
  7. Name: kross-interpreters
  8. Summary: Kross interpreters
  9. Summary(ja): Kross インタプリタ集
  10. Version: 4.14.3
  11. Release: 2%{?_dist_release}
  12. License: LGPLv2+
  13. Group: System Environment/Libraries
  14. URL: http://developer.kde.org/language-bindings/
  15. Source0: http://download.kde.org/stable/%{version}/src/%{name}-%{version}.tar.xz
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: kdelibs4-devel >= %{version}
  18. %if 0%{?kross_falcon}
  19. BuildRequires: Falcon-devel
  20. %endif
  21. %if 0%{?kross_java}
  22. BuildRequires: java-devel
  23. %endif
  24. %if 0%{?kross_ruby}
  25. BuildRequires: ruby-devel ruby
  26. %endif
  27. BuildRequires: python-devel
  28. %description
  29. %{summary}.
  30. %package -n kross-python
  31. Summary: Kross plugin for python
  32. Summary(ja): Python 用 Kross プラグイン
  33. Group: System Environment/Libraries
  34. Requires: kdelibs4 >= %{version}
  35. Provides: kross(python) = %{version}-%{release}
  36. %description -n kross-python
  37. Python plugin for the Kross architecture in KDE.
  38. %package -n kross-falcon
  39. Summary: Kross plugin for falcon
  40. Summary(ja): Falcon 用 Kross プラグイン
  41. Group: System Environment/Libraries
  42. Requires: Falcon
  43. Requires: kdelibs4 >= %{version}
  44. Provides: kross(falcon) = %{version}-%{release}
  45. %description -n kross-falcon
  46. Falcon plugin for the Kross architecture in KDE.
  47. %package -n kross-java
  48. Summary: Kross plugin for java
  49. Summary(ja): Java 用 Kross プラグイン
  50. Group: System Environment/Libraries
  51. Requires: kdelibs4 >= %{version}
  52. Provides: kross(java) = %{version}-%{release}
  53. %description -n kross-java
  54. Java plugin for the Kross architecture in KDE.
  55. %package -n kross-ruby
  56. Summary: Kross plugin for ruby
  57. Summary(ja): Ruby 用 Kross プラグイン
  58. Group: System Environment/Libraries
  59. #{?ruby_abi:Requires: ruby(abi) = %{ruby_abi}}
  60. Requires: kdelibs4 >= %{version}
  61. Provides: kross(ruby) = %{version}-%{release}
  62. %description -n kross-ruby
  63. Ruby plugin for the Kross architecture in KDE.
  64. %prep
  65. %setup -q
  66. %build
  67. mkdir -p %{_target_platform}
  68. pushd %{_target_platform}
  69. %cmake \
  70. -DCMAKE_BUILD_TYPE=release \
  71. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  72. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  73. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  74. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  75. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  76. ..
  77. popd
  78. # -DCUSTOM_RUBY_SITE_ARCH_DIR:PATH=%{ruby_arch} \
  79. # -DCUSTOM_RUBY_SITE_LIB_DIR:PATH=%{ruby_lib} \
  80. make %{?_smp_mflags} -C %{_target_platform}
  81. %install
  82. rm -rf %{buildroot}
  83. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  84. %clean
  85. rm -rf %{buildroot}
  86. %files -n kross-python
  87. %defattr(-,root,root,-)
  88. %{_libdir}/kde4/krosspython.so
  89. %if 0%{?kross_falcon}
  90. %files -n kross-falcon
  91. %defattr(-,root,root,-)
  92. %{_libdir}/kde4/krossfalcon.so
  93. %endif
  94. %if 0%{?kross_java}
  95. %files -n kross-java
  96. %defattr(-,root,root,-)
  97. %{_libdir}/kde4/krossjava.so
  98. %{_libdir}/kde4/kross/kross.jar
  99. %endif
  100. %if 0%{?kross_ruby}
  101. %files -n kross-ruby
  102. %defattr(-,root,root,-)
  103. %{_libdir}/kde4/krossruby.so
  104. %endif
  105. %changelog
  106. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  107. - rebuild with gcc-5.4.0
  108. * Sun Jan 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.3-1
  109. - new upstream release
  110. * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.12.5-1
  111. - splitted from kdebindings
  112. - enabled kross-java package
  113. * Thu Jun 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  114. - new upstream release
  115. * Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  116. - updated to 4.6.1
  117. - added BR: kdesdk-devel
  118. - disabled attica plugins temporaly
  119. - rebuilt with mono-2.10.1
  120. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-2
  121. - rebuilt with rpm-4.8.1 for pkg-config
  122. * Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1
  123. - new upstream release
  124. - added Patch50
  125. - added more japanese summaries
  126. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
  127. - new upstream release
  128. * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1
  129. - new upstream release
  130. * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  131. - new upstream release
  132. * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-1
  133. - new upstream release
  134. * Tue Mar 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  135. - new upstream release
  136. - added -DCMAKE_SKIP_RPATH:BOOL=OFF option to cmake
  137. (see https://bugs.kde.org/show_bug.cgi?id=214824)
  138. - built with new toolchain
  139. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  140. - new upstream release
  141. * Thu Oct 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-4
  142. - merged 4.3.1-2 %changelog
  143. - re-define %%{mono_dir} to %{_prefix}/lib/mono (again)
  144. * Tue Oct 27 2009 Shu KONNO <owa@bg.wakwak.com> 4.3.2-3
  145. - use %%{_prefix}/lib for mono-dll (for x86_64)
  146. * Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-2
  147. - new upstream release
  148. - built with PyQt4-4.6
  149. * Sun Sep 06 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.3.1-2
  150. - define %%{mono_dir} to specify mono library install path
  151. * Sun Sep 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  152. - new upstream release
  153. - fixed ruby modules installation path
  154. * Thu Aug 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  155. - new upstream release
  156. - spilt sub package based on Fedora
  157. * Mon May 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  158. - applied new versioning policy
  159. - added Patch1
  160. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484191)
  161. * Fri Nov 23 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
  162. - added --with-qt-libraries option
  163. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  164. - rebuild for VineSeed
  165. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  166. - new upstream release
  167. * Mon Jun 25 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  168. - rebuild for VineSeed
  169. * Thu May 31 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  170. - new upstream release
  171. - update Patch0
  172. - drop Patch1
  173. * Mon Jan 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
  174. - new upstream release
  175. - add Patch1
  176. - add --enable-libsuffix option
  177. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  178. - rebuild for VineSeed
  179. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  180. - new upstream release
  181. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  182. - rebuild for VineSeed
  183. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  184. - new upstream release
  185. * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  186. - rebuild for VineSeed
  187. * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  188. - new upstream release
  189. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  190. - rebuild for VineSeed
  191. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  192. - new upstream release
  193. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  194. - rebuild for VineSeed
  195. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  196. - new upstream release
  197. - renew BuildPrereq and build section
  198. - renew %%files
  199. - enable python
  200. - change spec to make main and devel package
  201. - add BuildPrereq: ruby ruby-devel
  202. - add Patch0 to install ruby-bindings under /usr/lib/ruby
  203. * Sun Mar 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.2.2-1vl1
  204. - build for VineSeed
  205. - disable python and mozilla
  206. - objprelink (i386 only)
  207. * Wed Nov 21 2001 Than Ngo <than@redhat.com> <bero@redhat.com> 2.2.2-1
  208. - 2.2.2
  209. - build kmozilla binding only on x86/alpha
  210. * Thu Aug 9 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-2
  211. - Make sure %%{name}-kmozilla isn't built on ia64
  212. * Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010723.2
  213. - Move python bindings to separate package
  214. - Add perl bindings
  215. - Shut up rpmlint
  216. * Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  217. - 2.1
  218. * Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  219. - initial RPM