kross-interpreters-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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: 1%{?_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. * Sun Jan 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.3-1
  107. - new upstream release
  108. * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.12.5-1
  109. - splitted from kdebindings
  110. - enabled kross-java package
  111. * Thu Jun 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  112. - new upstream release
  113. * Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  114. - updated to 4.6.1
  115. - added BR: kdesdk-devel
  116. - disabled attica plugins temporaly
  117. - rebuilt with mono-2.10.1
  118. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-2
  119. - rebuilt with rpm-4.8.1 for pkg-config
  120. * Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1
  121. - new upstream release
  122. - added Patch50
  123. - added more japanese summaries
  124. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
  125. - new upstream release
  126. * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1
  127. - new upstream release
  128. * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  129. - new upstream release
  130. * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-1
  131. - new upstream release
  132. * Tue Mar 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  133. - new upstream release
  134. - added -DCMAKE_SKIP_RPATH:BOOL=OFF option to cmake
  135. (see https://bugs.kde.org/show_bug.cgi?id=214824)
  136. - built with new toolchain
  137. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  138. - new upstream release
  139. * Thu Oct 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-4
  140. - merged 4.3.1-2 %changelog
  141. - re-define %%{mono_dir} to %{_prefix}/lib/mono (again)
  142. * Tue Oct 27 2009 Shu KONNO <owa@bg.wakwak.com> 4.3.2-3
  143. - use %%{_prefix}/lib for mono-dll (for x86_64)
  144. * Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-2
  145. - new upstream release
  146. - built with PyQt4-4.6
  147. * Sun Sep 06 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.3.1-2
  148. - define %%{mono_dir} to specify mono library install path
  149. * Sun Sep 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  150. - new upstream release
  151. - fixed ruby modules installation path
  152. * Thu Aug 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  153. - new upstream release
  154. - spilt sub package based on Fedora
  155. * Mon May 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  156. - applied new versioning policy
  157. - added Patch1
  158. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484191)
  159. * Fri Nov 23 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
  160. - added --with-qt-libraries option
  161. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  162. - rebuild for VineSeed
  163. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  164. - new upstream release
  165. * Mon Jun 25 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  166. - rebuild for VineSeed
  167. * Thu May 31 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  168. - new upstream release
  169. - update Patch0
  170. - drop Patch1
  171. * Mon Jan 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
  172. - new upstream release
  173. - add Patch1
  174. - add --enable-libsuffix option
  175. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  176. - rebuild for VineSeed
  177. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  178. - new upstream release
  179. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  180. - rebuild for VineSeed
  181. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  182. - new upstream release
  183. * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  184. - rebuild for VineSeed
  185. * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  186. - new upstream release
  187. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  188. - rebuild for VineSeed
  189. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  190. - new upstream release
  191. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  192. - rebuild for VineSeed
  193. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  194. - new upstream release
  195. - renew BuildPrereq and build section
  196. - renew %%files
  197. - enable python
  198. - change spec to make main and devel package
  199. - add BuildPrereq: ruby ruby-devel
  200. - add Patch0 to install ruby-bindings under /usr/lib/ruby
  201. * Sun Mar 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.2.2-1vl1
  202. - build for VineSeed
  203. - disable python and mozilla
  204. - objprelink (i386 only)
  205. * Wed Nov 21 2001 Than Ngo <than@redhat.com> <bero@redhat.com> 2.2.2-1
  206. - 2.2.2
  207. - build kmozilla binding only on x86/alpha
  208. * Thu Aug 9 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-2
  209. - Make sure %%{name}-kmozilla isn't built on ia64
  210. * Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010723.2
  211. - Move python bindings to separate package
  212. - Add perl bindings
  213. - Shut up rpmlint
  214. * Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  215. - 2.1
  216. * Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  217. - initial RPM