Compare commits
10 Commits
30abbad1f7
...
49d99e4f81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49d99e4f81 | ||
|
|
eac37bd4f2 | ||
|
|
76cc5c9339 | ||
|
|
dfb23524a4 | ||
|
|
f4ac262e9e | ||
|
|
3c55936f4b | ||
|
|
818484d88d | ||
|
|
5e01f5fd34 | ||
|
|
a09e7014f8 | ||
|
|
c05c8fdcc3 |
Binary file not shown.
BIN
vala-0.50.8.tar.xz
Normal file
BIN
vala-0.50.8.tar.xz
Normal file
Binary file not shown.
56
vala.spec
56
vala.spec
@ -1,38 +1,34 @@
|
||||
%global api_ver 0.48
|
||||
%global api_ver 0.50
|
||||
%global priority 90
|
||||
%global vala_binaries vala valac vala-gen-introspect vapigen
|
||||
%global vala_manpages valac vala-gen-introspect vapigen
|
||||
|
||||
Name: vala
|
||||
Version: 0.48.6
|
||||
Release: 2
|
||||
Version: 0.50.8
|
||||
Release: 4
|
||||
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.48/vala-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/vala/0.50/vala-%{version}.tar.xz
|
||||
|
||||
BuildRequires: flex bison glib2-devel gobject-introspection-devel
|
||||
BuildRequires: graphviz-devel libxslt dbus-x11
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: dbus-x11 chrpath
|
||||
Requires(pre): %{_sbindir}/alternatives
|
||||
Requires: libvala = %{version}-%{release} gobject-introspection-devel
|
||||
Requires: vala-devel = %{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} vala(api) = %{api_ver}
|
||||
Provides: valadoc = %{version}-%{release}
|
||||
Obsoletes: valadoc < %{version}-%{release}
|
||||
Provides: vala-tools = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Compiler Using the GObject Type System.
|
||||
|
||||
%package devel
|
||||
Summary: Library and and head file for vala compiler
|
||||
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}
|
||||
Provides: vala-devel = %{version}-%{release}
|
||||
Obsoletes: vala-devel < 0.43
|
||||
|
||||
%description devel
|
||||
Library and and head file for vala compiler.
|
||||
@ -40,8 +36,6 @@ 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.
|
||||
@ -60,6 +54,14 @@ 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
|
||||
|
||||
@ -76,6 +78,12 @@ if [ $1 -gt 1 ] ; then
|
||||
done
|
||||
fi
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_bindir}/vala
|
||||
@ -97,6 +105,7 @@ 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
|
||||
@ -120,6 +129,21 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user