]> git.pld-linux.org Git - packages/vala.git/blame - vala.spec
- added
[packages/vala.git] / vala.spec
CommitLineData
2100e356 1#
2# Conditional build:
3%bcond_with tests # build with tests
4%bcond_without tests # build without tests
5#
6Summary: GObject-based language compiler
7Name: vala
8Version: 0.0.1
9Release: 0.1
10License: LGPL 2.1
11Group: Applications
12Source0: http://www.paldo.org/vala/%{name}-%{version}.tar.bz2
13# Source0-md5: c9b0916e6e091a115bc81ac552d19c10
14URL: http://www.paldo.org/vala/
15BuildRequires: glib2-devel >= 2.10.0
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Vala is a new programming language that aims to bring modern
20programming language features to GNOME developers without imposing any
21additional runtime requirements and without using a different ABI
22compared to applications and libraries written in C.
23
24valac, the Vala compiler, is a self-hosting compiler that translates
25Vala source code into C source and header files. It uses the GObject
26type system to create classes and interfaces declared in the Vala
27source code. It's also planned to generate GIDL files when
28gobject-introspection is ready.
29
30The syntax of Vala is similar to C#, modified to better fit the
31GObject type system.
32
33%prep
34%setup -q
35
36%build
37%configure
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%attr(755,root,root) %{_bindir}/*
52%dir %{_datadir}/vala
53%dir %{_datadir}/vala/vapi
54%{_datadir}/vala/vapi/*.vala
This page took 0.07848 seconds and 4 git commands to generate.