78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
|
Name: heimdall
|
||
|
Version: 1.4.0
|
||
|
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
|
||
|
* Mon Jun 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
||
|
- package created by silvan using the webbuild interface
|