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