]>
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 |
aee7aa34 | 4 | Version: 0.3.3 |
37dd88f6 | 5 | Release: 1 |
6a5cf96c | 6 | License: LGPL v2+ |
2100e356 | 7 | Group: Applications |
b0568d57 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vala/0.3/%{name}-%{version}.tar.bz2 |
aee7aa34 | 9 | # Source0-md5: b0bdf06ac68d930ea754209505e13d9b |
2100e356 | 10 | URL: http://www.paldo.org/vala/ |
6a5cf96c JB |
11 | BuildRequires: bison |
12 | BuildRequires: glib2-devel >= 1:2.10.0 | |
7f0c5943 | 13 | BuildRequires: libxslt-progs |
6a5cf96c | 14 | BuildRequires: pkgconfig |
2100e356 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Vala is a new programming language that aims to bring modern | |
19 | programming language features to GNOME developers without imposing any | |
20 | additional runtime requirements and without using a different ABI | |
21 | compared to applications and libraries written in C. | |
22 | ||
23 | valac, the Vala compiler, is a self-hosting compiler that translates | |
24 | Vala source code into C source and header files. It uses the GObject | |
25 | type system to create classes and interfaces declared in the Vala | |
26 | source code. It's also planned to generate GIDL files when | |
27 | gobject-introspection is ready. | |
28 | ||
29 | The syntax of Vala is similar to C#, modified to better fit the | |
30 | GObject type system. | |
31 | ||
a030a99c JR |
32 | %description -l pl.UTF-8 |
33 | Vala to nowy język programowania, którego celem jest udostępnienie | |
34 | cech nowoczesnych języków programowania programistom GNOME bez | |
35 | wymuszania dodatkowych wymagań co do środowiska uruchomieniowego i | |
36 | używania API innego niż w aplikacjach i bibliotekach napisanych w C. | |
fc5b0e4f | 37 | |
a030a99c JR |
38 | valac - kompilator języka Vala - to napisany w sobie samym kompilator |
39 | tłumaczący kod źródłowy w języku Vala na pliki źródłowe i nagłówkowe w | |
40 | C. Używa systemu typów GObject do tworzenia klas i interfejsów | |
41 | zadeklarowanych w kodzie źródłowym w języku Vala. Planowane jest także | |
42 | generowanie plików GIDL, kiedy system gobject-introspection będzie | |
fc5b0e4f JB |
43 | gotowy. |
44 | ||
a030a99c JR |
45 | Składnia języka Vala jest podobna do C#, zmodyfikowana tak, aby lepiej |
46 | pasować do systemu typów GObject. | |
fc5b0e4f | 47 | |
b0568d57 | 48 | %package apidocs |
49 | Summary: vala API documentation | |
50 | Summary(pl.UTF-8): Dokumentacja API vala | |
51 | Group: Documentation | |
8634ffb4 | 52 | Requires: devhelp |
b0568d57 | 53 | |
54 | %description apidocs | |
55 | vala API documentation. | |
56 | ||
57 | %description apidocs -l pl.UTF-8 | |
58 | Dokumentacja API vala. | |
59 | ||
2100e356 | 60 | %prep |
61 | %setup -q | |
62 | ||
63 | %build | |
64 | %configure | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
6a5cf96c JB |
76 | %post -p /sbin/ldconfig |
77 | %postun -p /sbin/ldconfig | |
78 | ||
2100e356 | 79 | %files |
80 | %defattr(644,root,root,755) | |
81 | %attr(755,root,root) %{_bindir}/* | |
6a5cf96c JB |
82 | %attr(755,root,root) %{_libdir}/libvala.so.*.*.* |
83 | %attr(755,root,root) %{_libdir}/libvala.so | |
84 | %{_libdir}/libvala.la | |
33aff9fe | 85 | %{_includedir}/vala-1.0 |
33aff9fe | 86 | %{_pkgconfigdir}/vala-1.0.pc |
2100e356 | 87 | %dir %{_datadir}/vala |
88 | %dir %{_datadir}/vala/vapi | |
6372be03 | 89 | %{_datadir}/vala/vapi/*.vapi |
33aff9fe | 90 | %{_datadir}/vala/vapi/*.deps |
6a5cf96c | 91 | %{_mandir}/man1/valac.1* |
b0568d57 | 92 | |
93 | %files apidocs | |
94 | %defattr(644,root,root,755) | |
95 | %{_datadir}/devhelp/books/vala |