diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84ad2da --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/babeltrace-1.5.4.tar.bz2 diff --git a/EMPTY b/EMPTY deleted file mode 100644 index 0519ecb..0000000 --- a/EMPTY +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/babeltrace.spec b/babeltrace.spec new file mode 100644 index 0000000..2726b6d --- /dev/null +++ b/babeltrace.spec @@ -0,0 +1,239 @@ +Name: babeltrace +Version: 1.5.4 +Release: 4%{?dist} +Summary: Trace Viewer and Converter, mainly for the Common Trace Format +License: MIT and GPLv2 +URL: https://www.efficios.com/babeltrace +Source0: https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2 +Group: Development/Tools + +BuildRequires: bison >= 2.4 +BuildRequires: flex >= 2.5.35 +BuildRequires: glib2-devel >= 2.22.0 +BuildRequires: libuuid-devel +BuildRequires: popt-devel >= 1.13 +BuildRequires: python3-devel +BuildRequires: swig >= 2.0 +BuildRequires: elfutils-devel >= 0.154 +BuildRequires: autoconf automake libtool +# For check +BuildRequires: perl-Test-Harness +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 +Group: Development/Libraries + +%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 +Group: Development/Libraries +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. + + +%package -n python3-%{name} +Summary: Common Trace Format Babel Tower +Group: Development/Libraries +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. + + +%prep +%setup -q + +%build +# Reinitialize libtool with the fedora version to remove Rpath +autoreconf -vif + +export PYTHON=%{__python3} +export PYTHON_CONFIG=%{__python3}-config +%configure --disable-static --enable-python-bindings + +make %{?_smp_mflags} V=1 + +%check +make check + +%install +make DESTDIR=%{buildroot} install +find %{buildroot} -type f -name "*.la" -delete +# 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 + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%doc ChangeLog +%doc doc/lttng-live.txt +%{_bindir}/%{name}* +%{_mandir}/man1/*.1* + +%files -n lib%{name} +%doc doc/API.txt +%doc std-ext-lib.txt +%{!?_licensedir:%global license %%doc} +%license LICENSE gpl-2.0.txt mit-license.txt +%{_libdir}/*.so.* + +%files -n lib%{name}-devel +%{_prefix}/include/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/babeltrace.pc +%{_libdir}/pkgconfig/babeltrace-ctf.pc + +%files -n python3-%{name} +%{python3_sitearch}/babeltrace +%{python3_sitearch}/babeltrace*.egg-info + + +%changelog +* Wed Mar 2 2022 Bruno Larsen - 1.5.4-4 +- Bump NVR for subpackage release. + +* Wed Jul 1 2020 Keith Seitz - 1.5.4-3 +- Bump NVR for BaseOS move. + +* Fri Feb 16 2018 2018 Lumír Balhar - 1.5.4-2 +- Fix directory ownership in python3 subpackage + +* Tue Feb 13 2018 Michael Jeanson - 1.5.4-1 +- New upstream release + +* Wed Feb 07 2018 Fedora Release Engineering - 1.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 09 2017 Michael Jeanson - 1.5.3-1 +- New upstream release + +* Wed Aug 02 2017 Fedora Release Engineering - 1.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Mar 03 2017 Michael Jeanson - 1.5.2-2 +- Revert python3 macro changes + +* Wed Mar 01 2017 Michael Jeanson - 1.5.2-1 +- New upstream release + +* Fri Feb 10 2017 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jan 09 2017 Michael Jeanson - 1.5.1-1 +- New upstream release + +* Mon Dec 19 2016 Miro Hrončok - 1.5.0-2 +- Rebuild for Python 3.6 + +* Wed Nov 30 2016 Michael Jeanson - 1.5.0-1 +- New upstream release + +* Tue Jul 19 2016 Fedora Release Engineering - 1.4.0-3 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Jun 22 2016 Michael Jeanson - 1.4.0-2 +- Re-add rpath removing + +* Tue Jun 21 2016 Michael Jeanson - 1.4.0-1 +- New upstream release + +* Wed Feb 03 2016 Fedora Release Engineering - 1.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 1.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Jul 28 2015 Michael Jeanson - 1.2.4-2 +- Added python3 bindings module + +* Sun Jul 19 2015 Peter Robinson 1.2.4.1 +- Update to 1.2.4 + +* Sun Jul 19 2015 Peter Robinson 1.2.1-5 +- Fix FTBFS, use %%license + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Aug 15 2014 Fedora Release Engineering - 1.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Mar 27 2014 Yannick Brosseau - 1.2.1-1 +- New upstream release + +* Sat Mar 01 2014 Suchakra Sharma - 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 - 1.1.1-3 +- Remove reference to versionned docdir (#992011) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 22 2013 Yannick Brosseau - 1.1.1-1 +- New upstream bugfix release + +* Tue May 28 2013 Yannick Brosseau - 1.1.0-1 +- New upstream release +- Patch babeltrace.pc to not depends on popt.pc, as it does not exist in Fedora + +* Tue Feb 26 2013 Yannick Brosseau - 1.0.3-1 +- New upstream release +- Add pkg-config file to devel package (#913895) + +* Wed Feb 13 2013 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Yannick Brosseau - 1.0.2-1 +- New upstream release + +* Tue Jan 15 2013 Yannick Brosseau - 1.0.0-3 +- Change documentation directory to proper versionned one. + +* Mon Jan 14 2013 Yannick Brosseau - 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 - 1.0.0-1 +- New upstream release + +* Tue Oct 02 2012 Yannick Brosseau - 1.0.0-0.1.rc5 +- New upstream release candidate +* Thu Jul 05 2012 Yannick Brosseau - 1.0.0-0.1.rc4 +- New package, inspired by the one from OpenSuse + diff --git a/sources b/sources new file mode 100644 index 0000000..a089d5a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (babeltrace-1.5.4.tar.bz2) = eec10d869c948ce6fb901d95ac8efeabe3c02f294169fe5f7c4def4b76ab4c41d9d7b10b4e8f1225c90eb665cb154abf1f52cbdce572bb1476810cab8cf4cb8d