vala-0.10.1-1kkr2010.1.spec
%define name vala
%define version 0.10.1
%define release %mkrel 1
%define major 0
%define libname %mklibname %name %major
%define libnamedev %mklibname -d %name
Summary: Compiler for the GObject type system
Name: %{name}
Version: %{version}
Release: %{release}
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/vala/0.10/%{name}-%{version}.tar.bz2
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
License: LGPLv2+ and BSD
Group: Development/Other
Url: http://live.gnome.org/Vala
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: glib2-devel
BuildRequires: flex
BuildRequires: bison
#gw for make check:
BuildRequires: dbus-glib-devel
Requires: glib2-devel
%description
Vala is a new programming language that aims to bring modern
programming language features to GNOME developers without imposing any
additional runtime requirements and without using a different ABI
compared to applications and libraries written in C.
valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala
source code. It's also planned to generate GIDL files when
gobject-introspection is ready.
The syntax of Vala is similar to C#, modified to better fit the GObject
type system. Vala supports modern language features as the following:
* Interfaces
* Properties
* Signals
* Foreach
* Lambda expressions
* Type inference for local variables
* Non-null types [PARTIAL]
* Exception handling [PLANNED]
* Assisted memory management
* type modules (aka. Plugins)
Vala is designed to allow access to existing C libraries, especially
GObject-based libraries, without the need for runtime bindings. Each
to be used library requires a Vala API file at compile-time,
containing the class and method declarations in Vala syntax. Vala
currently comes with experimental bindings for GLib and GTK+. It's
planned to provide generated bindings for the full GNOME Platform at a
later stage.
Using classes and methods written in Vala from an application written
in C is not difficult. The Vala library only has to install the
generated header files and C applications may then access the
GObject-based API of the Vala library as usual. It should also be
easily possible to write a bindings generator for access to Vala
libraries from applications written in e.g. C# as the Vala parser is written
as a library, so that all compile-time information is available when
generating a binding.
%package -n %libname
Group: System/Libraries
Summary: Vala runtime library
%description -n %libname
This is the runtime library of the Vala programming language.
%package -n %libnamedev
Group: Development/Other
Summary: Vala development files
Requires: %libname = %version
Requires: %name = %version
Provides: libvala-devel = %version-%release
Provides: vala-devel = %version-%release
Obsoletes: %mklibname -d vala 0
%description -n %libnamedev
This is the development library of the Vala programming language.
%package tools
Summary: Tools for creating projects and bindings for %{name}
Group: Development/Other
Requires: %{name} = %{version}-%{release}
Requires: gnome-common intltool libtool
%description tools
This package contains tools to generate Vala projects, as well as API bindings
from existing C libraries, allowing access from Vala programs.
%prep
%setup -q
%build
%configure2_5x --enable-vapigen
%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
%if %mdkversion >= 201100
%check
make check
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%if %mdkversion < 200900
%post -n %libname -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libname -p /sbin/ldconfig
%endif
%files -n %libname
%defattr(-,root,root)
%_libdir/libvala-*.so.%{major}*
%files -n %libnamedev
%defattr(-,root,root)
%doc ChangeLog
%_libdir/libvala-*.so
%_libdir/libvala-*.la
%_includedir/vala-*
%_libdir/pkgconfig/vala-*.pc
%_datadir/devhelp/books/vala-*
%files
%defattr(-,root,root)
%doc AUTHORS MAINTAINERS NEWS README
%_bindir/vala*
%_bindir/valac*
%_datadir/%name-*
%_mandir/man1/valac*.1*
%_datadir/aclocal/vala.m4
%files tools
%defattr(-,root,root)
%{_bindir}/*gen*
%{_bindir}/vapicheck*
%{_libdir}/vala-*
%{_mandir}/*/*gen*
%changelog
* Wed Oct 27 2010 kakurasan <kakurasan AT gmail DOT com> 0.10.1-1kkr2010.1
- new version
* Sat Sep 18 2010 kakurasan <kakurasan AT gmail DOT com> 0.10.0-1kkr2010.1
- new version
* Mon Sep 06 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.8-1kkr2010.1
- new version
* Fri Aug 20 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.7-1kkr2010.1
- new version
* Thu Aug 19 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.6-1kkr2010.1
- new version
* Mon Aug 09 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.5-1kkr2010.1
- new version
* Thu Jul 29 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.4-1kkr2010.1
- new version
* Thu Jul 15 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.3-1kkr2010.1
- new version
* Wed Jun 23 2010 kakurasan <kakurasan AT gmail DOT com> 0.9.2-1kkr2010.0
- new version
* Wed Apr 21 2010 G旦tz Waschk <waschk AT mandriva DOT org> 0.8.1-1mdv2010.1
+ Revision: 537648
- update to new version 0.8.1
* Wed Mar 31 2010 G旦tz Waschk <waschk AT mandriva DOT org> 0.8.0-1mdv2010.1
+ Revision: 530533
- update to new version 0.8.0
* Thu Feb 04 2010 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.10-1mdv2010.1
+ Revision: 500996
- update to new version 0.7.10
* Sat Dec 19 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.9-1mdv2010.1
+ Revision: 480162
- update to new version 0.7.9
* Fri Nov 06 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.8-1mdv2010.1
+ Revision: 460747
- update to new version 0.7.8
* Sat Oct 03 2009 Colin Guthrie <cguthrie AT mandriva DOT org> 0.7.7-2mdv2010.0
+ Revision: 453252
- Fix format-security issues.
- Enable vapigen and package in vala-tools (as per Fedora)
* Sun Sep 27 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.7-1mdv2010.0
+ Revision: 450206
- update to new version 0.7.7
* Fri Sep 18 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.6-1mdv2010.0
+ Revision: 444249
- update to new version 0.7.6
* Sun Aug 02 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.5-1mdv2010.0
+ Revision: 407607
- update to new version 0.7.5
* Sun Jun 28 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.4-1mdv2010.0
+ Revision: 390425
- update to new version 0.7.4
* Wed May 27 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.3-1mdv2010.0
+ Revision: 380096
- update build deps
- update to new version 0.7.3
+ Frederic Crozat <fcrozat AT mandriva DOT com>
- Add dependency on glib2-devel (Mdv bug #50894)
- Enable checks
* Mon May 11 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.7.2-1mdv2010.0
+ Revision: 374162
- new version
* Tue Apr 14 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.6.1-1mdv2009.1
+ Revision: 366976
- update to new version 0.6.1
* Tue Mar 31 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.6.0-1mdv2009.1
+ Revision: 362800
- new version
* Sat Feb 21 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.7-1mdv2009.1
+ Revision: 343552
- update to new version 0.5.7
* Sun Jan 18 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.6-1mdv2009.1
+ Revision: 330983
- update to new version 0.5.6
* Sat Jan 10 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.5-1mdv2009.1
+ Revision: 328029
- update to new version 0.5.5
* Thu Jan 08 2009 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.4-1mdv2009.1
+ Revision: 327027
- new version
- drop patch
* Fri Dec 19 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.3-1mdv2009.1
+ Revision: 316084
- new version
- fix format strings
* Tue Dec 02 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.5.2-1mdv2009.1
+ Revision: 309149
- disable checks
- fix checks
- update to new version 0.5.2
* Tue Nov 04 2008 Funda Wang <fwang AT mandriva DOT org> 0.5.1-1mdv2009.1
+ Revision: 299670
- New version 0.5.1
* Tue Oct 21 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.4.0-1mdv2009.1
+ Revision: 295930
- new version
- fix source URL
* Thu Aug 14 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.3.5-1mdv2009.0
+ Revision: 272193
- new version
* Thu Jul 03 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.3.4-1mdv2009.0
+ Revision: 230993
- new version
- update license
+ Pixel <pixel AT mandriva DOT com>
- do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
* Tue Apr 15 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.2.0-1mdv2009.0
+ Revision: 193793
- new version
* Mon Mar 03 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.7-1mdv2008.1
+ Revision: 177871
- new version
* Sun Jan 20 2008 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.6-1mdv2008.1
+ Revision: 155296
- new version
+ Olivier Blin <oblin AT mandriva DOT com>
- restore BuildRoot
+ Thierry Vignaud <tv AT mandriva DOT org>
- kill re-definition of %%buildroot on Pixel's request
* Sun Nov 25 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.5-1mdv2008.1
+ Revision: 111946
- new version
* Tue Oct 09 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.4-1mdv2008.1
+ Revision: 96572
- new version
- update file list
* Fri Aug 31 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.3-1mdv2008.0
+ Revision: 76885
- new version
* Sat Jul 28 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.2-1mdv2008.0
+ Revision: 56459
- new version
- new devel name
* Fri Jul 13 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.1-1mdv2008.0
+ Revision: 51810
- new version
* Mon Jul 09 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.1.0-1mdv2008.0
+ Revision: 50480
- new version
* Mon Apr 30 2007 Herton Ronaldo Krzesinski <herton AT mandriva.com DOT br> 0.0.9-1mdv2008.0
+ Revision: 19638
- Updated to 0.0.9.
* Fri Mar 23 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.0.8-1mdv2007.1
+ Revision: 148576
- Import vala
* Fri Mar 23 2007 G旦tz Waschk <waschk AT mandriva DOT org> 0.0.8-1mdv2007.1
- initial package