%define majver %(echo %version | cut -d. -f 1-2) Name: vala Version: 0.22.1 Release: 2mamba Summary: Compiler for the GObject type system Group: Development/Languages Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://live.gnome.org/Vala Source: http://download.gnome.org/sources/vala/%{majver}/vala-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libffi-devel BuildRequires: libglib-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %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. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel 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. This package contains static libraries and header files need for development. %package tools Group: Development/Languages Summary: Tools for creating projects and bindings for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools 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. 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 %configure --enable-vapigen %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_datadir}/vala-%{majver} %{_datadir}/vala-%{majver}/* %{_libdir}/libvala-*.so.* %doc AUTHORS COPYING THANKS %files devel %defattr(-,root,root) %dir %{_includedir}/vala-*/ %{_includedir}/vala-*/*.h %{_libdir}/libvala-*.la %{_libdir}/libvala-*.so %{_datadir}/aclocal/vala.m4 %{_datadir}/aclocal/vapigen.m4 %{_datadir}/devhelp/books/vala-* %{_datadir}/vala/Makefile.vapigen %{_libdir}/pkgconfig/libvala-*.pc %{_datadir}/pkgconfig/vapigen-%{majver}.pc %{_datadir}/pkgconfig/vapigen.pc %doc ChangeLog NEWS README %files tools %defattr(-,root,root) %{_bindir}/valac %{_bindir}/valac-%{majver} %{_bindir}/vala %{_bindir}/vala-%{majver} %{_bindir}/vala-gen-introspect %{_bindir}/vala-gen-introspect-%{majver} %{_bindir}/vapigen* %{_bindir}/vapicheck* %{_libdir}/vala-* %{_mandir}/man1/valac* %{_mandir}/man1/vapigen* %{_mandir}/man1/vala-gen-introspect* %changelog * Sat Mar 01 2014 Silvan Calarco 0.22.1-2mamba - rebuilt to fix bug between rpm 5.2.1-22mamba and -23mamba * Wed Nov 13 2013 Automatic Build System 0.22.1-1mamba - automatic version update by autodist * Mon Oct 07 2013 Automatic Build System 0.22.0-1mamba - automatic version update by autodist * Mon Apr 08 2013 Automatic Build System 0.20.1-1mamba - automatic version update by autodist * Thu Mar 28 2013 Automatic Build System 0.20.0-1mamba - automatic version update by autodist * Tue Nov 13 2012 Automatic Build System 0.18.1-1mamba - automatic version update by autodist * Sat Sep 29 2012 Automatic Build System 0.18.0-1mamba - automatic version update by autodist * Sat Jun 23 2012 Automatic Build System 0.16.1-1mamba - automatic version update by autodist * Sun Apr 01 2012 Automatic Build System 0.16.0-1mamba - automatic version update by autodist * Thu Oct 13 2011 Silvan Calarco 0.14.0-1mamba - update to 0.14.0 * Mon Apr 11 2011 Silvan Calarco 0.12.0-1mamba - update to 0.12.0 * Tue Mar 15 2011 Automatic Build System 0.10.4-1mamba - automatic update by autodist * Tue Feb 01 2011 Automatic Build System 0.10.3-1mamba - automatic update by autodist * Wed Jan 05 2011 Automatic Build System 0.10.2-1mamba - automatic update by autodist * Mon Nov 15 2010 Automatic Build System 0.10.1-1mamba - update to 0.10.1 * Wed Nov 10 2010 Automatic Build System 0.9.8-1mamba - automatic update by autodist * Sat Aug 28 2010 Davide Madrisan 0.9.7-1mamba - package created by autospec