File obsmi.spec of Package obsmi
# norootforbuild
Name: obsmi
Version: 0.1
Release: 1
Summary:Mirroring OBS server
Group: Application/Server
License: GPLv3
Requires: perl
Url: http://www.elektrobit.com
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Mirroing OBS Server that not open it's api.
%prep
%setup -n %name-%version
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 obsmi $RPM_BUILD_ROOT%{_bindir}
install MIRemote.pm /$RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
#%post
#%postun
%files
%defattr(-,root,root)
%{_bindir}/obsmi
%{_bindir}/MIRemote.pm
%changelog