From 9fe2f9649450a9d22ca2b074e14c49755466e9b0 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Dec 04 2007 15:59:00 +0000 Subject: vala: add BR on gtk2-devel --- diff --git a/.cvsignore b/.cvsignore index 43e7c30..41b372d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vala-0.1.4.tar.bz2 +vala-0.1.5.tar.bz2 diff --git a/sources b/sources index b16f516..bb51286 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f914a5d7d3a92d1cb6af69fb4bb98002 vala-0.1.4.tar.bz2 +4e082ecb7f60ebdc49f3bd19ae7ebca2 vala-0.1.5.tar.bz2 diff --git a/vala.spec b/vala.spec index 47866fd..28d98a3 100644 --- a/vala.spec +++ b/vala.spec @@ -1,6 +1,6 @@ Name: vala -Version: 0.1.4 -Release: 2%{?dist} +Version: 0.1.5 +Release: 3%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -10,7 +10,7 @@ URL: http://live.gnome.org/Vala Source0: http://download.gnome.org/sources/vala/0.1/vala-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: glib2-devel flex bison devhelp +BuildRequires: gtk2-devel flex bison devhelp #Requires: %description @@ -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 @@ -108,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/valac %{_datadir}/vala %{_libdir}/libvala.so.* -%{_mandir}/*/* +%{_mandir}/*/valac* %files devel %defattr(-,root,root,-) @@ -116,11 +116,12 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libvala.so %{_libdir}/pkgconfig/vala-1.0.pc -%files vapigen +%files tools %defattr(-,root,root,-) -%{_bindir}/*gen +%{_bindir}/*gen* %{_bindir}/vapicheck %{_libdir}/vala +%{_mandir}/*/*gen* %files docs %defattr(-,root,root,-) @@ -129,6 +130,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Dec 4 2007 Michel Salim - 0.1.5-3 +- Add build dependency on gtk2-devel + +* 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 + * Sun Nov 11 2007 Michel Salim - 0.1.4-2 - Add build dependency on devhelp