Blame libtraceevent.spec

Zamir SUN 59ca74
# git tag
Zamir SUN 59ca74
#%%global commit 5dd505f3aba255c5fbc2a6dbed57fcba51b400f6
Zamir SUN 59ca74
#%%global commitdate 20201009
Zamir SUN 59ca74
#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
Zamir SUN 59ca74
Zamir SUN 59ca74
Name: libtraceevent
Zamir SUN 7ea75e
Version: 1.6.3
Zamir SUN 7ea75e
Release: 1%{?dist}
Zamir SUN 59ca74
License: LGPLv2+ and GPLv2+
Zamir SUN 59ca74
Summary: Library to parse raw trace event formats
Zamir SUN 59ca74
Zamir SUN 59ca74
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
Zamir SUN 59ca74
# If upstream does not provide tarballs, to generate:
Zamir SUN 59ca74
# git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
Zamir SUN 59ca74
# cd libtraceevent
Zamir SUN 59ca74
# git archive --prefix=libtraceevent-%%{version}/ -o libtraceevent-%%{version}.tar.gz %%{git_commit}
Zamir SUN 59ca74
#Source0: libtraceevent-%%{version}.tar.gz
Zamir SUN 59ca74
Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-%{version}.tar.gz
Zamir SUN 59ca74
BuildRequires:  gcc
Zamir SUN 59ca74
BuildRequires: xmlto
Zamir SUN 59ca74
BuildRequires: asciidoc
Zamir SUN 59ca74
Zamir SUN 59ca74
%global __provides_exclude_from ^%{_libdir}/traceevent/plugins
Zamir SUN 59ca74
Zamir SUN 59ca74
Zamir SUN 59ca74
%description
Zamir SUN 59ca74
libtraceevent is a library to parse raw trace event formats.
Zamir SUN 59ca74
Zamir SUN 59ca74
%package devel
Zamir SUN 59ca74
Summary: Development headers of %{name}
Zamir SUN 59ca74
Requires: %{name}%{_isa} = %{version}-%{release}
Zamir SUN 59ca74
Zamir SUN 59ca74
%description devel
Zamir SUN 59ca74
Development headers of %{name}-libs
Zamir SUN 59ca74
Zamir SUN 59ca74
%prep
Zamir SUN 59ca74
%setup -q
Zamir SUN 59ca74
Zamir SUN 59ca74
%build
Zamir SUN 59ca74
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
Zamir SUN 59ca74
%set_build_flags
Ziqian SUN(Zamir) 17c3a0
# Parallel build does not work
Ziqian SUN(Zamir) 17c3a0
make -O -j1 V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
Zamir SUN 59ca74
Zamir SUN 59ca74
%install
Zamir SUN 59ca74
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
Zamir SUN 59ca74
rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
Zamir SUN 59ca74
Zamir SUN 59ca74
%files
Zamir SUN 59ca74
%license LICENSES/LGPL-2.1
Zamir SUN 59ca74
%license LICENSES/GPL-2.0
Zamir SUN 59ca74
%{_libdir}/traceevent/
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so.%{version}
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so.1
Zamir SUN 59ca74
%{_mandir}/man3/tep_*.3.*
Zamir SUN 59ca74
%{_mandir}/man3/libtraceevent.3.*
Zamir SUN 59ca74
%{_mandir}/man3/trace_seq*.3.*
Zamir SUN 59ca74
%{_docdir}/%{name}-doc
Zamir SUN 59ca74
Zamir SUN 59ca74
%files devel
Zamir SUN 59ca74
%{_includedir}/traceevent/
Zamir SUN 59ca74
%{_libdir}/libtraceevent.so
Zamir SUN 59ca74
%{_libdir}/pkgconfig/libtraceevent.pc
Zamir SUN 59ca74
Zamir SUN 59ca74
%changelog
Zamir SUN 7ea75e
* Tue Oct 11 2022 Zamir SUN <sztsian@gmail.com> - 1.6.3-1
Zamir SUN 7ea75e
- Update to 1.6.3
Zamir SUN 7ea75e
Fedora Release Engineering 39a0eb
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
Fedora Release Engineering 39a0eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Fedora Release Engineering 39a0eb
Ziqian SUN(Zamir) 17c3a0
* Fri Apr 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-2
Ziqian SUN(Zamir) 17c3a0
- Disable parallel compile
Ziqian SUN(Zamir) 17c3a0
Ziqian SUN(Zamir) 17c3a0
* Thu Apr 14 2022 Zamir SUN <sztsian@gmail.com> - 1.5.3-1
Ziqian SUN(Zamir) e191a7
- Update to 1.5.3
Ziqian SUN(Zamir) e191a7
Ziqian SUN(Zamir) 17c3a0
* Tue Feb 15 2022 Zamir SUN <sztsian@gmail.com> - 1.5.0-1
Zamir SUN 5dc15c
- Update to 1.5.0
Zamir SUN 5dc15c
Fedora Release Engineering 1fb065
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
Fedora Release Engineering 1fb065
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Fedora Release Engineering 1fb065
Fedora Release Engineering 4a1149
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
Fedora Release Engineering 4a1149
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Fedora Release Engineering 4a1149
Justin M. Forbes 91e13d
* Mon Jun 07 2021 Justin Forbes <jforbes@fedoraproject.org>
Justin M. Forbes 91e13d
- Remove erroneus "Conflicts: perf" which broke perf.
Justin M. Forbes 91e13d
Zamir SUN 84693b
* Mon Apr 19 2021 Zamir SUN <sztsian@gmail.com> - 1.2.1-1
Zamir SUN 84693b
- Update to 1.2.1
Zamir SUN 84693b
Zamir SUN 59ca74
* Mon Feb 08 2021 Zamir SUN <sztsian@gmail.com> - 1.1.1-1
Zamir SUN 59ca74
- Update to 1.1.1
Zamir SUN 59ca74
Zamir SUN 59ca74
* Sat Oct 17 2020 Zamir SUN <sztsian@gmail.com> - 1.1.0-1
Zamir SUN 59ca74
- Update to 1.1.0
Zamir SUN 59ca74
Zamir SUN 59ca74
* Fri Oct 09 2020 Zamir SUN <sztsian@gmail.com> - 0-0.1.20201009git5dd505f
Zamir SUN 59ca74
- Initial libtraceevent
Zamir SUN 59ca74