diff --git a/vala.spec b/vala.spec index 876797f..792bbe1 100644 --- a/vala.spec +++ b/vala.spec @@ -1,6 +1,6 @@ Name: vala Version: 0.1.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -44,22 +44,22 @@ applications and libraries written in C. This package contains development files for %{name}. This is not necessary for using the %{name} compiler. -%package vapigen -Summary: Bindings generators for %{name} +%package tools +Summary: Tools for creating projects and bindings for %{name} Group: Development/Languages -# Most files are LGPLv2.1+, but gapi*.pl files are GPLv2 -License: LGPLv2+ and GPLv2 +License: LGPLv2+ Requires: %{name} = %{version}-%{release} -Requires: perl(XML::Twig) +Provides: %{name}-vapigen = %{version}-%{release} +Obsoletes: %{name}-vapigen < %{version}-%{release} -%description vapigen +%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 API bindings from existing -C libraries, allowing access from Vala programs. +This package contains tools to generate Vala projects, as well as API bindings +from existing C libraries, allowing access from Vala programs. %package docs Summary: Documentation for %{name} @@ -82,7 +82,7 @@ This package contains documentation in a devhelp HTML book. %build -%configure --enable-vapigen +%configure --enable-vapigen --enable-gen-project # Don't use rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -116,7 +116,7 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libvala.so %{_libdir}/pkgconfig/vala-1.0.pc -%files vapigen +%files tools %defattr(-,root,root,-) %{_bindir}/*gen* %{_bindir}/vapicheck @@ -130,6 +130,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Dec 4 2007 Michel Salim - 0.1.5-2 +- Enable project generator tool + * Tue Nov 27 2007 Michel Salim - 0.1.5-1 - Update to 0.1.5