heimdall/heimdall.spec

74 lines
2.3 KiB
RPMSpec

Name: heimdall
Version: 1.4.2
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
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 build/bin/heimdall %{buildroot}%{_bindir}/heimdall
install -D -m0755 build/bin/heimdall-frontend %{buildroot}%{_bindir}/heimdall-frontend
install -D -m0644 heimdall/60-heimdall.rules %{buildroot}%{_udevrulesdir}/60-heimdall.rules
%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 Dec 26 2019 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* 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