Compare commits

..

No commits in common. "23472d1e2cb55d31c75416acd0e1271528b60a29" and "9711af2d2b3cf21f181d0307171860a2d61b99c0" have entirely different histories.

4 changed files with 5 additions and 43 deletions

BIN
vala-0.56.0.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -4,16 +4,16 @@
%global vala_manpages valac vala-gen-introspect vapigen
Name: vala
Version: 0.56.14
Version: 0.56.0
Release: 1
Summary: Compiler Using the GObject Type System
License: LGPLv2+ and BSD
URL: https://wiki.gnome.org/Projects/Vala
Source0: https://download.gnome.org/sources/vala/0.56/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: graphviz-devel libxslt dbus-x11 make
BuildRequires: dbus-x11 chrpath
BuildRequires: dbus-x11
Requires(pre): %{_sbindir}/alternatives
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
Requires: %{name} = %{version}-%{release}
@ -21,9 +21,6 @@ Provides: vala(api) = %{api_ver}
Obsoletes: vala-tools < 0.34.0
Conflicts: vala-tools < 0.34.0
Provides: vala-tools = %{version}-%{release}
Provides: valadoc = %{version}-%{release}
Obsoletes: vala-tools < %{version}-%{release}
Conflicts: vala-tools < %{version}-%{release}
%description
Compiler Using the GObject Type System.
@ -49,23 +46,10 @@ Help documents for vala.
%build
%configure
sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
%make_build
make %{?_smp_mflags}
%install
%make_install
chrpath -d %{buildroot}%{_bindir}/vala
chrpath -d %{buildroot}%{_bindir}/vala-0.56
chrpath -d %{buildroot}%{_bindir}/valac
chrpath -d %{buildroot}%{_bindir}/valac-0.56
chrpath -d %{buildroot}%{_bindir}/valadoc
chrpath -d %{buildroot}%{_bindir}/valadoc-0.56
chrpath -d %{buildroot}%{_bindir}/vapigen
chrpath -d %{buildroot}%{_bindir}/vapigen-0.56
chrpath -d %{buildroot}%{_libdir}/vala-%{api_ver}/*.so
chrpath -d %{buildroot}%{_libdir}/*.so.*
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/%{name}-%{api_ver}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
mv %{buildroot}%{_bindir}/vala-gen-introspect-%{api_ver}{,-`uname -m`}
echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$@"' > \
@ -77,12 +61,6 @@ echo -e '#!/bin/sh\nexec %{_bindir}/vala-gen-introspect-%{api_ver}-`uname -m` "$
%check
make check
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%license COPYING
%{_bindir}/vala
@ -104,7 +82,6 @@ make check
%{_libdir}/libvaladoc-%{api_ver}.so.0*
%{_libdir}/valadoc-%{api_ver}/
%{_datadir}/valadoc-%{api_ver}/
%config(noreplace) /etc/ld.so.conf.d/*
%files devel
%license COPYING
@ -128,21 +105,6 @@ make check
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
%changelog
* Mon Nov 20 2023 lwg <liweiganga@uniontech.com> - 0.56.14-1
- update to version 0.56.14
* Sat Mar 18 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-3
- fix issue : I6O4ZM
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-2
- remove rpath
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.3-1
- Upgrade to 0.56.3
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.56.1-1
- Upgrade to 0.56.1
* Tue Apr 19 2022 dillon chen <dillon.chen@gmail.com> - 0.56.0-1
- Update to 0.56.0

View File

@ -1,4 +1,4 @@
version_control: github.gnome
src_repo: vala
tag_prefix: VALA_
separator: _
seperator: _