Blame SPECS/babeltrace.spec

bd29ec
Name:           babeltrace
bd29ec
Version:        1.5.8
bd29ec
Release:        8%{?dist}
bd29ec
Summary:        Trace Viewer and Converter, mainly for the Common Trace Format
bd29ec
License:        MIT and GPLv2
bd29ec
URL:            https://www.efficios.com/babeltrace
bd29ec
Source0:        https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
bd29ec
Source1:        https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2.asc
bd29ec
# gpg2 --export --export-options export-minimal 7F49314A26E0DE78427680E05F1B2A0789F12B11 > gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
bd29ec
Source2:        gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
bd29ec
Patch0:         python39.patch
bd29ec
bd29ec
BuildRequires:  bison >= 2.4
bd29ec
BuildRequires:  flex >= 2.5.35
bd29ec
BuildRequires:  glib2-devel >= 2.22.0
bd29ec
BuildRequires:  libuuid-devel
bd29ec
BuildRequires:  popt-devel >= 1.13
bd29ec
BuildRequires:  python3-devel
bd29ec
BuildRequires:  swig >= 2.0
bd29ec
BuildRequires:  elfutils-devel >= 0.154
bd29ec
BuildRequires:  autoconf automake libtool
bd29ec
BuildRequires:  gnupg2
bd29ec
BuildRequires: make
bd29ec
bd29ec
Requires:       lib%{name}%{?_isa} = %{version}-%{release}
bd29ec
bd29ec
%description
bd29ec
This project provides trace read and write libraries, as well as a trace
bd29ec
converter. A plugin can be created for any trace format to allow its conversion
bd29ec
to/from another trace format.
bd29ec
bd29ec
The main format expected to be converted to/from is the Common Trace
bd29ec
Format (CTF). See http://www.efficios.com/ctf.
bd29ec
bd29ec
bd29ec
%package -n lib%{name}
bd29ec
Summary:        Common Trace Format Babel Tower
bd29ec
bd29ec
%description -n lib%{name}
bd29ec
This project provides trace read and write libraries, as well as a trace
bd29ec
converter. A plugin can be created for any trace format to allow its conversion
bd29ec
to/from another trace format.
bd29ec
bd29ec
bd29ec
%package -n lib%{name}-devel
bd29ec
Summary:        Common Trace Format Babel Tower
bd29ec
Requires:       lib%{name}%{?_isa} = %{version}-%{release} glib2-devel
bd29ec
bd29ec
%description -n lib%{name}-devel
bd29ec
This project provides trace read and write libraries, as well as a trace
bd29ec
converter. A plugin can be created for any trace format to allow its conversion
bd29ec
to/from another trace format.
bd29ec
bd29ec
bd29ec
%package -n python3-%{name}
bd29ec
Summary:        Common Trace Format Babel Tower
bd29ec
Requires:       lib%{name}%{?_isa} = %{version}-%{release}
bd29ec
bd29ec
%description -n python3-%{name}
bd29ec
This project provides trace read and write libraries, as well as a trace
bd29ec
converter. A plugin can be created for any trace format to allow its conversion
bd29ec
to/from another trace format.
bd29ec
bd29ec
bd29ec
%prep
bd29ec
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
bd29ec
%autosetup -p1
bd29ec
bd29ec
%build
bd29ec
# Reinitialize libtool with the fedora version to remove Rpath
bd29ec
autoreconf -vif
bd29ec
bd29ec
export PYTHON=%{__python3}
bd29ec
export PYTHON_CONFIG=%{__python3}-config
bd29ec
%configure --disable-static --enable-python-bindings
bd29ec
bd29ec
make %{?_smp_mflags} V=1
bd29ec
bd29ec
%check
bd29ec
make check
bd29ec
bd29ec
%install
bd29ec
make DESTDIR=%{buildroot} install
bd29ec
find %{buildroot} -type f -name "*.la" -delete
bd29ec
# Clean installed doc
bd29ec
rm -f %{buildroot}/%{_pkgdocdir}/API.txt
bd29ec
rm -f %{buildroot}/%{_pkgdocdir}/LICENSE
bd29ec
rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt
bd29ec
rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt
bd29ec
rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt
bd29ec
bd29ec
%ldconfig_scriptlets  -n lib%{name}
bd29ec
bd29ec
%files
bd29ec
%doc ChangeLog
bd29ec
%doc doc/lttng-live.txt
bd29ec
%{_bindir}/%{name}*
bd29ec
%{_mandir}/man1/*.1*
bd29ec
bd29ec
%files -n lib%{name}
bd29ec
%doc doc/API.txt
bd29ec
%doc std-ext-lib.txt
bd29ec
%{!?_licensedir:%global license %%doc}
bd29ec
%license LICENSE gpl-2.0.txt mit-license.txt
bd29ec
%{_libdir}/*.so.*
bd29ec
bd29ec
%files -n lib%{name}-devel
bd29ec
%{_prefix}/include/*
bd29ec
%{_libdir}/*.so
bd29ec
%{_libdir}/pkgconfig/babeltrace.pc
bd29ec
%{_libdir}/pkgconfig/babeltrace-ctf.pc
bd29ec
bd29ec
%files -n python3-%{name}
bd29ec
%{python3_sitearch}/babeltrace
bd29ec
%{python3_sitearch}/babeltrace*.egg-info
bd29ec
bd29ec
bd29ec
%changelog
bd29ec
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.8-8
bd29ec
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
bd29ec
  Related: rhbz#1991688
bd29ec
bd29ec
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.8-7
bd29ec
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
bd29ec
bd29ec
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-6
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
bd29ec
bd29ec
* Mon Nov 16 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-5
bd29ec
- Remove workaround for 1890813 now that binutils is fixed.
bd29ec
bd29ec
* Mon Oct 26 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-4
bd29ec
- Workaround __openat_missing_mode compiler error.
bd29ec
  (Keith Seitz, RH BZ 1890813)
bd29ec
bd29ec
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
bd29ec
bd29ec
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-2
bd29ec
- Rebuilt for Python 3.9
bd29ec
bd29ec
* Wed Feb 12 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.8-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.7-6
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bd29ec
bd29ec
* Thu Jan 16 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-5
bd29ec
- Add Python 3.9 patch
bd29ec
bd29ec
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-4
bd29ec
- Rebuilt for Python 3.8.0rc1 (#1748018)
bd29ec
bd29ec
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-3
bd29ec
- Rebuilt for Python 3.8
bd29ec
bd29ec
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-2
bd29ec
- Add GPG source file verification
bd29ec
bd29ec
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
bd29ec
bd29ec
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bd29ec
bd29ec
* Tue Jul 24 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.6-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
bd29ec
bd29ec
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
bd29ec
- Rebuilt for Python 3.7
bd29ec
bd29ec
* Tue Mar 27 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.5-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 1.5.4-2
bd29ec
- Fix directory ownership in python3 subpackage
bd29ec
bd29ec
* Tue Feb 13 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.4-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bd29ec
bd29ec
* Wed Aug 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.3-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bd29ec
bd29ec
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bd29ec
bd29ec
* Fri Mar 03 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-2
bd29ec
- Revert python3 macro changes
bd29ec
bd29ec
* Wed Mar 01 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bd29ec
bd29ec
* Mon Jan 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.1-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
bd29ec
- Rebuild for Python 3.6
bd29ec
bd29ec
* Wed Nov 30 2016 Michael Jeanson <mjeanson@efficios.com> - 1.5.0-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
bd29ec
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bd29ec
bd29ec
* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-2
bd29ec
- Re-add rpath removing
bd29ec
bd29ec
* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bd29ec
bd29ec
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
bd29ec
bd29ec
* Tue Jul 28 2015 Michael Jeanson <mjeanson@gmail.com> - 1.2.4-2
bd29ec
- Added python3 bindings module
bd29ec
bd29ec
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.4.1
bd29ec
- Update to 1.2.4
bd29ec
bd29ec
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-5
bd29ec
- Fix FTBFS, use %%license
bd29ec
bd29ec
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bd29ec
bd29ec
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bd29ec
bd29ec
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bd29ec
bd29ec
* Thu Mar 27 2014 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.2.1-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Sat Mar 01 2014 Suchakra Sharma <suchakra@fedoraproject.org> - 1.2.0-1
bd29ec
- New upstream release
bd29ec
- Popt patch for babeltrace.pc.in removed. Its fixed in Fedora now
bd29ec
- Add new file (babeltrace-ctf.pc)
bd29ec
bd29ec
* Mon Aug 05 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-3
bd29ec
- Remove reference to versionned docdir (#992011)
bd29ec
bd29ec
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bd29ec
bd29ec
* Mon Jul 22 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-1
bd29ec
- New upstream bugfix release
bd29ec
bd29ec
* Tue May 28 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.0-1
bd29ec
- New upstream release
bd29ec
- Patch babeltrace.pc to not depends on popt.pc, as it does not exist in Fedora
bd29ec
bd29ec
* Tue Feb 26 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.3-1
bd29ec
- New upstream release
bd29ec
- Add pkg-config file to devel package (#913895)
bd29ec
bd29ec
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
bd29ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bd29ec
bd29ec
* Fri Jan 18 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.2-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Tue Jan 15 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-3
bd29ec
- Change documentation directory to proper versionned one. 
bd29ec
bd29ec
* Mon Jan 14 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-2
bd29ec
- Use autoreconf rpath fix because the sed one was breaking the make check
bd29ec
- Use correct tar file version
bd29ec
- Package documentations in the right packages
bd29ec
bd29ec
* Mon Oct 29 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-1
bd29ec
- New upstream release
bd29ec
bd29ec
* Tue Oct 02 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc5
bd29ec
- New upstream release candidate
bd29ec
* Thu Jul 05 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc4
bd29ec
- New package, inspired by the one from OpenSuse 
bd29ec