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