7 Star 0 Fork 16

src-openEuler/babeltrace
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
babeltrace.spec 2.80 KB
一键复制 编辑 原始数据 按行查看 历史
LeoFang 提交于 2020-08-20 18:53 +08:00 . upgrade babeltrace to 1.5.8
Name: babeltrace
Version: 1.5.8
Release: 1
Summary: Common Trace Format Babel Tower
License: MIT and GPLv2
URL: https://www.efficios.com/babeltrace
Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: bison >= 2.4 flex >= 2.5.35 glib2-devel >= 2.22.0
BuildRequires: popt-devel >= 1.13 swig >= 2.0 elfutils-devel >= 0.154
BuildRequires: libuuid-devel python3-devel libtool git gcc perl-Test-Harness
Provides: lib%{name}
Obsoletes: lib%{name}
%description
Babeltrace is a trace format converter. It is able to read and write different trace
formats, such as the Common Trace Format (CTF). Babeltrace also acts as the CTF
reference implementation.
%package -n lib%{name}-devel
Summary: Common Trace Format Babel Tower
Requires: %{name} = %{version}-%{release} glib2-devel
%description -n lib%{name}-devel
Babeltrace is a trace format converter. It is able to read and write different trace
formats, such as the Common Trace Format (CTF). Babeltrace also acts as the CTF
reference implementation.
%package -n python3-%{name}
Summary: Common Trace Format Babel Tower
Requires: %{name} = %{version}-%{release}
%description -n python3-%{name}
Babeltrace is a trace format converter. It is able to read and write different trace
formats, such as the Common Trace Format (CTF). Babeltrace also acts as the CTF
reference implementation.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
export PYTHON=%{__python3}
export PYTHON_CONFIG=%{__python3}-config
%configure --disable-static --enable-python-bindings
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
#Remove installed doc
rm %{buildroot}/%{_docdir}/%{name}/{LICENSE,API.txt,gpl-2.0.txt,mit-license.txt,std-ext-lib.txt}
%check
make check
%pre
%preun
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
%files
%doc ChangeLog doc/lttng-live.txt
%license LICENSE gpl-2.0.txt mit-license.txt
%{_bindir}/%{name}*
%{_libdir}/lib%{name}*.so.*
%files -n lib%{name}-devel
%{_includedir}/%{name}
%{_libdir}/lib%{name}*.so
%{_libdir}/pkgconfig/babeltrace.pc
%{_libdir}/pkgconfig/babeltrace-ctf.pc
%files -n python3-%{name}
%{python3_sitearch}/babeltrace
%{python3_sitearch}/babeltrace*.egg-info
%files help
%{_mandir}/man1/*.1.gz
%changelog
* Thu Aug 20 2020 SimpleUpdate Robot <tc@openeuler.org> - 1.5.8-1
- Upgrade to version 1.5.8
* Tue Aug 18 2020 chenyaqiang <chenyaqiang@huawei.com> - 1.5.6-5
- rebuild for package build
* Fri Feb 28 2020 chengquan<chengquan3@huawei.com> - 1.5.6-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix bug in spell check
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 1.5.6-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add help package
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.6-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/babeltrace.git
git@gitee.com:src-openeuler/babeltrace.git
src-openeuler
babeltrace
babeltrace
openEuler-20.03-LTS-SP3

搜索帮助