Mark McKinstry 0ea9348
%global	pver	20130219
mmckinst 79fb0f2
mmckinst 79fb0f2
Name:		mawk
mmckinst 79fb0f2
Version:	1.3.4
16131d4
Release:	2.%{pver}%{?dist}
Mark McKinstry a0154fe
Epoch:		1
mmckinst 79fb0f2
Summary:	Interpreter for the AWK programming language
mmckinst 79fb0f2
Group:		Applications/Text
mmckinst 79fb0f2
License:	GPLv2
mmckinst 79fb0f2
URL:		http://invisible-island.net/mawk/
mmckinst 79fb0f2
Source0:	ftp://invisible-island.net/mawk/%{name}-%{version}-%{pver}.tgz
mmckinst a0e035a
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
mmckinst 79fb0f2
mmckinst 79fb0f2
%description
mmckinst 79fb0f2
mawk is an interpreter for the AWK programming language.  The AWK language is
mmckinst 79fb0f2
useful for manipulation of data files, text retrieval and processing, and for
mmckinst 79fb0f2
prototyping and experimenting with algorithms.
mmckinst 79fb0f2
mmckinst 79fb0f2
%prep
mmckinst 79fb0f2
%setup -q -n %{name}-%{version}-%{pver}
mmckinst 79fb0f2
chmod 644 examples/*
mmckinst 79fb0f2
mmckinst 79fb0f2
%build
mmckinst 79fb0f2
%configure
mmckinst 79fb0f2
make %{?_smp_mflags}
mmckinst 79fb0f2
mmckinst 79fb0f2
%check
mmckinst 79fb0f2
make check
mmckinst 79fb0f2
mmckinst 79fb0f2
%install
mmckinst 79fb0f2
rm -rf %{buildroot}
mmckinst 79fb0f2
make install DESTDIR=%{buildroot} INSTALL='install -p'
mmckinst 79fb0f2
mmckinst 79fb0f2
%clean
mmckinst 79fb0f2
rm -rf %{buildroot}
mmckinst 79fb0f2
mmckinst 79fb0f2
%files
mmckinst 79fb0f2
%defattr(-,root,root,-)
mmckinst 79fb0f2
%doc COPYING CHANGES README examples/
mmckinst 79fb0f2
mmckinst 79fb0f2
%{_bindir}/mawk
mmckinst 79fb0f2
%{_mandir}/man1/mawk.1*
mmckinst 79fb0f2
mmckinst 79fb0f2
%changelog
16131d4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.4-2.20130219
16131d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
16131d4
Mark McKinstry a0154fe
* Wed Jun 19 2013 Mark McKinstry <mmckinst@nexcess.net> - 1:1.3.4-1.20130219
Mark McKinstry a0154fe
- redo versioning to match Fedora guidelines. also means bumping the epoch
Mark McKinstry a0154fe
Mark McKinstry c95f2d2
* Fri Feb 22 2013 Mark McKinstry <mmckinst@nexcess.net> - 1.3.4-20130219.1
Mark McKinstry 7f06b6f
- upgrade to 1.3.4-20130219 (BZ #885733)
Mark McKinstry 7f06b6f
e0cf41b
* Tue Dec  4 2012 Mark McKinstry <mmckinst@nexcess.net> - 1.3.4-20121129.1
e0cf41b
- upgrade to 1.3.4-20121129 (BZ #882867)
e0cf41b
mmckinst a0e035a
* Sun Oct 10 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-5.20100625
mmckinst a0e035a
- buildroot had a leftover macro from the old way of defining the version
mmckinst a0e035a
mmckinst 79fb0f2
* Thu Oct 7 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-4.20100625
mmckinst 79fb0f2
- only include examples once
mmckinst 79fb0f2
- include a '/' for examples documentation so its clear its a directory
mmckinst 79fb0f2
mmckinst 79fb0f2
* Wed Oct 6 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-3.20100625
mmckinst 79fb0f2
- include examples as part of documentation
mmckinst 79fb0f2
mmckinst 79fb0f2
* Tue Oct 5 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4-2.20100625
mmckinst 79fb0f2
- redo versioning macro
mmckinst 79fb0f2
- make summary more concise
mmckinst 79fb0f2
mmckinst 79fb0f2
* Sat Sep 17 2010 Mark McKinstry <mmckinst@nexcess.net> 1.3.4.20100625-1
mmckinst 79fb0f2
- initial build adapted from Thomas Dickey's spec