From fbc625e2addca06ae4bcae4501eeeda41d43f7ef Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 19 Oct 2007 19:31:22 +0000 Subject: [PATCH] Update to 0.1.4, added -docs subpackage --- .cvsignore | 2 +- sources | 2 +- vala.spec | 48 +++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 43 insertions(+), 9 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0dba856..43e7c30 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -vala-0.1.3.tar.bz2 +vala-0.1.4.tar.bz2 diff --git a/sources b/sources index 7cab8ae..b16f516 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d6552982b10582d0b01c3d612fb098b2 vala-0.1.3.tar.bz2 +f914a5d7d3a92d1cb6af69fb4bb98002 vala-0.1.4.tar.bz2 diff --git a/vala.spec b/vala.spec index 23809b9..ea2ef34 100644 --- a/vala.spec +++ b/vala.spec @@ -1,6 +1,6 @@ Name: vala -Version: 0.1.3 -Release: 5%{?dist} +Version: 0.1.4 +Release: 1%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -36,8 +36,13 @@ Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel -Development files for %{name}. This is not necessary for using the %{name} -compiler. +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 development files for %{name}. This is not necessary for +using the %{name} compiler. %package vapigen Summary: Bindings generators for %{name} @@ -45,11 +50,31 @@ Group: Development/Languages # Most files are LGPLv2.1+, but gapi*.pl files are GPLv2 License: LGPLv2+ and GPLv2 Requires: %{name} = %{version}-%{release} -Requires: perl-XML-Twig +Requires: perl(XML::Twig) %description vapigen -Tools to generate Vala API bindings from existing C libraries, allowing access -from Vala programs. +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. + +%package docs +Summary: Documentation for %{name} +Group: Documentation +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: devhelp + +%description docs +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 documentation in a devhelp HTML book. %prep @@ -94,11 +119,20 @@ rm -rf $RPM_BUILD_ROOT %files vapigen %defattr(-,root,root,-) %{_bindir}/*gen +%{_bindir}/vapicheck %{_libdir}/vala +%files docs +%defattr(-,root,root,-) +%{_datadir}/devhelp/books/vala + %changelog +* Fri Oct 19 2007 Michel Salim - 0.1.4-1 +- Update to 0.1.4 +- Put newly-added documentation in its own subpackage (depends on devhelp) + * Mon Sep 17 2007 Michel Salim - 0.1.3-5 - vapigen subpackage: add missing Require: on perl-XML-Twig