upgrade to 0.56
This commit is contained in:
parent
f4ac262e9e
commit
2b7ee8db60
Binary file not shown.
BIN
vala-0.56.0.tar.xz
Normal file
BIN
vala-0.56.0.tar.xz
Normal file
Binary file not shown.
38
vala.spec
38
vala.spec
@ -1,18 +1,18 @@
|
|||||||
%global api_ver 0.50
|
%global api_ver 0.56
|
||||||
%global priority 90
|
%global priority 90
|
||||||
%global vala_binaries vala valac vala-gen-introspect vapigen
|
%global vala_binaries vala valac vala-gen-introspect vapigen
|
||||||
%global vala_manpages valac vala-gen-introspect vapigen
|
%global vala_manpages valac vala-gen-introspect vapigen
|
||||||
|
|
||||||
Name: vala
|
Name: vala
|
||||||
Version: 0.50.8
|
Version: 0.56.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: Compiler Using the GObject Type System
|
Summary: Compiler Using the GObject Type System
|
||||||
License: LGPLv2+ and BSD
|
License: LGPLv2+ and BSD
|
||||||
URL: https://wiki.gnome.org/Projects/Vala
|
URL: https://wiki.gnome.org/Projects/Vala
|
||||||
Source0: https://download.gnome.org/sources/vala/0.50/vala-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/vala/0.55/vala-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: flex bison glib2-devel gobject-introspection-devel
|
BuildRequires: flex bison glib2-devel gobject-introspection-devel
|
||||||
BuildRequires: graphviz-devel libxslt dbus-x11
|
BuildRequires: graphviz-devel libxslt dbus-x11 make
|
||||||
BuildRequires: dbus-x11
|
BuildRequires: dbus-x11
|
||||||
Requires(pre): %{_sbindir}/alternatives
|
Requires(pre): %{_sbindir}/alternatives
|
||||||
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
|
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
|
||||||
@ -46,30 +46,21 @@ Help documents for vala.
|
|||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
|
sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT%{_datadir}/vala/vapi
|
mv %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}{,-`uname -m`}
|
||||||
%delete_la
|
echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$@"' > \
|
||||||
|
%{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}
|
||||||
|
chmod +x %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}
|
||||||
|
|
||||||
|
%delete_la_and_a
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%pre
|
|
||||||
if [ $1 -gt 1 ] ; then
|
|
||||||
for f in %{vala_binaries};
|
|
||||||
do
|
|
||||||
%{_sbindir}/alternatives --remove-all $f >& /dev/null || :
|
|
||||||
done
|
|
||||||
for f in %{vala_manpages};
|
|
||||||
|
|
||||||
do
|
|
||||||
%{_sbindir}/alternatives --remove-all $f.1.gz >& /dev/null || :
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/vala
|
%{_bindir}/vala
|
||||||
@ -77,7 +68,7 @@ fi
|
|||||||
%{_bindir}/valac
|
%{_bindir}/valac
|
||||||
%{_bindir}/valac-%{api_ver}
|
%{_bindir}/valac-%{api_ver}
|
||||||
%{_bindir}/vala-gen-introspect
|
%{_bindir}/vala-gen-introspect
|
||||||
%{_bindir}/vala-gen-introspect-%{api_ver}
|
%{_bindir}/vala-gen-introspect-%{api_ver}*
|
||||||
%{_bindir}/vapigen
|
%{_bindir}/vapigen
|
||||||
%{_bindir}/vapigen-%{api_ver}
|
%{_bindir}/vapigen-%{api_ver}
|
||||||
%{_libdir}/pkgconfig/vapigen*.pc
|
%{_libdir}/pkgconfig/vapigen*.pc
|
||||||
@ -114,6 +105,9 @@ fi
|
|||||||
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 19 2022 dillon chen <dillon.chen@gmail.com> - 0.56.0-1
|
||||||
|
- Update to 0.56.0
|
||||||
|
|
||||||
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.50.8-3
|
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.50.8-3
|
||||||
- Add missing Provides: vala-tools
|
- Add missing Provides: vala-tools
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user