Blob Blame History Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           squeal
Version:        0.4.1
Release:        15%{?dist}
Summary:        Data manipulation tool for the command line

Group:          Development/Languages
License:        LGPLv2
URL:            https://fedorahosted.org/squeal
Source0:        https://fedorahosted.org/released/squeal/squeal-0.4.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

BuildRequires:  python-setuptools

Requires:       python-augeas

%description
"squeal" is a tool for manipulating data from the shell, and in shell
pipelines.

It is able to carve up various types of input file, treating them as tabular
data.  It has backends for working with many types of log file, configuration
files, and archive formats.

It accepts a subset of SQL for manipulating the inputs, such as filtering,
sorting and aggregating.

Finally, it can output the results in a number of formats, including a
text-based user interface.


%prep
%setup -q


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT/%{_bindir}/squeal.py $RPM_BUILD_ROOT/%{_bindir}/squeal

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING
%{python_sitelib}/*
%{_bindir}/squeal


%changelog
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-13
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.1-10
- Replace python-setuptools-devel BR with python-setuptools

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Jul  6 2009 David Malcolm <dmalcolm@redhat.com> - 0.4.1-1
- 0.4.1: add MANIFEST.in and COPYING files (LGPLv2.1); fix metadata; add
debug option
- make summary and description convey a better idea of what the software
does

* Thu Jun  4 2009 David Malcolm <dmalcolm@redhat.com> - 0.4-3
- change license tag to "LGPLv2", the approved shortname for LGPLv2.1, as per
Fedora packaging guidelines.  The code is licensed under LGPLv2.1.

* Thu Jun  4 2009 David Malcolm <dmalcolm@redhat.com> - 0.4-2
- add python-setuptools(-devel) to build requirements

* Thu Jun  4 2009 David Malcolm <dmalcolm@redhat.com> - 0.4-1
- 0.4
- rename show -> squeal

* Tue Mar 24 2009 David Malcolm <dmalcolm@redhat.com> - 0.3-1
- 0.3: add horizontal scrolling, syslog handling, and config file handling, using augeas
- specfile cleanup (thanks rathann)
- add dependency on python-augeas for now

* Sun Mar 22 2009 David Malcolm <dmalcolm@redhat.com> - 0.2-1
- 0.2

* Sun Mar 22 2009 David Malcolm <dmalcolm@redhat.com> - 0.1.1-1
- 0.1.1
- fix license header

* Sun Mar 22 2009 David Malcolm <dmalcolm@redhat.com> - 0.1-1
- initial packaging