Update spec file

This commit is contained in:
Renaud Casenave-Péré 2022-09-04 14:27:16 +02:00
parent 3beec8bfb4
commit f8dfa0df41
3 changed files with 34 additions and 19 deletions

View file

@ -1,8 +1,3 @@
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.32
#
Name: harbour-sextant
# >> macros
@ -11,11 +6,11 @@ Name: harbour-sextant
Summary: Org-Mode for Sailfish
Version: 0.1
Release: 1
Group: Qt/Qt
License: LICENSE
URL: http://example.org/
Group: Applications/Productivity
License: GPLv3+
URL: https://redmine.casenave.fr/projects/harbour-sextant
Source0: %{name}-%{version}.tar.bz2
Source100: harbour-sextant.yaml
#Source100: harbour-sextant.yaml
Requires: sailfishsilica-qt5 >= 0.10.9
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
BuildRequires: pkgconfig(Qt5Core)
@ -31,7 +26,18 @@ BuildRequires: qt5-plugin-platform-minimal
BuildRequires: desktop-file-utils
%description
Short description of my Sailfish OS Application
This application aims to be a full featured org-mode implementation usable in
SailfishOS.
For now only the text editing features are implemented.
Type: desktop-application
Categories:
- Utilities
- Office
- TextEditor
Custom:
Repo: https://redmine.casenave.fr/projects/harbour-sextant
%prep
@ -42,10 +48,11 @@ Short description of my Sailfish OS Application
%build
# >> build pre
# << build pre
qmake harbour-sextant.pro
make %{?_smp_mflags}
# << build pre
# >> build post
# << build post
@ -53,9 +60,8 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%qmake5_install
# << install pre
# >> install post
# << install post
@ -64,6 +70,10 @@ desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/*.desktop
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}
@ -73,3 +83,7 @@ desktop-file-install --delete-original \
%{_datadir}/icons/hicolor/*/apps/%{name}.png
# >> files
# << files
%changelog
* Sat Sep 17 2022 Renaud Casenave-Péré <renaud@casenave-pere.fr> - 0.1-1
- First release

View file

@ -4,15 +4,16 @@ Version: 0.1
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt
URL: http://example.org/
License: LICENSE
Group: Applications/Productivity
URL: https://redmine.casenave.fr/projects/harbour-sextant
License: GPLv3
# This must be generated before uploading a package to a remote build service.
# Usually this line does not need to be modified.
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |
Short description of my Sailfish OS Application
This application aims to be a full featured org-mode implementation usable in SailfishOS.
For now only the text editing features are implemented.
Configure: none
Builder: none

View file

@ -69,7 +69,7 @@ DISTFILES += qml/harbour-sextant.qml \
rpm/harbour-sextant.changes.in \
rpm/harbour-sextant.changes.run.in \
rpm/harbour-sextant.spec \
rpm/harbour-sextant.yaml \
# rpm/harbour-sextant.yaml \
# translations/*.ts \
harbour-sextant.desktop