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