Blob Blame History Raw
Name:		since
Version:	1.1
Release:	9%{?dist}
Summary:	Stateful tail replacement

Group:		Applications/File
License:	GPLv3+
URL:		http://welz.org.za/projects/%{name}
Source0:	http://welz.org.za/projects/%{name}/%{name}-%{version}.tar.gz
%if 0%{?el5}
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%endif

%description
Since is a Unix utility similar to tail. Unlike tail, since only shows
the lines appended since the last time. It is useful to monitor
growing log files.

%prep
%setup -q

%build
make CFLAGS='%{optflags} -DVERSION=\"%{version}\"' %{?_smp_mflags}

%install
%if 0%{?el5}
rm -rf $RPM_BUILD_ROOT
%endif
make install prefix=$RPM_BUILD_ROOT/%{_prefix} INSTALL='install -Dp'
chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%doc COPYING README
%{_mandir}/man1/%{name}.1*

%if 0%{?el5}
%clean
rm -rf $RPM_BUILD_ROOT
%endif

%changelog
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Wed Jun 06 2012 Till Maas <opensource@till.name> - 1.1-5
- Add conditionals for EPEL5

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Mon Dec 31 2011 Sven Lankes <sven@lank.es> - 1.1-3
- Review fixes

* Thu Nov 18 2010 Sven Lankes <sven@lank.es> - 1.1-2
- Make rpmlint spellcheck happy
- remove %%clean section

* Thu Nov 18 2010 Sven Lankes <sven@lank.es> - 1.1-1
- Initial package