File osc-plugin-find.spec of Package osc-plugin-find
# norootforbuild
%define _prefix /var/lib/osc-plugins
Name: osc-plugin-find
Version: 0.2
Release: 0
Summary: Plugin for osc that quickly looks up packages by name
Source: find.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
quickly searches for packages by name and displays them with hit
highlighting.
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-find.py"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_prefix}/osc-find.py
%changelog
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: