Blob Blame Raw
# This package depends on automagic byte compilation
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
%global _python_bytecompile_extra 1

Name:           qtools
Version:        0.3.0
Release:        4%{?dist}
Summary:        Command-line tools for AMQP
License:        ASL 2.0
URL:            https://github.com/ssorj/qtools/releases/tag/%{version}
Source:         qtools-%{version}.tar.gz
BuildArch:      noarch
Requires:       python2
Requires:       python2-qpid-proton
BuildRequires:  make
BuildRequires:  python2
BuildRequires:  python2-qpid-proton

%description
Simple command-line tools for sending and receiving AMQP messages

%prep
%setup -qn %{name}-%{version}

%build
make build PREFIX=/usr %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} PREFIX=/usr %{?_smp_mflags}

%files
%license LICENSE.txt
%doc README.md
%{_datarootdir}/qtools
%{_bindir}/*

%changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.0-3
- Update Python 2 dependency declarations to new packaging standards
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Wed Nov 29 2017 Irina Boverman <iboverma@redhat.com> - 0.3.0-1
- Initial build