From 37aa44db31af87bcb64ff037cae1003391362c04 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:39:28 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 1.4.0-1mamba;Mon Jun 17 2013] --- README.md | 2 + heimdall-1.4.0-frontend-installdir.patch | 11 ++++ heimdall.spec | 77 ++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 heimdall-1.4.0-frontend-installdir.patch create mode 100644 heimdall.spec diff --git a/README.md b/README.md index 0f11d2f..b42ef7d 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/heimdall-1.4.0-frontend-installdir.patch b/heimdall-1.4.0-frontend-installdir.patch new file mode 100644 index 0000000..b67768f --- /dev/null +++ b/heimdall-1.4.0-frontend-installdir.patch @@ -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 + } diff --git a/heimdall.spec b/heimdall.spec new file mode 100644 index 0000000..1f26bf1 --- /dev/null +++ b/heimdall.spec @@ -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 +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 1.4.0-1mamba +- package created by silvan using the webbuild interface