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