%define majver %(echo %version | cut -d. -f 1-2) %define apiver %majver Name: vala Version: 0.28.0 Release: 1mamba 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: 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-%{apiver} %{_datadir}/vala-%{apiver}/* %{_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-%{apiver}.pc %{_datadir}/pkgconfig/vapigen.pc %doc ChangeLog NEWS README %files tools %defattr(-,root,root) %{_bindir}/valac %{_bindir}/valac-%{apiver} %{_bindir}/vala %{_bindir}/vala-%{apiver} %{_bindir}/vala-gen-introspect %{_bindir}/vala-gen-introspect-%{apiver} %{_bindir}/vapigen* %{_bindir}/vapicheck* %{_libdir}/vala-* %{_mandir}/man1/valac* %{_mandir}/man1/vapigen* %{_mandir}/man1/vala-gen-introspect* %changelog * Tue Apr 14 2015 Automatic Build System 0.28.0-1mamba - automatic version update by autodist * Wed Jan 14 2015 Automatic Build System 0.26.2-1mamba - automatic update by autodist * Tue Oct 14 2014 Automatic Build System 0.26.1-1mamba - automatic update by autodist * Tue Sep 23 2014 Automatic Build System 0.26.0-1mamba - automatic version update by autodist * Sun Aug 24 2014 Automatic Build System 0.25.2-1mamba - automatic version update by autodist * Tue Jul 29 2014 Automatic Build System 0.25.1-1mamba - automatic version update by autodist * Tue Mar 25 2014 Automatic Build System 0.24.0-1mamba - automatic version update by autodist * Wed Feb 19 2014 Automatic Build System 0.23.3-1mamba - automatic version update by autodist * Wed Feb 05 2014 Automatic Build System 0.23.2-1mamba - automatic version update by autodist * Mon Dec 23 2013 Automatic Build System 0.23.1-1mamba - automatic version update by autodist * 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