|
|
30c0323 |
Name: vala
|
|
|
539aa0b |
Version: 0.1.3
|
|
|
eee8d9d |
Release: 4%{?dist}
|
|
|
30c0323 |
Summary: A modern programming language for GNOME
|
|
|
30c0323 |
|
|
|
30c0323 |
Group: Development/Languages
|
|
|
eee8d9d |
# Most files are LGPLv2.1+, curses.vala is 2-clause BSD
|
|
|
3ca905c |
License: LGPLv2+ and BSD
|
|
|
a1e8301 |
URL: http://live.gnome.org/Vala
|
|
|
a1e8301 |
Source0: http://download.gnome.org/sources/vala/0.1/vala-%{version}.tar.bz2
|
|
|
30c0323 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
30c0323 |
|
|
|
30c0323 |
BuildRequires: glib2-devel flex bison
|
|
|
30c0323 |
#Requires:
|
|
|
30c0323 |
|
|
|
30c0323 |
%description
|
|
|
30c0323 |
Vala is a new programming language that aims to bring modern programming
|
|
|
30c0323 |
language features to GNOME developers without imposing any additional
|
|
|
30c0323 |
runtime requirements and without using a different ABI compared to
|
|
|
30c0323 |
applications and libraries written in C.
|
|
|
30c0323 |
|
|
|
30c0323 |
valac, the Vala compiler, is a self-hosting compiler that translates
|
|
|
30c0323 |
Vala source code into C source and header files. It uses the GObject
|
|
|
30c0323 |
type system to create classes and interfaces declared in the Vala source
|
|
|
30c0323 |
code. It's also planned to generate GIDL files when gobject-
|
|
|
30c0323 |
introspection is ready.
|
|
|
30c0323 |
|
|
|
30c0323 |
The syntax of Vala is similar to C#, modified to better fit the GObject
|
|
|
30c0323 |
type system.
|
|
|
30c0323 |
|
|
|
30c0323 |
|
|
|
30c0323 |
%package devel
|
|
|
30c0323 |
Summary: Development files for %{name}
|
|
|
30c0323 |
Group: Development/Libraries
|
|
|
30c0323 |
Requires: %{name} = %{version}-%{release}
|
|
|
30c0323 |
Requires: pkgconfig
|
|
|
30c0323 |
|
|
|
30c0323 |
%description devel
|
|
|
30c0323 |
Development files for %{name}. This is not necessary for using the %{name}
|
|
|
30c0323 |
compiler.
|
|
|
30c0323 |
|
|
|
eee8d9d |
%package vapigen
|
|
|
eee8d9d |
Summary: Bindings generators for %{name}
|
|
|
eee8d9d |
Group: Development/Languages
|
|
|
eee8d9d |
# Most files are LGPLv2.1+, but gapi*.pl files are GPLv2
|
|
|
3ca905c |
License: LGPLv2+ and GPLv2
|
|
|
eee8d9d |
Requires: %{name} = %{version}-%{release}
|
|
|
eee8d9d |
Requires: perl-XML-LibXML
|
|
|
eee8d9d |
|
|
|
eee8d9d |
%description vapigen
|
|
|
eee8d9d |
Tools to generate Vala API bindings from existing C libraries, allowing access
|
|
|
eee8d9d |
from Vala programs.
|
|
|
eee8d9d |
|
|
|
30c0323 |
|
|
|
30c0323 |
%prep
|
|
|
30c0323 |
%setup -q
|
|
|
30c0323 |
|
|
|
30c0323 |
|
|
|
30c0323 |
%build
|
|
|
6b7c0dc |
%configure --enable-vapigen
|
|
|
30c0323 |
# Don't use rpath!
|
|
|
30c0323 |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
30c0323 |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
30c0323 |
make %{?_smp_mflags}
|
|
|
30c0323 |
|
|
|
30c0323 |
|
|
|
30c0323 |
%install
|
|
|
30c0323 |
rm -rf $RPM_BUILD_ROOT
|
|
|
30c0323 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
30c0323 |
rm $RPM_BUILD_ROOT%{_libdir}/libvala.la
|
|
|
30c0323 |
|
|
|
30c0323 |
|
|
|
30c0323 |
%clean
|
|
|
30c0323 |
rm -rf $RPM_BUILD_ROOT
|
|
|
30c0323 |
|
|
|
30c0323 |
%post -p /sbin/ldconfig
|
|
|
30c0323 |
|
|
|
30c0323 |
%postun -p /sbin/ldconfig
|
|
|
30c0323 |
|
|
|
30c0323 |
%files
|
|
|
30c0323 |
%defattr(-,root,root,-)
|
|
|
30c0323 |
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
|
|
30c0323 |
%{_bindir}/valac
|
|
|
30c0323 |
%{_datadir}/vala
|
|
|
30c0323 |
%{_libdir}/libvala.so.*
|
|
|
539aa0b |
%{_mandir}/*/*
|
|
|
30c0323 |
|
|
|
30c0323 |
%files devel
|
|
|
30c0323 |
%defattr(-,root,root,-)
|
|
|
30c0323 |
%{_includedir}/vala-1.0
|
|
|
30c0323 |
%{_libdir}/libvala.so
|
|
|
30c0323 |
%{_libdir}/pkgconfig/vala-1.0.pc
|
|
|
30c0323 |
|
|
|
eee8d9d |
%files vapigen
|
|
|
eee8d9d |
%defattr(-,root,root,-)
|
|
|
3ca905c |
%{_bindir}/*gen
|
|
|
eee8d9d |
%{_libdir}/vala
|
|
|
eee8d9d |
|
|
|
30c0323 |
|
|
|
30c0323 |
|
|
|
30c0323 |
%changelog
|
|
|
eee8d9d |
* Sat Sep 8 2007 Michel Salim <michel.sylvan@gmail.com> - 0.1.3-4
|
|
|
eee8d9d |
- Split -vapigen subpackage. It is functionally self-contained and the license
|
|
|
eee8d9d |
is more restricted
|
|
|
eee8d9d |
- Updated license declarations
|
|
|
eee8d9d |
|
|
|
a1e8301 |
* Wed Sep 5 2007 Michel Salim <michel.sylvan@gmail.com> - 0.1.3-3
|
|
|
a1e8301 |
- Licensing and URL updates
|
|
|
a1e8301 |
|
|
|
6b7c0dc |
* Tue Sep 4 2007 Michel Salim <michel.sylvan@gmail.com> - 0.1.3-2
|
|
|
6b7c0dc |
- Enable binding generation tools
|
|
|
6b7c0dc |
|
|
|
539aa0b |
* Sun Sep 2 2007 Michel Salim <michel.sylvan@gmail.com> - 0.1.3-1
|
|
|
539aa0b |
- Update to 0.1.3
|
|
|
539aa0b |
|
|
|
6de7dc5 |
* Sun Mar 25 2007 Michel Salim <michel.salim@gmail.com> - 0.0.8-1
|
|
|
6de7dc5 |
- Update to 0.0.8
|
|
|
6de7dc5 |
|
|
|
0204e65 |
* Wed Mar 7 2007 Michel Salim <michel.salim@gmail.com> - 0.0.7-1
|
|
|
0204e65 |
- Update to 0.0.7
|
|
|
0204e65 |
|
|
|
b7e0735 |
* Wed Feb 28 2007 Michel Salim <michel.salim@gmail.com> - 0.0.6-1
|
|
|
b7e0735 |
- Update to 0.0.6
|
|
|
b7e0735 |
|
|
|
30c0323 |
* Mon Nov 6 2006 Michel Salim <michel.salim@gmail.com> - 0.0.5-1
|
|
|
30c0323 |
- Initial package
|