File osc-plugin-niceresults.spec of Package osc-plugin-niceresults
# norootforbuild
%define _prefix /var/lib/osc-plugins
Name: osc-plugin-niceresults
Version: 0.5
Release: 0
Summary: Plugin for osc that produces nice coloured build result output
Source: niceresults.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
produces a nice, coloured, unicoded output of build results.
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-niceresults.py"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/osc-niceresults.py
%changelog
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: