Skip to content
Snippets Groups Projects
Verified Commit 45853d64 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Clean up spec file, remove yaml and dbus interface installation

parent 7f06946c
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ gen_xml = custom_target('gen-dbus-xml',
input : ['src/dbusadapter.h'],
output : ['dev.neko.konheko.xml'],
command : [qdbuscpp2xml, '@INPUT@', '-o', '@OUTPUT0@'],
install: true,
install: false,
install_dir: 'share/dbus-1/interfaces')
deps = [qt5_dep, zlib_dep, olm_dep, matrix_dep, json_dep, ssl_dep, sailfish_dep, threads_dep, boost_dep, keepalive_dep, notifications_dep]
......
......@@ -15,7 +15,7 @@ Summary: Sailfish OS Matrix Client
Version: 0
Release: 0
Group: Qt/Qt
License: LICENSE
License: GPLv3
URL: http://example.org/
Source0: %{name}-%{version}.tar.bz2
Source100: harbour-konheko.yaml
......@@ -38,7 +38,7 @@ BuildRequires: python3-pip
BuildRequires: desktop-file-utils
%description
Short description of my Sailfish OS Application
A Sailfish OS client for the Matrix protocol.
%prep
......@@ -100,10 +100,10 @@ desktop-file-install --delete-original \
%files
%defattr(-,root,root,-)
%{_bindir}
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/dbus-1/interfaces/dev.neko.konheko.xml
#%{_datadir}/dbus-1/interfaces/dev.neko.konheko.xml
# >> files
# << files
Name: harbour-konheko
Summary: Sailfish OS Matrix Client
Version: 0.5
Release: 0
# 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
# 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
Configure: none
Builder: none
# This section specifies build dependencies that are resolved using pkgconfig.
# This is the preferred way of specifying build dependencies for your package.
PkgConfigBR:
- sailfishapp >= 1.0.2
- Qt5Core
- Qt5Qml
- Qt5Quick
- Qt5Multimedia
- Qt5DBus
- nemonotifications-qt5
- openssl
- keepalive
# Build dependencies without a pkgconfig setup can be listed here
PkgBR:
- cmake
- ninja
- meson
- python3-pip
# Runtime dependencies which are not automatically detected
Requires:
- sailfishsilica-qt5 >= 0.10.9
- qt5-qtmultimedia
- nemo-qml-plugin-contextkit-qt5
# All installed files
Files:
- '%{_bindir}'
- '%{_datadir}/%{name}'
- '%{_datadir}/applications/%{name}.desktop'
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
- '%{_datadir}/dbus-1/interfaces/dev.neko.konheko.xml'
# For more information about yaml and what's supported in Sailfish OS
# build system, please see https://wiki.merproject.org/wiki/Spectacle
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment