Blame SPECS/babeltrace.spec

fc4a13
Name:           babeltrace
fc4a13
Version:        1.5.4
39f9e7
Release:        4%{?dist}
fc4a13
Summary:        Trace Viewer and Converter, mainly for the Common Trace Format
fc4a13
License:        MIT and GPLv2
fc4a13
URL:            https://www.efficios.com/babeltrace
fc4a13
Source0:        https://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
fc4a13
Group:          Development/Tools
fc4a13
fc4a13
BuildRequires:  bison >= 2.4
fc4a13
BuildRequires:  flex >= 2.5.35
fc4a13
BuildRequires:  glib2-devel >= 2.22.0
fc4a13
BuildRequires:  libuuid-devel
fc4a13
BuildRequires:  popt-devel >= 1.13
fc4a13
BuildRequires:  python3-devel
fc4a13
BuildRequires:  swig >= 2.0
fc4a13
BuildRequires:  elfutils-devel >= 0.154
fc4a13
BuildRequires:  autoconf automake libtool
fc4a13
# For check
fc4a13
BuildRequires:  perl-Test-Harness
fc4a13
Requires:       lib%{name}%{?_isa} = %{version}-%{release}
fc4a13
fc4a13
%description
fc4a13
This project provides trace read and write libraries, as well as a trace
fc4a13
converter. A plugin can be created for any trace format to allow its conversion
fc4a13
to/from another trace format.
fc4a13
fc4a13
The main format expected to be converted to/from is the Common Trace
fc4a13
Format (CTF). See http://www.efficios.com/ctf.
fc4a13
fc4a13
fc4a13
%package -n lib%{name}
fc4a13
Summary:        Common Trace Format Babel Tower
fc4a13
Group:          Development/Libraries
fc4a13
fc4a13
%description -n lib%{name}
fc4a13
This project provides trace read and write libraries, as well as a trace
fc4a13
converter. A plugin can be created for any trace format to allow its conversion
fc4a13
to/from another trace format.
fc4a13
fc4a13
fc4a13
%package -n lib%{name}-devel
fc4a13
Summary:        Common Trace Format Babel Tower
fc4a13
Group:          Development/Libraries
fc4a13
Requires:       lib%{name}%{?_isa} = %{version}-%{release} glib2-devel
fc4a13
fc4a13
%description -n lib%{name}-devel
fc4a13
This project provides trace read and write libraries, as well as a trace
fc4a13
converter. A plugin can be created for any trace format to allow its conversion
fc4a13
to/from another trace format.
fc4a13
fc4a13
fc4a13
%package -n python3-%{name}
fc4a13
Summary:        Common Trace Format Babel Tower
fc4a13
Group:          Development/Libraries
fc4a13
Requires:       lib%{name}%{?_isa} = %{version}-%{release}
fc4a13
fc4a13
%description -n python3-%{name}
fc4a13
This project provides trace read and write libraries, as well as a trace
fc4a13
converter. A plugin can be created for any trace format to allow its conversion
fc4a13
to/from another trace format.
fc4a13
fc4a13
fc4a13
%prep
fc4a13
%setup -q
fc4a13
fc4a13
%build
fc4a13
# Reinitialize libtool with the fedora version to remove Rpath
fc4a13
autoreconf -vif
fc4a13
fc4a13
export PYTHON=%{__python3}
fc4a13
export PYTHON_CONFIG=%{__python3}-config
fc4a13
%configure --disable-static --enable-python-bindings
fc4a13
fc4a13
make %{?_smp_mflags} V=1
fc4a13
fc4a13
%check
fc4a13
make check
fc4a13
fc4a13
%install
fc4a13
make DESTDIR=%{buildroot} install
fc4a13
find %{buildroot} -type f -name "*.la" -delete
fc4a13
# Clean installed doc
fc4a13
rm -f %{buildroot}/%{_pkgdocdir}/API.txt
fc4a13
rm -f %{buildroot}/%{_pkgdocdir}/LICENSE
fc4a13
rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt
fc4a13
rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt
fc4a13
rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt
fc4a13
fc4a13
%post  -n lib%{name} -p /sbin/ldconfig
fc4a13
%postun -n lib%{name} -p /sbin/ldconfig
fc4a13
fc4a13
%files
fc4a13
%doc ChangeLog
fc4a13
%doc doc/lttng-live.txt
fc4a13
%{_bindir}/%{name}*
fc4a13
%{_mandir}/man1/*.1*
fc4a13
fc4a13
%files -n lib%{name}
fc4a13
%doc doc/API.txt
fc4a13
%doc std-ext-lib.txt
fc4a13
%{!?_licensedir:%global license %%doc}
fc4a13
%license LICENSE gpl-2.0.txt mit-license.txt
fc4a13
%{_libdir}/*.so.*
fc4a13
fc4a13
%files -n lib%{name}-devel
fc4a13
%{_prefix}/include/*
fc4a13
%{_libdir}/*.so
fc4a13
%{_libdir}/pkgconfig/babeltrace.pc
fc4a13
%{_libdir}/pkgconfig/babeltrace-ctf.pc
fc4a13
fc4a13
%files -n python3-%{name}
fc4a13
%{python3_sitearch}/babeltrace
fc4a13
%{python3_sitearch}/babeltrace*.egg-info
fc4a13
fc4a13
fc4a13
%changelog
39f9e7
* Wed Mar  2 2022 Bruno Larsen <blarsen@redhat.com> - 1.5.4-4
39f9e7
- Bump NVR for subpackage release.
39f9e7
d5a579
* Wed Jul  1 2020 Keith Seitz <keiths@redhat.com> - 1.5.4-3
d5a579
- Bump NVR for BaseOS move.
d5a579
fc4a13
* Fri Feb 16 2018 2018 Lumír Balhar <lbalhar@redhat.com> - 1.5.4-2
fc4a13
- Fix directory ownership in python3 subpackage
fc4a13
fc4a13
* Tue Feb 13 2018 Michael Jeanson <mjeanson@efficios.com> - 1.5.4-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fc4a13
fc4a13
* Wed Aug 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.3-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fc4a13
fc4a13
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fc4a13
fc4a13
* Fri Mar 03 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-2
fc4a13
- Revert python3 macro changes
fc4a13
fc4a13
* Wed Mar 01 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.2-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fc4a13
fc4a13
* Mon Jan 09 2017 Michael Jeanson <mjeanson@efficios.com> - 1.5.1-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
fc4a13
- Rebuild for Python 3.6
fc4a13
fc4a13
* Wed Nov 30 2016 Michael Jeanson <mjeanson@efficios.com> - 1.5.0-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
fc4a13
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
fc4a13
fc4a13
* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-2
fc4a13
- Re-add rpath removing
fc4a13
fc4a13
* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 1.4.0-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fc4a13
fc4a13
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
fc4a13
fc4a13
* Tue Jul 28 2015 Michael Jeanson <mjeanson@gmail.com> - 1.2.4-2
fc4a13
- Added python3 bindings module
fc4a13
fc4a13
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.4.1
fc4a13
- Update to 1.2.4
fc4a13
fc4a13
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-5
fc4a13
- Fix FTBFS, use %%license
fc4a13
fc4a13
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fc4a13
fc4a13
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fc4a13
fc4a13
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fc4a13
fc4a13
* Thu Mar 27 2014 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.2.1-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Sat Mar 01 2014 Suchakra Sharma <suchakra@fedoraproject.org> - 1.2.0-1
fc4a13
- New upstream release
fc4a13
- Popt patch for babeltrace.pc.in removed. Its fixed in Fedora now
fc4a13
- Add new file (babeltrace-ctf.pc)
fc4a13
fc4a13
* Mon Aug 05 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-3
fc4a13
- Remove reference to versionned docdir (#992011)
fc4a13
fc4a13
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fc4a13
fc4a13
* Mon Jul 22 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.1-1
fc4a13
- New upstream bugfix release
fc4a13
fc4a13
* Tue May 28 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.1.0-1
fc4a13
- New upstream release
fc4a13
- Patch babeltrace.pc to not depends on popt.pc, as it does not exist in Fedora
fc4a13
fc4a13
* Tue Feb 26 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.3-1
fc4a13
- New upstream release
fc4a13
- Add pkg-config file to devel package (#913895)
fc4a13
fc4a13
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
fc4a13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fc4a13
fc4a13
* Fri Jan 18 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.2-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Tue Jan 15 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-3
fc4a13
- Change documentation directory to proper versionned one. 
fc4a13
fc4a13
* Mon Jan 14 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-2
fc4a13
- Use autoreconf rpath fix because the sed one was breaking the make check
fc4a13
- Use correct tar file version
fc4a13
- Package documentations in the right packages
fc4a13
fc4a13
* Mon Oct 29 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-1
fc4a13
- New upstream release
fc4a13
fc4a13
* Tue Oct 02 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc5
fc4a13
- New upstream release candidate
fc4a13
* Thu Jul 05 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 1.0.0-0.1.rc4
fc4a13
- New package, inspired by the one from OpenSuse 
fc4a13