Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
raid
>
raider
> raider.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File raider.spec of Package raider (Revision 2)
Currently displaying revision
2
,
show latest
Name: raider Version: 0.13.2 Release: 0 Url: http://raider.sourceforge.net/ License: GPLv2 Group: System/Packages Summary: Convert single disk to raid Source0: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Patch0: %{name}-install.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?suse_version} >= 1140 PreReq: permissions %endif BuildRequires: mdadm >= 2.6 BuildRequires: parted >= 2.0 BuildRequires: bash >= 3.0 BuildRequires: util-linux BuildRequires: hdparm BuildRequires: rsync BuildRequires: bc BuildRequires: wget BuildRequires: permissions Requires: mdadm >= 2.6 Requires: parted >= 2.0 Requires: bash >= 3.0 Requires: util-linux Requires: hdparm Requires: rsync Requires: bc Requires: wget %description Raider is a tool to automate linux software raid conversion. It is able to convert a single linux system disk in to a software raid 1, 4, 5, 6 or 10 system in a two-pass simple command. %prep %setup %patch0 %build %install export DESTDIR=%{buildroot} export PREFIX=%{_bindir} export LIBDIR=%{_libdir} sed -i s@"export RAIDER_LIB=/usr/lib/raider"@"export RAIDER_LIB=%{_libdir}/raider"@g src/bin/raider ./install.sh %clean rm -rf %{buildroot} %post %if 0%{?suse_version} >= 1140 %set_permissions /var/log/raider %verifyscript %verify_permissions -e /var/log/raider %endif %files %defattr(-,root,root) %{_bindir}/raider* %{_bindir}/lograider %dir %{_libdir}/raider %{_libdir}/raider/* %dir /var/lib/raider %dir %attr(0777,root,root) /var/log/raider %changelog