File eg.spec of Package eg

# norootforbuild

Name:           eg
Version:        0.85
Release:        0
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  bash
Requires:       bash perl
Requires:       git >= 1.5
Group:          Development/Tools/Version Control
Summary:        An actually usable ui for git
Source0:        eg
Source1:        bash-completion-eg.sh
Source2:        README
BuildArch:      noarch
URL:            http://www.gnome.org/~newren/eg

%description
An actually usable ui for git.

%prep

%build

%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
install -m 755 %{S:0} $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d
install -m 644 %{S:1} $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/packages/eg
install -m 644 %{S:2} $RPM_BUILD_ROOT/%{_datadir}/doc/packages/eg

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_bindir}/*
%{_sysconfdir}/bash_completion.d/*
%doc %{_datadir}/doc/packages/eg/*

%changelog
openSUSE Build Service is sponsored by