vala-vl.spec 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. %global api_ver 0.12
  2. Summary: A modern programming language for GNOME
  3. Summary: GNOME 用のモダンなプログラミング言語
  4. Name: vala
  5. Version: 0.12.1
  6. Release: 1%{?_dist_release}
  7. Group: Development/Languages
  8. # Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
  9. License: LGPLv2+ and BSD
  10. URL: http://live.gnome.org/Vala
  11. Source0: http://download.gnome.org/sources/vala/0.12/vala-%{version}.tar.bz2
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: gtk2-devel
  14. BuildRequires: flex
  15. BuildRequires: bison
  16. BuildRequires: xulrunner-devel >= 1.9
  17. Requires: gtk2-devel
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. Vala is a new programming language that aims to bring modern programming
  22. language features to GNOME developers without imposing any additional
  23. runtime requirements and without using a different ABI compared to
  24. applications and libraries written in C.
  25. valac, the Vala compiler, is a self-hosting compiler that translates
  26. Vala source code into C source and header files. It uses the GObject
  27. type system to create classes and interfaces declared in the Vala source
  28. code. It's also planned to generate GIDL files when gobject-
  29. introspection is ready.
  30. The syntax of Vala is similar to C#, modified to better fit the GObject
  31. type system.
  32. %package devel
  33. Summary: Development files for %{name}
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. %description devel
  38. Vala is a new programming language that aims to bring modern programming
  39. language features to GNOME developers without imposing any additional
  40. runtime requirements and without using a different ABI compared to
  41. applications and libraries written in C.
  42. This package contains development files for %{name}. This is not necessary for
  43. using the %{name} compiler.
  44. %package tools
  45. Summary: Tools for creating projects and bindings for %{name}
  46. Group: Development/Languages
  47. License: LGPLv2+
  48. Requires: %{name} = %{version}-%{release}
  49. Requires: gnome-common intltool libtool
  50. Provides: %{name}-vapigen = %{version}-%{release}
  51. Obsoletes: %{name}-vapigen < %{version}-%{release}
  52. %description tools
  53. Vala is a new programming language that aims to bring modern programming
  54. language features to GNOME developers without imposing any additional
  55. runtime requirements and without using a different ABI compared to
  56. applications and libraries written in C.
  57. This package contains tools to generate Vala projects, as well as API bindings
  58. from existing C libraries, allowing access from Vala programs.
  59. %package doc
  60. Summary: Documentation for %{name}
  61. Group: Documentation
  62. License: LGPLv2+
  63. BuildArch: noarch
  64. Requires: %{name} = %{version}-%{release}
  65. Requires: devhelp
  66. Provides: %{name}-docs = %{version}-%{release}
  67. Obsoletes: %{name}-docs < %{version}-%{release}
  68. %description doc
  69. Vala is a new programming language that aims to bring modern programming
  70. language features to GNOME developers without imposing any additional
  71. runtime requirements and without using a different ABI compared to
  72. applications and libraries written in C.
  73. This package contains documentation in a devhelp HTML book.
  74. %prep
  75. %setup -q
  76. %build
  77. %configure --enable-vapigen
  78. # Don't use rpath!
  79. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  80. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  81. make %{?_smp_mflags}
  82. # checks currently utilize installed Vala, not the one being compiled
  83. #%check
  84. #make check
  85. %install
  86. rm -rf $RPM_BUILD_ROOT
  87. make install DESTDIR=$RPM_BUILD_ROOT
  88. rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la
  89. %clean
  90. rm -rf $RPM_BUILD_ROOT
  91. %post -p /sbin/ldconfig
  92. %postun -p /sbin/ldconfig
  93. %files
  94. %defattr(-,root,root,-)
  95. %doc AUTHORS ChangeLog COPYING INSTALL MAINTAINERS NEWS README THANKS
  96. %{_bindir}/vala
  97. %{_bindir}/valac
  98. %{_bindir}/vala-%{api_ver}
  99. %{_bindir}/valac-%{api_ver}
  100. %{_datadir}/vala-%{api_ver}
  101. %{_libdir}/libvala-%{api_ver}.so.*
  102. %{_mandir}/*/valac*
  103. %files devel
  104. %defattr(-,root,root,-)
  105. %{_includedir}/vala-%{api_ver}
  106. %{_libdir}/libvala-%{api_ver}.so
  107. %{_libdir}/pkgconfig/libvala-%{api_ver}.pc
  108. %{_datadir}/aclocal/vala.m4
  109. %files tools
  110. %defattr(-,root,root,-)
  111. %{_bindir}/vala-gen-introspect
  112. %{_bindir}/vapicheck
  113. %{_bindir}/vapigen
  114. %{_bindir}/vala-gen-introspect-%{api_ver}
  115. %{_bindir}/vapicheck-%{api_ver}
  116. %{_bindir}/vapigen-%{api_ver}
  117. %{_libdir}/vala-%{api_ver}
  118. %{_mandir}/*/*gen*
  119. %files doc
  120. %defattr(-,root,root,-)
  121. %{_datadir}/devhelp/books/vala-%{api_ver}
  122. %changelog
  123. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.1-1
  124. - new upstream release
  125. - remove BuildRequires: devhelp
  126. * Mon Jan 3 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.2-1
  127. - new upstream release
  128. * Thu Oct 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.10.1-1
  129. - new upstream release
  130. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.0-1
  131. - new upstream release
  132. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.8-2
  133. - rebuilt with rpm-4.8.1 for pkg-config
  134. * Tue Sep 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.8-1
  135. - new upstream release
  136. - made -doc subpackage noarch
  137. * Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.7-1
  138. - new upstream release
  139. * Wed Aug 11 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.5-1
  140. - new upstream release
  141. * Fri Aug 6 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.4-1
  142. - new upstream release
  143. * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
  144. - new upstream release
  145. * Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-1
  146. - new upstream release
  147. - change BuildRequires: gecko-libs -> xulrunner-devel
  148. * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.10-1
  149. - new upstream release
  150. * Wed Dec 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.9-1
  151. - new upstream release
  152. * Tue Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.7-1
  153. - new upstream release
  154. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.5-1
  155. - initial build for Vine Linux
  156. * Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.7.5-1
  157. - Update to 0.7.5
  158. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-3
  159. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  160. * Tue Jul 14 2009 Michel Salim <salimma@fedoraproject.org> - 0.7.4-2
  161. - Patch broken ModuleInit attribute (upstream bug 587444)
  162. * Tue Jul 7 2009 Michel Salim <salimma@fedoraproject.org> - 0.7.4-1
  163. - Update to 0.7.4
  164. * Wed Jun 3 2009 Peter Robinson <pbrobinson@gmail.com> - 0.7.3-1
  165. - Update to 0.7.3
  166. * Sat Apr 18 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
  167. - Update to 0.6.1
  168. * Mon Feb 23 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.7-1
  169. - Update to 0.5.7
  170. * Tue Jan 27 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.6-1
  171. - Update to 0.5.6
  172. * Tue Dec 16 2008 Michel Salim <salimma@fedoraproject.org> - 0.5.3-1
  173. - Update to 0.5.3
  174. * Mon Dec 15 2008 Michel Salim <salimma@fedoraproject.org> - 0.5.2-3
  175. - Fix bug in Emacs version detection
  176. * Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.5.2-2
  177. - Use buildsystem variables to determine available Emacs version
  178. - BR on gecko-devel >= 1.9, since older version is also in RHEL repo
  179. * Sat Dec 13 2008 Michel Salim <salimma@fedoraproject.org> - 0.5.2-1
  180. - Update to 0.5.2
  181. * Sun Nov 23 2008 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
  182. - Update to 0.5.1
  183. * Fri Aug 22 2008 Michel Salim <salimma@fedoraproject.org> - 0.3.5-1
  184. - Update to 0.3.5
  185. * Tue Jul 15 2008 Michel Salim <salimma@fedoraproject.org> - 0.3.4-2
  186. - Add vala-mode for editing Vala code in Emacs
  187. * Tue Jul 1 2008 Lennart Poettering <lpoetter@redhat.com> - 0.3.4-1
  188. - Update to 0.3.4
  189. * Wed Jun 4 2008 Michel Salim <salimma@fedoraproject.org> - 0.3.3-1
  190. - Update to 0.3.3
  191. * Fri May 16 2008 Michel Salim <salimma@fedoraproject.org> - 0.3.2-1
  192. - Update to 0.3.2
  193. * Thu Apr 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.2.0-1
  194. - Update to 0.2.0
  195. * Wed Mar 5 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.7-1
  196. - Update to 0.1.7
  197. - -tool subpackage now requires gnome-common, intltool and libtoolize
  198. for out-of-the-box vala-gen-project support
  199. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1.6-2
  200. - Autorebuild for GCC 4.3
  201. * Sat Jan 19 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.6-1
  202. - Update to 0.1.6
  203. - Revert vapi addition, needed declarations have been inlined (r846)
  204. - Rename -docs subpackage to -doc, to comply with guidelines
  205. * Tue Jan 15 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.5-5
  206. - Manually add Gee vapi file to package (bz #428692)
  207. * Tue Dec 4 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.5-4
  208. - Backport patch to autodetect location of automake shared files
  209. * Tue Dec 4 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.5-3
  210. - Add build dependency on gtk2-devel
  211. * Tue Dec 4 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.5-2
  212. - Enable project generator tool
  213. * Tue Nov 27 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.5-1
  214. - Update to 0.1.5
  215. * Sun Nov 11 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.4-2
  216. - Add build dependency on devhelp
  217. * Fri Oct 19 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.4-1
  218. - Update to 0.1.4
  219. - Put newly-added documentation in its own subpackage (depends on devhelp)
  220. * Mon Sep 17 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.3-5
  221. - vapigen subpackage: add missing Require: on perl-XML-Twig
  222. * Sat Sep 8 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.3-4
  223. - Split -vapigen subpackage. It is functionally self-contained and the license
  224. is more restricted
  225. - Updated license declarations
  226. * Wed Sep 5 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.3-3
  227. - Licensing and URL updates
  228. * Tue Sep 4 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.3-2
  229. - Enable binding generation tools
  230. * Sun Sep 2 2007 Michel Salim <salimma@fedoraproject.org> - 0.1.3-1
  231. - Update to 0.1.3
  232. * Sun Mar 25 2007 Michel Salim <salimma@fedoraproject.org> - 0.0.8-1
  233. - Update to 0.0.8
  234. * Wed Mar 7 2007 Michel Salim <salimma@fedoraproject.org> - 0.0.7-1
  235. - Update to 0.0.7
  236. * Wed Feb 28 2007 Michel Salim <salimma@fedoraproject.org> - 0.0.6-1
  237. - Update to 0.0.6
  238. * Mon Nov 6 2006 Michel Salim <salimma@fedoraproject.org> - 0.0.5-1
  239. - Initial package