LBBNetwork / opensn0w

Open-source iOS jailbreaking utility.
GNU General Public License v3.0
22 stars 16 forks source link

SPEC file to create an RPM package. #4

Open olahaye74 opened 11 years ago

olahaye74 commented 11 years ago

here is my contrib: a spec file to build the rpm linux package.

olahaye74 commented 11 years ago

 opensn0w.spec

Version: 2.0.0 Release: 1%{?dist} Name: opensn0w Summary: Jailbreak an iOS device, this includes the iPhone, iPad, iPod touch and Apple TV 2G. License: GPL Group: System/Utility Url: https://github.com/LBBNetwork/opensn0w/wiki Source: %{name}-%{version}.tar.bz2 BuildRequires: glibc-devel, libcurl-devel, readline-devel, openssl-devel, pkgconfig(libusb-1.0) BuildRoot: %{_tmppath}/%{name}-root

%description opensn0w is an open-source jailbreaking utility designed for platform-independence.

%prep %setup -q -n opensn0w

%build sh ./autogen.sh %configure %{__make} %{?_smp_mflags}

%install %makeinstall

%clean rm -rf $RPM_BUILD_ROOT/

%files %defattr(-,root,root) %doc README.md INSTALL TODO COPYING %_bindir/ %_libdir/ %_sysconfdir/opensn0w.conf %_prefix/bundles/ %_prefix/modules/

%changelog

olahaye74 commented 11 years ago

File available here: http://olivier.lahaye1.free.fr/SPECS/opensn0w.spec