Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
playground
>
image-installer
> image-installer.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File image-installer.spec of Package image-installer (Revision 11)
Currently displaying revision
11
,
show latest
%define pkgname image-installer Name: image-installer Summary: Image Installer Version: 2.0 Release: 0 Url: http://www.linux-administrator.com License: GPLv2 Group: System Environment Source0: %{pkgname}-%{version}.tar Source1: image-installer.service BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?sl_version} || 0%{?redhat_version} Requires: dialog coreutils pv BuildRequires: dialog coreutils pv %endif %if 0%{?suse_version} Requires: dialog coreutils pv BuildRequires: dialog coreutils pv %endif BuildArch: noarch %description Image-installer provides a dialog system to write images to disk using 'dd'. %prep %setup -n %{pkgname}-%{version} %build %install %__install -D -m755 v2/image-installer.conf %{buildroot}%{_sysconfdir}/image-installer.conf %__install -D -m755 v2/image-installer.sh %{buildroot}%{_sbindir}/image-installer %__install -D -m755 %{S:1} %{buildroot}%{_sysconfdir}/systemd/system/image-installer.service %clean rm -rf %{buildroot} %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/image-installer.conf %{_sbindir}/image-installer %{_sysconfdir}/systemd/system/image-installer %changelog