File osc-plugin-faillog.spec of Package osc-plugin-faillog

# norootforbuild

%define _prefix /var/lib/osc-plugins

Name:			osc-plugin-faillog
Version:		0.1
Release:		0
Summary:		Plugin for osc that quickly looks up and displays a build failure log
Source:			faillog.py
Group:			Development/Tools/Other
License:		GNU General Public License version 2 (GPL v2)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildArch:		noarch
Prefix:			%{_prefix}
BuildRequires:  osc
Requires:		osc

%description
Plugin for osc (the command-line client to the openSUSE Build Service) that
applies some (very) crude heuristics to select and display a package build
failure log.

The single and whole idea behind it is to avoid having to type
  osc bl <target> <arch>
to read a build failure log, but instead just type
  osc f




Authors:
--------
    Pascal Bleser <pascal.bleser@opensuse.org>

%prep
%setup -q -T -c "%{name}-%{version}"

%build

%install
%__install -d "%{buildroot}%{_prefix}"
%__install -m0644 "%{SOURCE0}" "%{buildroot}%{_prefix}/osc-faillog.py"

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

%files
%defattr(-,root,root)
%{_prefix}/osc-faillog.py

%changelog
* Fri Jul 24 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.1
- new package

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by