babeltrace/babeltrace.spec

346 lines
12 KiB
RPMSpec
Raw Permalink Normal View History

2013-01-17 22:19:42 +00:00
Name: babeltrace
2022-11-02 20:07:17 +00:00
Version: 1.5.11
Release: 9%{?dist}
2015-07-19 11:51:37 +00:00
Summary: Trace Viewer and Converter, mainly for the Common Trace Format
Update missing SPDX licenses According to Fedora Licensing Guidelines, the License: field should now "[enumerate] all licenses covering any code or other material contained in the corresponding binary RPM." Furthermore, "no further analysis as to the 'effective' license should be done." This list of licenses need not include files which "do not end up being compiled or otherwise included in the binary package. Common examples of this are Autoconf scripts and non-bundled test files." Fossology lists the following licenses for this package: 1. MIT Used throughout. Keep. 2. LicenseRef-scancode-fsf-unlimited-no-warranty Makefile.in's and aclocal.m4. Omit. 3. GPL-2.0-only Used in tests/. Omit. 4. GPL-2.0-or-later Used in m4/ and config/. Omit. 5. GPL-3.0-or-later Used in conifg/, m4/, tests/, and the bison-generated parser in formats/ctf/metadata/ctf-parser.[ch]. Keep. [See Bison-exception-2.2 below.] 6. LicenseRef-scancode-autoconf-simple-exception-2.0 Used in aclocal.m4 and config/. Omit. 7. LicenseRef-scancode-autoconf-macro-exception Used only in m4/. Omit. 8. FSFULLR Used in m4/ and aclocal.m4. Omit. 9. FSFAP Used only in m4/. Omit. 10. LicenseRef-scancode-free-unknown In bindings/python/setup.py.in: false identification. Clearly MIT. In config/. Omit. 11. Libtool-exception Used in config/, m4/, and configure. Omit. 12. LGPL-2.1-only From include/babeltrace/list.h. Keep. 13. GPL-1.0-or-later From tests/bin/*/*.in: [False identification.] Omit. 14. LicenseRef-scancode-autoconf-simple-exception Used only in config/. Omit. 15. FSFUL Used in m4/ and configure. Omit. 16. Bison-exception-2.2 See #5. Keep. 17. BSD-4-Clause-UC From */crc32.[ch]. Keep. 18. BSD-2-Clause From tests/utils/tap. Omit. 19. X11 From config/install-sh. Omit. 20. LicenseRef-scancode-public-domain From config/install-sh. Omit. 21. LGPL-2.0-only From tests/ctf-traces/suceed/*/dummystream. Omit. AND together all the keeps EXCEPT Bison-exception-2.2/GPL-3.0-or-later. OR those. [I am not even going to pretend that this is absolutely accurate, but it is closer to the reality of it.]
2023-05-30 18:19:26 +00:00
License: MIT AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LGPL-2.1-only AND BSD-4-Clause-UC
2016-06-21 19:01:02 +00:00
URL: https://www.efficios.com/babeltrace
Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
2019-07-24 21:55:44 +00:00
Source1: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2.asc
# gpg2 --export --export-options export-minimal 7F49314A26E0DE78427680E05F1B2A0789F12B11 > gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
Source2: gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg
2022-11-02 20:07:17 +00:00
Patch0: babeltrace-getaddrinfo.patch
2015-07-19 11:51:37 +00:00
2015-07-29 03:36:16 +00:00
BuildRequires: bison >= 2.4
BuildRequires: flex >= 2.5.35
BuildRequires: glib2-devel >= 2.22.0
2015-07-19 11:51:37 +00:00
BuildRequires: libuuid-devel
2015-07-29 03:36:16 +00:00
BuildRequires: popt-devel >= 1.13
BuildRequires: python3-devel
2022-11-02 20:07:17 +00:00
BuildRequires: python3-setuptools
2015-07-29 03:36:16 +00:00
BuildRequires: swig >= 2.0
2016-06-21 19:01:02 +00:00
BuildRequires: elfutils-devel >= 0.154
2016-06-22 15:47:08 +00:00
BuildRequires: autoconf automake libtool
2019-07-24 21:55:44 +00:00
BuildRequires: gnupg2
2022-11-02 20:07:17 +00:00
BuildRequires: make
2019-07-24 21:55:44 +00:00
2013-01-17 22:19:42 +00:00
Requires: lib%{name}%{?_isa} = %{version}-%{release}
%description
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
The main format expected to be converted to/from is the Common Trace
Format (CTF). See http://www.efficios.com/ctf.
%package -n lib%{name}
Summary: Common Trace Format Babel Tower
%description -n lib%{name}
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
%package -n lib%{name}-devel
Summary: Common Trace Format Babel Tower
Requires: lib%{name}%{?_isa} = %{version}-%{release} glib2-devel
%description -n lib%{name}-devel
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
2015-07-29 03:36:16 +00:00
%package -n python3-%{name}
Summary: Common Trace Format Babel Tower
Requires: lib%{name}%{?_isa} = %{version}-%{release}
%description -n python3-%{name}
This project provides trace read and write libraries, as well as a trace
converter. A plugin can be created for any trace format to allow its conversion
to/from another trace format.
2013-01-17 22:19:42 +00:00
%prep
2019-07-24 21:55:44 +00:00
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
2020-01-16 21:37:19 +00:00
%autosetup -p1
2013-01-17 22:19:42 +00:00
%build
2016-06-22 15:47:08 +00:00
# Reinitialize libtool with the fedora version to remove Rpath
autoreconf -vif
2017-03-03 14:24:07 +00:00
export PYTHON=%{__python3}
export PYTHON_CONFIG=%{__python3}-config
2015-07-29 03:36:16 +00:00
%configure --disable-static --enable-python-bindings
2013-01-17 22:19:42 +00:00
make %{?_smp_mflags} V=1
%check
make check
%install
make DESTDIR=%{buildroot} install
2015-07-19 11:51:37 +00:00
find %{buildroot} -type f -name "*.la" -delete
2015-07-29 03:36:16 +00:00
# Clean installed doc
rm -f %{buildroot}/%{_pkgdocdir}/API.txt
rm -f %{buildroot}/%{_pkgdocdir}/LICENSE
rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt
rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt
rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt
2013-01-17 22:19:42 +00:00
%ldconfig_scriptlets -n lib%{name}
2013-01-17 22:19:42 +00:00
%files
2015-07-19 11:51:37 +00:00
%doc ChangeLog
2015-07-29 03:36:16 +00:00
%doc doc/lttng-live.txt
2013-01-17 22:19:42 +00:00
%{_bindir}/%{name}*
%{_mandir}/man1/*.1*
%files -n lib%{name}
2015-07-29 03:36:16 +00:00
%doc doc/API.txt
%doc std-ext-lib.txt
2015-07-19 11:51:37 +00:00
%{!?_licensedir:%global license %%doc}
%license LICENSE gpl-2.0.txt mit-license.txt
2013-01-17 22:19:42 +00:00
%{_libdir}/*.so.*
%files -n lib%{name}-devel
%{_prefix}/include/*
%{_libdir}/*.so
2013-02-26 22:29:01 +00:00
%{_libdir}/pkgconfig/babeltrace.pc
%{_libdir}/pkgconfig/babeltrace-ctf.pc
2013-01-17 22:19:42 +00:00
2015-07-29 03:36:16 +00:00
%files -n python3-%{name}
%{python3_sitearch}/babeltrace
2017-08-09 21:29:54 +00:00
%{python3_sitearch}/babeltrace*.egg-info
2015-07-29 03:36:16 +00:00
2013-01-17 22:19:42 +00:00
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.5.11-9
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.5.11-8
- Bump release for June 2024 mass rebuild
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-06-13 18:31:58 +00:00
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.5.11-4
- Rebuilt for Python 3.12
Update missing SPDX licenses According to Fedora Licensing Guidelines, the License: field should now "[enumerate] all licenses covering any code or other material contained in the corresponding binary RPM." Furthermore, "no further analysis as to the 'effective' license should be done." This list of licenses need not include files which "do not end up being compiled or otherwise included in the binary package. Common examples of this are Autoconf scripts and non-bundled test files." Fossology lists the following licenses for this package: 1. MIT Used throughout. Keep. 2. LicenseRef-scancode-fsf-unlimited-no-warranty Makefile.in's and aclocal.m4. Omit. 3. GPL-2.0-only Used in tests/. Omit. 4. GPL-2.0-or-later Used in m4/ and config/. Omit. 5. GPL-3.0-or-later Used in conifg/, m4/, tests/, and the bison-generated parser in formats/ctf/metadata/ctf-parser.[ch]. Keep. [See Bison-exception-2.2 below.] 6. LicenseRef-scancode-autoconf-simple-exception-2.0 Used in aclocal.m4 and config/. Omit. 7. LicenseRef-scancode-autoconf-macro-exception Used only in m4/. Omit. 8. FSFULLR Used in m4/ and aclocal.m4. Omit. 9. FSFAP Used only in m4/. Omit. 10. LicenseRef-scancode-free-unknown In bindings/python/setup.py.in: false identification. Clearly MIT. In config/. Omit. 11. Libtool-exception Used in config/, m4/, and configure. Omit. 12. LGPL-2.1-only From include/babeltrace/list.h. Keep. 13. GPL-1.0-or-later From tests/bin/*/*.in: [False identification.] Omit. 14. LicenseRef-scancode-autoconf-simple-exception Used only in config/. Omit. 15. FSFUL Used in m4/ and configure. Omit. 16. Bison-exception-2.2 See #5. Keep. 17. BSD-4-Clause-UC From */crc32.[ch]. Keep. 18. BSD-2-Clause From tests/utils/tap. Omit. 19. X11 From config/install-sh. Omit. 20. LicenseRef-scancode-public-domain From config/install-sh. Omit. 21. LGPL-2.0-only From tests/ctf-traces/suceed/*/dummystream. Omit. AND together all the keeps EXCEPT Bison-exception-2.2/GPL-3.0-or-later. OR those. [I am not even going to pretend that this is absolutely accurate, but it is closer to the reality of it.]
2023-05-30 18:19:26 +00:00
* Mon May 30 2023 Keith Seitz <keiths@redhat.com>
- Update license expression.
2023-05-08 20:30:44 +00:00
* Mon May 08 2023 Michael Jeanson <mjeanson@efficios.com> - 1.5.11-3
- migrated to SPDX license
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-11-02 20:07:17 +00:00
* Wed Nov 02 2022 Michael Jeanson <mjeanson@efficios.com> - 1.5.11-1
- New upstream release
- Drop patches merged upstream
- Add builddep on python3-setuptools for Python 3.12+
* Fri Sep 16 2022 Keith Seitz - 1.5.8-13
- Add use-after-free patch for popt-1.19 update.
(Keith Seitz, RHBZ 2126067)
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-13 12:57:28 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5.8-11
- Rebuilt for Python 3.11
* Wed Mar 16 2022 Keith Seitz <keiths@redhat.com> - 1.5.8-10
- Use getaddrinfo instead of gethostbyname.
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-04 18:00:03 +00:00
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5.8-7
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 16 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-5
- Remove workaround for 1890813 now that binutils is fixed.
* Mon Oct 26 2020 Keith Seitz <keiths@redhat.com> - 1.5.8-4
- Workaround __openat_missing_mode compiler error.
(Keith Seitz, RH BZ 1890813)
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-05-26 00:41:21 +00:00
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.8-2
- Rebuilt for Python 3.9
* Wed Feb 12 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.8-1
2020-02-12 19:54:47 +00:00
- New upstream release
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-16 21:37:19 +00:00
* Thu Jan 16 2020 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-5
- Add Python 3.9 patch
2019-10-03 11:50:51 +00:00
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
2019-08-19 08:10:32 +00:00
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.7-3
- Rebuilt for Python 3.8
2019-07-24 21:55:44 +00:00
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-2
- Add GPG source file verification
2019-07-24 20:10:15 +00:00
* Wed Jul 24 2019 Michael Jeanson <mjeanson@efficios.com> - 1.5.7-1
- New upstream release
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-07-24 19:49:44 +00:00
* Tue Jul 24 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.6-1
- New upstream release
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-19 08:40:11 +00:00
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.5-2
- Rebuilt for Python 3.7
2018-03-27 19:04:04 +00:00
* Tue Mar 27 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.5-1
- New upstream release
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 1.5.4-2
- Fix directory ownership in python3 subpackage
2018-02-13 17:16:01 +00:00
* Tue Feb 13 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.4-1
- New upstream release
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-08-09 21:29:54 +00:00
* Wed Aug 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.3-1
- New upstream release
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-03-03 16:45:28 +00:00
* Fri Mar 03 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-2
- Revert python3 macro changes
2017-03-01 19:33:34 +00:00
* Wed Mar 01 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-1
- New upstream release
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-09 20:01:57 +00:00
* Mon Jan 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.1-1
- New upstream release
2016-12-19 17:20:36 +00:00
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
- Rebuild for Python 3.6
2016-11-30 23:10:57 +00:00
* Wed Nov 30 2016 Michael Jeanson <mjeanson@efficios.com> - 1.5.0-1
- New upstream release
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-06-22 15:47:08 +00:00
* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-2
- Re-add rpath removing
2016-06-21 19:01:02 +00:00
* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-1
- New upstream release
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
2015-07-29 03:36:16 +00:00
* Tue Jul 28 2015 Michael Jeanson <mjeanson@gmail.com> - 1.2.4-2
- Added python3 bindings module
2015-07-19 12:14:34 +00:00
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.4.1
- Update to 1.2.4
2015-07-19 11:51:37 +00:00
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-5
- Fix FTBFS, use %%license
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-03-28 05:36:21 +00:00
* Thu Mar 27 2014 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.2.1-1
- New upstream release
* Sat Mar 01 2014 Suchakra Sharma <suchakra@fedoraproject.org> - 1.2.0-1
- New upstream release
- Popt patch for babeltrace.pc.in removed. Its fixed in Fedora now
- Add new file (babeltrace-ctf.pc)
* Mon Aug 05 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-3
- Remove reference to versionned docdir (#992011)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-22 18:43:00 +00:00
* Mon Jul 22 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-1
- New upstream bugfix release
2013-05-28 19:09:20 +00:00
* Tue May 28 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.0-1
- New upstream release
- Patch babeltrace.pc to not depends on popt.pc, as it does not exist in Fedora
2013-02-26 22:29:01 +00:00
* Tue Feb 26 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.3-1
- New upstream release
- Add pkg-config file to devel package (#913895)
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-01-18 05:56:12 +00:00
* Fri Jan 18 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.2-1
- New upstream release
2013-01-17 22:19:42 +00:00
* Tue Jan 15 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-3
- Change documentation directory to proper versionned one.
* Mon Jan 14 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-2
- Use autoreconf rpath fix because the sed one was breaking the make check
- Use correct tar file version
- Package documentations in the right packages
* Mon Oct 29 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-1
- New upstream release
* Tue Oct 02 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc5
- New upstream release candidate
* Thu Jul 05 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc4
- New package, inspired by the one from OpenSuse