SPECS: vala.spec (NEW) - added

aredridel aredridel at pld-linux.org
Mon Jul 24 00:30:11 CEST 2006


Author: aredridel                    Date: Sun Jul 23 22:30:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   vala.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/vala.spec
diff -u /dev/null SPECS/vala.spec:1.1
--- /dev/null	Mon Jul 24 00:30:11 2006
+++ SPECS/vala.spec	Mon Jul 24 00:30:05 2006
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%bcond_without	tests		# build without tests
+#
+Summary:	GObject-based language compiler
+Name:		vala
+Version:	0.0.1
+Release:	0.1
+License:	LGPL 2.1
+Group:		Applications
+Source0:	http://www.paldo.org/vala/%{name}-%{version}.tar.bz2
+# Source0-md5:	c9b0916e6e091a115bc81ac552d19c10
+URL:		http://www.paldo.org/vala/
+BuildRequires:	glib2-devel >= 2.10.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+valac, the Vala compiler, is a self-hosting compiler that translates
+Vala source code into C source and header files. It uses the GObject
+type system to create classes and interfaces declared in the Vala
+source code. It's also planned to generate GIDL files when
+gobject-introspection is ready.
+
+The syntax of Vala is similar to C#, modified to better fit the
+GObject type system.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/vala
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/*.vala
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/07/23 22:30:05  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list