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