heimdall/heimdall.spec

81 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: heimdall
Version: 1.4.1
Release: 1mamba
Summary: A tool used to flash firmware (aka ROMs) onto Samsung Galaxy S devices
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.glassechidna.com.au/products/heimdall/
## GITSOURCE git://github.com/Benjamin-Dobell/Heimdall.git v1.4.0
Source: git://github.com/Benjamin-Dobell/Heimdall.git/v%{version}/Heimdall-%{version}.tar.bz2
Patch0: heimdall-1.4.0-frontend-installdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: libusbx-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.
%package frontend
Group: Graphical Desktop/Applications/Utilities
Summary: A GUI used to flash firmware (aka ROMs) onto Samsung Galaxy S devices
Requires: %{name} = %{version}-%{release}
%description frontend
Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.
%debug_package
%prep
%setup -q -n Heimdall-%{version}
%patch0 -p1
%build
cd libpit
%configure
%make
cd ../heimdall
%configure --libdir=/lib
%make
cd ../heimdall-frontend
qmake-qt4
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd heimdall
%makeinstall
cd ../heimdall-frontend
%makeinstall INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/heimdall
/lib/udev/rules.d/60-heimdall.rules
%doc LICENSE
%files frontend
%defattr(-,root,root)
%{_bindir}/heimdall-frontend
%changelog
* Thu Aug 27 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
- update to 1.4.1
* Mon Jun 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- package created by silvan using the webbuild interface