Blame SPECS/babeltrace.spec

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