Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
inquisitor
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
inquisitor-client.spec
@@ -0,0 +1,44 @@ +%define _pkgname inq +Name: inquisitor-client +Version: 3.0 +Release: 1 + +License: GPL +Group: Monitoring + +Source0: %{_pkgname}-%{version}.tar.bz2 +%ifarch x86_64 +Source1: Makefile.config.x86_64 +%else +Source1: Makefile.config.i586 +%endif + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: freetype2-devel ruby xorg-x11-devel + +Summary: Inquisitor client for client-server system + +%description +Inquisitor client RPM for installation in chroot + +%prep +%setup -q -c -n %{_pkgname}-%{version} +cp %{S:1} Makefile.config + +%build +make -C client RUBY_SHARE_DIR=%{_libdir}/ruby/vendor_ruby/%{rb_ver} RUBY_LIB_DIR=%{_libdir}/ruby/vendor_ruby/%{rb_ver} + +%install +make -C client DESTDIR=$RPM_BUILD_ROOT install + +%files +%_sysconfdir/inquisitor +%_bindir/* +%_datadir/inquisitor +%_libdir/inquisitor +%{_libdir}/ruby/vendor_ruby/%{rb_ver}/raid + +%changelog +* Sat Jan 02 2010 Carsten Schoene <cs@linux-administrator.com> - 3.0-1 +- initial package +