package created by silvan using the webbuild interface [release 1.4.0-1mamba;Mon Jun 17 2013]

This commit is contained in:
Silvan Calarco 2024-01-05 23:39:28 +01:00
parent 552c445828
commit 37aa44db31
3 changed files with 90 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# heimdall
Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.

View File

@ -0,0 +1,11 @@
--- Heimdall-1.4.0/heimdall-frontend/heimdall-frontend.pro.orig 2013-06-17 18:28:57.141120953 +0200
+++ Heimdall-1.4.0/heimdall-frontend/heimdall-frontend.pro 2013-06-17 18:29:10.238001690 +0200
@@ -79,7 +79,7 @@
DESTDIR = ../Linux
isEmpty(OUTPUTDIR) {
- target.path = /usr/local/bin
+ target.path = /usr/bin
} else {
target.path = $$OUTPUTDIR
}

77
heimdall.spec Normal file
View File

@ -0,0 +1,77 @@
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