1
1
mirror of https://github.com/harelba/q.git synced 2024-10-04 06:48:13 +03:00
q/q.spec.template

43 lines
1.2 KiB
Plaintext
Raw Normal View History

Name: q
Version: VERSION_PLACEHOLDER
Release: 1%{?dist}
Summary: q - Text as a Database.
Group: Applications/Text
License: GPLv3
URL: https://github.com/harelba/q
Source0: https://github.com/harelba/q/archive/VERSION_PLACEHOLDER.tar.gz
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
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/
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