summaryrefslogtreecommitdiffstats
path: root/dist/q-text-as-data.spec.template
blob: 4e9e50a8b647b9e7a5450ac84ffd3ff7f3250c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Name:		q-text-as-data
Version:	VERSION_PLACEHOLDER
Release:	1%{?dist}
Summary:	q - Text as Data

Group:		Applications/Text
License:	GPLv3
URL:		https://github.com/harelba/q
Source0:	%{name}-%{version}.tar.gz
BuildArch:	noarch

%description
q allows 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 bin/q ${RPM_BUILD_ROOT}%{_bindir}/
install -Dm 755 bin/q ${RPM_BUILD_ROOT}%{_bindir}/
install -d -m 0755 ${RPM_BUILD_ROOT}%{_mandir}/man1/
install -m 0644 doc/USAGE ${RPM_BUILD_ROOT}%{_mandir}/man1/q.1
gzip ${RPM_BUILD_ROOT}%{_mandir}/man1/q.1

%files
%defattr(-,root,root,-)
%doc README.markdown doc/*
%{_bindir}/q
%doc %_mandir/man1/q.1.gz

%changelog
* Mon Mar 03 2014 Harel Ben-Attia <harelba@gmail.com> 1.3.0-1
- Added column name and type detection (Use -A to see name/type analysis for the specified input)
- Added support for multiple parsing modes - Relaxed, Strict and Fluffy (old, backward compatible behavior)
- Fixed tab delimition parameter problem
- More improvements to error reporting
- Added a test suite, in preparation for refactoring
-   #7  - Dynamic column count support
-   #8  - Column name inference from input containing a header row
-   #9  - Automatic column type inference using sample data
-   #30 - Header lines option does nothing
-   #33 - Last column should allow for spaces?
-   #35 - Add q.bat
-   #38 - Problem with whitespace delimiter
-   #43 - using the -t flag stopped the header flag from working
-   #44 - Space in column name on TAB separated values break q
- Breaking changes:
-   Changed -H behavior so it's now a flag an not a parameter (1 line always)
-   Removed support for multi-char delimiters

* 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