Warning, /office/kbibtex/mobile/sailfishos/rpm/harbour-bibsearch.spec is written in an unsupported language. File is not indexed.

0001 # 
0002 # Do NOT Edit the Auto-generated Part!
0003 # Generated by: spectacle version 0.27
0004 # 
0005 
0006 Name:       harbour-bibsearch
0007 
0008 # >> macros
0009 # << macros
0010 
0011 %{!?qtc_qmake:%define qtc_qmake %qmake}
0012 %{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
0013 %{!?qtc_make:%define qtc_make make}
0014 %{?qtc_builddir:%define _builddir %qtc_builddir}
0015 Summary:    BibSearch
0016 Version:    0.6
0017 Release:    1
0018 Group:      Applications/Publishing
0019 License:    GNU General Public License version 2 or any later version
0020 URL:        https://gitlab.com/tfischer/BibSearch
0021 Source0:    %{name}-%{version}.tar.xz
0022 Source100:  harbour-bibsearch.yaml
0023 Requires:   sailfishsilica-qt5 >= 0.10.9
0024 BuildRequires:  pkgconfig(sailfishapp) >= 1.0.2
0025 BuildRequires:  pkgconfig(Qt5Core)
0026 BuildRequires:  pkgconfig(Qt5Qml)
0027 BuildRequires:  pkgconfig(Qt5Quick)
0028 BuildRequires:  desktop-file-utils
0029 
0030 %description
0031 A mobile app to search for scientific publications, based on KBibTeX
0032 
0033 
0034 %prep
0035 %setup -q -n %{name}-%{version}
0036 
0037 # >> setup
0038 # << setup
0039 
0040 %build
0041 # >> build pre
0042 # << build pre
0043 
0044 %qtc_qmake5
0045 
0046 %qtc_make %{?_smp_mflags}
0047 
0048 # >> build post
0049 # << build post
0050 
0051 %install
0052 rm -rf %{buildroot}
0053 # >> install pre
0054 # << install pre
0055 %qmake5_install
0056 
0057 # >> install post
0058 # << install post
0059 
0060 desktop-file-install --delete-original       \
0061   --dir %{buildroot}%{_datadir}/applications             \
0062    %{buildroot}%{_datadir}/applications/*.desktop
0063 
0064 %files
0065 %defattr(-,root,root,-)
0066 %{_bindir}
0067 %{_datadir}/%{name}
0068 %{_datadir}/applications/%{name}.desktop
0069 %{_datadir}/icons/hicolor/*/apps/%{name}.png
0070 # >> files
0071 # << files