File since.spec of Package since

# norootforbuild

Name:          since
Version:       0.5
Release:       0
#
License:       GPL
Group:         Productivity/Text/Utilities
#
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
#
URL:           http://jade.cs.uct.ac.za/
Source0:       ftp://jade.cs.uct.ac.za/pub/since-0.5.tar.gz
#
Summary:       tail(1) work-alike that saves and uses state information
%description
since is a tail(1) work-alike that remembers how much of a file you have viewed
and displays only what's new when you next view that file. Ideal for viewing
log files (it'll only show what's new in the file since the last time it was
run).

%debug_package
%prep
%setup

%build
%{__make} CFLAGS="%{optflags}"

%install 
%{__install} -D -m 0755 since   %{buildroot}%{_bindir}/%{name}
%{__install} -D -m 0644 since.1 %{buildroot}%{_mandir}/man1/%{name}.1

%clean
%{__rm} -rf %{buildroot};

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

openSUSE Build Service is sponsored by