2014-02-21 19:35:06 +04:00
|
|
|
Name: q
|
|
|
|
Version: VERSION_PLACEHOLDER
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: q - Text as a Database.
|
|
|
|
|
|
|
|
Group: Applications/Text
|
2014-03-04 01:29:06 +04:00
|
|
|
License: GPLv3
|
2014-02-21 19:35:06 +04:00
|
|
|
URL: https://github.com/harelba/q
|
2014-03-04 01:29:06 +04:00
|
|
|
Source0: https://github.com/harelba/q/archive/VERSION_PLACEHOLDER.tar.gz
|
2014-02-21 19:35:06 +04:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Have you ever stared at a text file on the screen, hoping it would have been a database so you could ask anything you want about it?
|
|
|
|
|
|
|
|
q solves this problem by allowing to perform SQL-like statements on tabular text data.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
|
|
|
|
%install
|
2014-03-04 01:29:06 +04:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
install -d -m 0755 ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
install -Dm 755 q ${RPM_BUILD_ROOT}%{_bindir}/
|
|
|
|
install -Dm 755 q ${RPM_BUILD_ROOT}%{_bindir}/
|
|
|
|
install -d -m 0755 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
|
|
|
install -m 0644 %{name}.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/
|
2014-02-21 19:35:06 +04:00
|
|
|
gzip ${RPM_BUILD_ROOT}%{_mandir}/man1/%{name}.1
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.markdown exampledatafile LICENSE THANKS AUTHORS
|
|
|
|
%{_bindir}/q
|
|
|
|
%doc %_mandir/man1/%{name}.1.gz
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Feb 20 2014 Harel Ben-Attia <harelba@gmail.com> 1.1.7-1
|
|
|
|
- Better error reporting
|
|
|
|
- Fixed python invocation for non stanard locations
|
|
|
|
- Added man page
|
|
|
|
|
|
|
|
* Wed Feb 19 2014 Jens Neu <jens@zeeroos.de> 1.1.5-1
|
|
|
|
- initial release
|