Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
osc-plugin-overview
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
osc-plugin-overview.spec
@@ -0,0 +1,51 @@ +# norootforbuild + +# We need this for /var/lib/osc-plugins ownership +BuildRequires: python osc +Name: osc-plugin-overview +Version: 0.2.0 +Release: 1 +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: osc-plugin-overview.tar.bz2 +Group: Development/Tools/Other +Summary: Plugins for the osc tool to assist comparing versions across repositories +URL: http://en.opensuse.org/Build_Service/osc_plugins/Overview +#BuildArch: noarch +Requires: osc + +%description +This package is a collection of osc plugins to assist comparison of build service +repositories against other repositories or even upstream repositories. + +See http://en.opensuse.org/Build_Service/osc_plugins/Overview for an idea of what we are trying to achieve and http://en.opensuse.org/Build_Service/CLI for general information about osc. + +%prep +%setup -n %{name} + + +%build +cd src +python setup.py build + +%install +cd src +%{__mkdir_p} %{buildroot}/%{py_sitedir}/oscpluginoverview +python setup.py install --root="%{buildroot}" --prefix="/usr" + +%{__mkdir_p} %{buildroot}/var/lib/osc-plugins +%{__install} overview.py %{buildroot}/var/lib/osc-plugins + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(-,root,root) +#%doc README AUTHORS NEWS COPYING +%{py_sitedir}/*.egg-info +%dir %{py_sitedir}/oscpluginoverview +%{py_sitedir}/oscpluginoverview/* + +/var/lib/osc-plugins/*.py + +%changelog