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