]>
Commit | Line | Data |
---|---|---|
2100e356 | 1 | Summary: GObject-based language compiler |
62a0034d | 2 | Summary(pl.UTF-8): Kompilator języka opartego na bibliotece GObject |
2100e356 | 3 | Name: vala |
973145e0 | 4 | Version: 0.1.1 |
37dd88f6 | 5 | Release: 1 |
2100e356 | 6 | License: LGPL 2.1 |
7 | Group: Applications | |
973145e0 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vala/0.1/vala-0.1.1.tar.bz2 |
9 | # Source0-md5: a32990252a244259b042b3c63321e797 | |
2100e356 | 10 | URL: http://www.paldo.org/vala/ |
11 | BuildRequires: glib2-devel >= 2.10.0 | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Vala is a new programming language that aims to bring modern | |
16 | programming language features to GNOME developers without imposing any | |
17 | additional runtime requirements and without using a different ABI | |
18 | compared to applications and libraries written in C. | |
19 | ||
20 | valac, the Vala compiler, is a self-hosting compiler that translates | |
21 | Vala source code into C source and header files. It uses the GObject | |
22 | type system to create classes and interfaces declared in the Vala | |
23 | source code. It's also planned to generate GIDL files when | |
24 | gobject-introspection is ready. | |
25 | ||
26 | The syntax of Vala is similar to C#, modified to better fit the | |
27 | GObject type system. | |
28 | ||
a030a99c JR |
29 | %description -l pl.UTF-8 |
30 | Vala to nowy język programowania, którego celem jest udostępnienie | |
31 | cech nowoczesnych języków programowania programistom GNOME bez | |
32 | wymuszania dodatkowych wymagań co do środowiska uruchomieniowego i | |
33 | używania API innego niż w aplikacjach i bibliotekach napisanych w C. | |
fc5b0e4f | 34 | |
a030a99c JR |
35 | valac - kompilator języka Vala - to napisany w sobie samym kompilator |
36 | tłumaczący kod źródłowy w języku Vala na pliki źródłowe i nagłówkowe w | |
37 | C. Używa systemu typów GObject do tworzenia klas i interfejsów | |
38 | zadeklarowanych w kodzie źródłowym w języku Vala. Planowane jest także | |
39 | generowanie plików GIDL, kiedy system gobject-introspection będzie | |
fc5b0e4f JB |
40 | gotowy. |
41 | ||
a030a99c JR |
42 | Składnia języka Vala jest podobna do C#, zmodyfikowana tak, aby lepiej |
43 | pasować do systemu typów GObject. | |
fc5b0e4f | 44 | |
2100e356 | 45 | %prep |
46 | %setup -q | |
47 | ||
48 | %build | |
49 | %configure | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_bindir}/* | |
33aff9fe | 64 | %{_includedir}/vala-1.0 |
65 | %{_prefix}/lib/libvala.la | |
66 | %attr(755,root,root) %{_prefix}/lib/libvala.so.0.0.0 | |
67 | %{_pkgconfigdir}/vala-1.0.pc | |
c0fe10e0 | 68 | %{_mandir}/man1/valac.1* |
2100e356 | 69 | %dir %{_datadir}/vala |
70 | %dir %{_datadir}/vala/vapi | |
71 | %{_datadir}/vala/vapi/*.vala | |
33aff9fe | 72 | %{_datadir}/vala/vapi/*.deps |