Compare commits

..

No commits in common. "49d99e4f81405b87e95d389679a1498e0fd054a9" and "30abbad1f718c2f87dfae029a22e0ad45716593d" have entirely different histories.

3 changed files with 16 additions and 40 deletions

BIN
vala-0.48.6.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,34 +1,38 @@
%global api_ver 0.50
%global api_ver 0.48
%global priority 90
%global vala_binaries vala valac vala-gen-introspect vapigen
%global vala_manpages valac vala-gen-introspect vapigen
Name: vala
Version: 0.50.8
Release: 4
Version: 0.48.6
Release: 2
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.50/vala-%{version}.tar.xz
Source0: https://download.gnome.org/sources/vala/0.48/vala-%{version}.tar.xz
BuildRequires: flex bison glib2-devel gobject-introspection-devel
BuildRequires: graphviz-devel libxslt dbus-x11
BuildRequires: dbus-x11 chrpath
BuildRequires: dbus-x11
Requires(pre): %{_sbindir}/alternatives
Requires: vala-devel = %{version}-%{release} gobject-introspection-devel
Requires: libvala = %{version}-%{release} gobject-introspection-devel
Requires: %{name} = %{version}-%{release}
Provides: vala(api) = %{api_ver}
Obsoletes: vala-tools < 0.34.0
Conflicts: vala-tools < 0.34.0
Provides: vala-tools = %{version}-%{release}
Provides: vala-tools = %{version}-%{release} vala(api) = %{api_ver}
Provides: valadoc = %{version}-%{release}
Obsoletes: valadoc < %{version}-%{release}
%description
Compiler Using the GObject Type System.
%package devel
Summary: Library and and head file for vala compiler
Provides: vala-devel = %{version}-%{release}
Obsoletes: vala-devel < 0.43
Requires: libvala = %{version}-%{release} valadoc = %{version}-%{release}
Provides: vala-devel = %{version}-%{release} libvala = %{version}-%{release}
Provides: libvala-devel = %{version}-%{release} valadoc-devel = %{version}-%{release}
Obsoletes: vala-devel < 0.43 libvala = %{version}-%{release}
Obsoletes: libvala-devel = %{version}-%{release} valadoc-devel = %{version}-%{release}
%description devel
Library and and head file for vala compiler.
@ -36,6 +40,8 @@ Library and and head file for vala compiler.
%package help
Summary: Help documents for vala
Requires: %{name} = %{version}-%{release} devhelp
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Help documents for vala.
@ -54,14 +60,6 @@ sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
install -d $RPM_BUILD_ROOT%{_datadir}/vala/vapi
%delete_la
chrpath -d %{buildroot}/%{_bindir}/valadoc-0.50
chrpath -d %{buildroot}/%{_bindir}/valac-0.50
chrpath -d %{buildroot}/%{_libdir}/libvaladoc-0.50.so.0.0.0
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/%{name}-0.50" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%check
make check
@ -78,12 +76,6 @@ if [ $1 -gt 1 ] ; then
done
fi
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%license COPYING
%{_bindir}/vala
@ -105,7 +97,6 @@ fi
%{_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
@ -129,21 +120,6 @@ fi
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
%changelog
* Thu Sep 9 2021 caodongxia <caodongxia@huawei.com> - 0.50.8-4
- Remove rpath
* Thu Jun 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.50.8-3
- Add missing Provides: vala-tools
* Sun May 23 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.50.8-2
- Correct package depends
- Delete unnecessary and uncorrect Requires, Provides, Obsoletes, Conflicts
- Update Release to 2
* Wed May 19 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.50.8-1
- Upgrade to 0.50.8
- Update api_ver, Version, Release, Source0
* Wed Jun 3 2020 wutao <wutao61@huawei.com> - 0.48.6-2
- Upagrade to 0.48.6-2