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