72 lines
2.1 KiB
RPMSpec
72 lines
2.1 KiB
RPMSpec
Name: qtadb
|
|
Version: 0.8.1.20160727git
|
|
Release: 1mamba
|
|
Summary: An adb graphical frontend
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://qtadb.wordpress.com/
|
|
## GITSOURCE https://bitbucket.org/michalmotyczko/qtadb.git master
|
|
Source: https://bitbucket.org/michalmotyczko/qtadb.git/master/qtadb-%{version}.tar.bz2
|
|
Patch0: qtadb-0.8.1.20160727git-revert-to-qt4.patch
|
|
Patch1: qtadb-0.8.1.20160727git-disable_updates_check_and_crash.patch
|
|
Patch2: qtadb-0.8.1.20160727git-fix-crash-on-save-settings.patch
|
|
Source1: qtadb.png
|
|
Source2: qtadb.desktop
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQtDeclarative
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: android-tools
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
QtADB is an adb graphical frontend.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -R
|
|
#%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%build
|
|
qmake-qt4 QtADB.pro
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -D -m0755 QtADB %{buildroot}%{_bindir}/qtadb
|
|
install -D -m0644 otherFiles/qtadb.apk %{buildroot}%{_datadir}/qtadb/qtadb.apk
|
|
install -D -m0755 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/qtadb.png
|
|
install -D -m0755 %{SOURCE2} %{buildroot}%{_datadir}/applications/qtadb.desktop
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/xdg/Bracia
|
|
cat > %{buildroot}%{_sysconfdir}/xdg/Bracia/QtADB.conf << _EOF
|
|
[General]
|
|
sdkPath=/usr/bin/
|
|
sdFolder=
|
|
checkForUpdatesOnStart=false
|
|
_EOF
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%config %{_sysconfdir}/xdg/Bracia/QtADB.conf
|
|
%{_bindir}/qtadb
|
|
%{_datadir}/applications/qtadb.desktop
|
|
%{_datadir}/pixmaps/qtadb.png
|
|
%{_datadir}/qtadb/qtadb.apk
|
|
|
|
%changelog
|
|
* Wed Jul 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1.20160727git-1mamba
|
|
- package created using the webbuild interface
|