diff --git a/harbour-fernschreiber.pro b/harbour-fernschreiber.pro index 79af618..d2a4e00 100644 --- a/harbour-fernschreiber.pro +++ b/harbour-fernschreiber.pro @@ -140,7 +140,6 @@ DISTFILES += qml/harbour-fernschreiber.qml \ qml/pages/VideoPage.qml \ rpm/harbour-fernschreiber.changes \ rpm/harbour-fernschreiber.spec \ - rpm/harbour-fernschreiber.yaml \ translations/*.ts \ harbour-fernschreiber.desktop diff --git a/rpm/harbour-fernschreiber.spec b/rpm/harbour-fernschreiber.spec index c802dc7..e8833bb 100644 --- a/rpm/harbour-fernschreiber.spec +++ b/rpm/harbour-fernschreiber.spec @@ -6,6 +6,8 @@ Name: harbour-fernschreiber # >> macros +%define __provides_exclude_from ^%{_datadir}/.*$ +%define __requires_exclude ^lib(tdjson|ssl|crypto).*$ # << macros Summary: Fernschreiber is a Telegram client for Sailfish OS @@ -56,7 +58,8 @@ make %{?_smp_mflags} rm -rf %{buildroot} # >> install pre # << install pre -%qmake5_install +#%qmake5_install +make INSTALL_ROOT=%{buildroot} install # >> install post # << install post diff --git a/rpm/harbour-fernschreiber.yaml b/rpm/harbour-fernschreiber.yaml deleted file mode 100644 index 3bb2e54..0000000 --- a/rpm/harbour-fernschreiber.yaml +++ /dev/null @@ -1,50 +0,0 @@ -Name: harbour-fernschreiber -Summary: Fernschreiber is a Telegram client for Sailfish OS -Version: 0.17 -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://werkwolf.eu/ -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: | - Fernschreiber is a Telegram client for Sailfish OS -Configure: none -Builder: qmake5 - -# 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 - - Qt5DBus - - Qt5Sql - - Qt5Multimedia - - Qt5Positioning - - nemonotifications-qt5 - - openssl >= 1.1.1k - -# Build dependencies without a pkgconfig setup can be listed here -PkgBR: - - gperf - -# Runtime dependencies which are not automatically detected -Requires: - - sailfishsilica-qt5 >= 0.10.9 - - nemo-qml-plugin-contacts-qt5 - -# All installed files -Files: - - '%{_bindir}' - - '%{_datadir}/%{name}' - - '%{_datadir}/applications/%{name}.desktop' - - '%{_datadir}/icons/hicolor/*/apps/%{name}.png' - -# For more information about yaml and what's supported in Sailfish OS -# build system, please see https://wiki.merproject.org/wiki/Spectacle