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