File phunkytailf.spec of Package phunkytailf
#
# spec file for package phunkytailf
#
Name: phunkytailf
License: GPL
URL: https://build.opensuse.org/project/packages?project=home%3Adraht
Group: Productivity/Security
Summary: Multi-file colored tail -f using perl
Version: 1
Release: 0
Source: phunkytailf.pl
#Source1:
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: aaa_base
%description
Originally written by Len Rose or a collegue of his at theglobe.com, this small
perl script works like "tail -f", just that the different input files are marked
with different colors.
Packaged for convenience.
%prep
#%setup
pwd
ls -la
#cp %{SOURCE0} .
#%patch
#%patch1
#%patch2 -p1
%build
#%{suse_update_config -f}
echo make
%install
pwd
ls -la
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
#make install DESTDIR=$RPM_BUILD_ROOT
D=$RPM_BUILD_ROOT/usr/bin
mkdir -p $D
cp -a %{SOURCE0} $D/phunkytailf
chmod 755 $D/phunkytailf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
#%doc README
#%doc %{_mandir}/man?/*
/usr/bin/phunkytailf
#%config(noreplace) /etc/a.conf
%changelog