Blob Blame History Raw
%global	pver	20161107

Name:		mawk
Version:	1.3.4
Release:	9.%{pver}%{?dist}
Epoch:		1
Summary:	Interpreter for the AWK programming language
Group:		Applications/Text
License:	GPLv2
URL:		http://invisible-island.net/mawk/
Source0:	ftp://invisible-island.net/mawk/%{name}-%{version}-%{pver}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
mawk is an interpreter for the AWK programming language.  The AWK language is
useful for manipulation of data files, text retrieval and processing, and for
prototyping and experimenting with algorithms.

%prep
%setup -q -n %{name}-%{version}-%{pver}
chmod 644 examples/*

%build
%configure
make %{?_smp_mflags}

%check
make check

%install
make install DESTDIR=%{buildroot} INSTALL='install -p'

%files
%doc COPYING CHANGES README examples/

%{_bindir}/mawk
%{_mandir}/man1/mawk.1*

%changelog
* Sat Nov 12 2016 Mark McKinstry <mmckinst@umich.edu> - 1:1.3.4-9.20161107
- upgrade to 20161107 (RHBZ#1381056)

* Sat Oct  1 2016 Mark McKinstry <mmckinst@umich.edu> - 1:1.3.4-9.20160927
- upgrade to 20160927 (RHBZ#1380058)

* Sun Sep 25 2016 Mark McKinstry <mmckinst@umich.edu> - 1:1.3.4-9.20160918
- upgrade to 20160918 (RHBZ#1377148)

* Fri Sep  9 2016 Mark McKinstry <mmckinst@umich.edu> - 1:1.3.4-9.20160905
- upgrade to 20160905 (RHBZ#1373959)

* Sat Feb  6 2016 Mark McKinstry <mmckinst@umich.edu> - 1:1.3.4-9.20150503
- upgrade to 20150503

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.4-8.20131226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-7.20131226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-6.20131226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 22 2014 Mark McKinstry <mmckinst@nexcess.net> - 1:1.3.4-5.20131226
- re-add missing buildroot for el5

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-4.20131226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Wed May 21 2014 Filipe Rosset <rosset.filipe@gmail.com> - 1:1.3.4-3.20131226
- Rebuilt for new upstream version, spec cleanup, fixes rhbz #885733

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-2.20130219
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Jun 19 2013 Mark McKinstry <mmckinst@nexcess.net> - 1:1.3.4-1.20130219
- redo versioning to match Fedora guidelines. also means bumping the epoch

* Fri Feb 22 2013 Mark McKinstry <mmckinst@nexcess.net> - 1.3.4-20130219.1
- upgrade to 1.3.4-20130219 (BZ #885733)

* Tue Dec  4 2012 Mark McKinstry <mmckinst@nexcess.net> - 1.3.4-20121129.1
- upgrade to 1.3.4-20121129 (BZ #882867)

* Sun Oct 10 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-5.20100625
- buildroot had a leftover macro from the old way of defining the version

* Thu Oct 7 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-4.20100625
- only include examples once
- include a '/' for examples documentation so its clear its a directory

* Wed Oct 6 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-3.20100625
- include examples as part of documentation

* Tue Oct 5 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-2.20100625
- redo versioning macro
- make summary more concise

* Fri Sep 17 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4.20100625-1
- initial build adapted from Thomas Dickey's spec