1 Star 0 Fork 15

wang_yue111/vala

forked from src-openEuler/vala 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vala.spec 3.61 KB
一键复制 编辑 原始数据 按行查看 历史
jackie_wu 提交于 2020-06-04 16:45 . upgrade
%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.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.48/vala-%{version}.tar.xz
BuildRequires: flex bison glib2-devel gobject-introspection-devel
BuildRequires: graphviz-devel libxslt dbus-x11
BuildRequires: dbus-x11
Requires(pre): %{_sbindir}/alternatives
Requires: libvala = %{version}-%{release} gobject-introspection-devel
Requires: %{name} = %{version}-%{release}
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}
%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}
%description devel
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.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
%make_build
%install
%make_install
install -d $RPM_BUILD_ROOT%{_datadir}/vala/vapi
%delete_la
%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
%license COPYING
%{_bindir}/vala
%{_bindir}/vala-%{api_ver}
%{_bindir}/valac
%{_bindir}/valac-%{api_ver}
%{_bindir}/vala-gen-introspect
%{_bindir}/vala-gen-introspect-%{api_ver}
%{_bindir}/vapigen
%{_bindir}/vapigen-%{api_ver}
%{_libdir}/pkgconfig/vapigen*.pc
%{_libdir}/vala-%{api_ver}/
%{_datadir}/aclocal/vala.m4
%{_datadir}/aclocal/vapigen.m4
%{_datadir}/vala/
%{_datadir}/vala-%{api_ver}/
%{_bindir}/valadoc
%{_bindir}/valadoc-%{api_ver}
%{_libdir}/libvaladoc-%{api_ver}.so.0*
%{_libdir}/valadoc-%{api_ver}/
%{_datadir}/valadoc-%{api_ver}/
%files devel
%license COPYING
%{_libdir}/libvala-%{api_ver}.so.*
%{_includedir}/vala-%{api_ver}
%{_libdir}/libvala-%{api_ver}.so
%{_libdir}/pkgconfig/libvala-%{api_ver}.pc
%{_includedir}/valadoc-%{api_ver}/
%{_libdir}/libvaladoc-%{api_ver}.so
%{_libdir}/pkgconfig/valadoc-%{api_ver}.pc
%files help
%{_mandir}/man1/valac.1*
%{_mandir}/man1/valac-%{api_ver}.1*
%{_mandir}/man1/vala-gen-introspect.1*
%{_mandir}/man1/vala-gen-introspect-%{api_ver}.1*
%{_mandir}/man1/vapigen.1*
%{_mandir}/man1/vapigen-%{api_ver}.1*
%{_mandir}/man1/valadoc-%{api_ver}.1*
%{_mandir}/man1/valadoc.1*
%doc %{_datadir}/devhelp/books/vala-%{api_ver}
%changelog
* Wed Jun 3 2020 wutao <[email protected]> - 0.48.6-2
- Upagrade to 0.48.6-2
* Mon Dec 9 2019 openEuler Buildteam <[email protected]> - 0.42.2-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang_yue111/vala.git
[email protected]:wang_yue111/vala.git
wang_yue111
vala
vala
master

搜索帮助