diff options
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | rpm/sailfish-account-mastodon.spec | 63 |
2 files changed, 14 insertions, 62 deletions
@@ -42,16 +42,11 @@ Sailfish OS account integration for Mastodon. - `icons/icon-l-mastodon` ### `rpm/` - Packaging for all modules in `rpm/sailfish-account-mastodon.spec`. -- Subpackages: - - `sailfish-account-mastodon` - - `buteo-sync-plugin-mastodon-posts` - - `buteo-sync-plugin-mastodon-notifications` - - `eventsview-extensions-mastodon` - - `transferengine-plugin-mastodon` - - `sailfish-account-mastodon-ts-devel` -- Main package requires runtime feature subpackages; `sailfish-account-mastodon-ts-devel` is optional. +- Packages: + - `sailfish-account-mastodon` (all runtime components) + - `sailfish-account-mastodon-ts-devel` (translation source files only) - `%qmake5_install` already installs icon outputs from the `icons/` subproject; avoid a second explicit `icons` `make install` in `%install`. -- Translation source `.ts` files are packaged in `sailfish-account-mastodon-ts-devel` (runtime packages ship `.qm` only). +- Translation source `.ts` files are packaged in `sailfish-account-mastodon-ts-devel` (runtime package ships `.qm` only). - Runtime package ships the Mastodon settings translation-loader QML plugin under `%{_libdir}/qt5/qml/com/jolla/settings/accounts/mastodon/`. ### Root project diff --git a/rpm/sailfish-account-mastodon.spec b/rpm/sailfish-account-mastodon.spec index 94bc073..e864e8a 100644 --- a/rpm/sailfish-account-mastodon.spec +++ b/rpm/sailfish-account-mastodon.spec @@ -3,7 +3,7 @@ License: LGPLv2+ Version: 0.1.0 Release: 1 Source0: %{name}-%{version}.tar.bz2 -Summary: Account plugin for Mastodon +Summary: SailfishOS account plugin for Mastodon BuildRequires: qt5-qmake BuildRequires: qt5-qttools-linguist BuildRequires: sailfish-svg2png @@ -23,59 +23,23 @@ BuildRequires: pkgconfig(nemotransferengine-qt5) >= 2.0.0 BuildRequires: pkgconfig(nemonotifications-qt5) Requires: jolla-settings-accounts-extensions-onlinesync Requires: qmf-oauth2-plugin >= 0.0.7 -Requires: buteo-sync-plugin-mastodon-posts -Requires: buteo-sync-plugin-mastodon-notifications -Requires: eventsview-extensions-mastodon -Requires: transferengine-plugin-mastodon -Requires(post): %{_libexecdir}/manage-groups -Requires(postun): %{_libexecdir}/manage-groups - -%description -%{summary}. - -%package -n buteo-sync-plugin-mastodon-posts -Summary: Provides synchronisation of Mastodon posts -Requires: %{name} = %{version}-%{release} -Requires: buteo-syncfw-qt5-msyncd -Requires: systemd -Requires(post): systemd - -%description -n buteo-sync-plugin-mastodon-posts -Provides synchronisation of Mastodon posts. - -%package -n buteo-sync-plugin-mastodon-notifications -Summary: Provides synchronisation of Mastodon notifications -Requires: %{name} = %{version}-%{release} Requires: buteo-syncfw-qt5-msyncd Requires: systemd -Requires(post): systemd - -%description -n buteo-sync-plugin-mastodon-notifications -Provides synchronisation of Mastodon notifications. - - -%package -n eventsview-extensions-mastodon -Summary: Provides integration of Mastodon posts into Events view Requires: lipstick-jolla-home-qt5-components >= 1.2.50 Requires: eventsview-extensions - -%description -n eventsview-extensions-mastodon -Provides integration of Mastodon posts into Events view. - -%package -n transferengine-plugin-mastodon -Summary: Mastodon image sharing plugin for Transfer Engine Requires: sailfishsilica-qt5 >= 1.1.108 Requires: declarative-transferengine-qt5 >= 0.3.13 Requires: nemo-transferengine-qt5 >= 2.0.0 -Requires: %{name} = %{version}-%{release} +Requires(post): %{_libexecdir}/manage-groups +Requires(postun): %{_libexecdir}/manage-groups -%description -n transferengine-plugin-mastodon -Mastodon image sharing plugin for Transfer Engine. +%description +%{summary}. Supports displaying current feed in the Events View, +sharing images, and notifications. %package -n sailfish-account-mastodon-ts-devel Summary: Translation source files for sailfish-account-mastodon Requires: %{name} = %{version}-%{release} -Requires: eventsview-extensions-mastodon = %{version}-%{release} %description -n sailfish-account-mastodon-ts-devel Translation source files for sailfish-account-mastodon components. @@ -115,28 +79,21 @@ fi %{_libdir}/qt5/qml/com/jolla/settings/accounts/mastodon/* %{_datadir}/translations/settings-accounts-mastodon_eng_en.qm %{_datadir}/themes/sailfish-default/silica/*/icons/icon-l-mastodon.png - -%files -n buteo-sync-plugin-mastodon-posts %{_libdir}/buteo-plugins-qt5/oopp/libmastodon-posts-client.so %config %{_sysconfdir}/buteo/profiles/client/mastodon-posts.xml %config %{_sysconfdir}/buteo/profiles/sync/mastodon.Posts.xml - -%files -n buteo-sync-plugin-mastodon-notifications %{_libdir}/buteo-plugins-qt5/oopp/libmastodon-notifications-client.so %config %{_sysconfdir}/buteo/profiles/client/mastodon-notifications.xml %config %{_sysconfdir}/buteo/profiles/sync/mastodon.Notifications.xml - -%files -n eventsview-extensions-mastodon %{_libdir}/qt5/qml/com/jolla/eventsview/mastodon/* %{_datadir}/lipstick/eventfeed/mastodon-delegate.qml %{_datadir}/lipstick/eventfeed/MastodonFeedItem.qml %{_datadir}/translations/lipstick-jolla-home-mastodon_eng_en.qm -%files -n sailfish-account-mastodon-ts-devel -%{_datadir}/translations/source/settings-accounts-mastodon.ts -%{_datadir}/translations/source/lipstick-jolla-home-mastodon.ts - -%files -n transferengine-plugin-mastodon %{_libdir}/nemo-transferengine/plugins/sharing/libmastodonshareplugin.so %{_libdir}/nemo-transferengine/plugins/transfer/libmastodontransferplugin.so %{_datadir}/nemo-transferengine/plugins/sharing/MastodonShareImage.qml + +%files -n sailfish-account-mastodon-ts-devel +%{_datadir}/translations/source/settings-accounts-mastodon.ts +%{_datadir}/translations/source/lipstick-jolla-home-mastodon.ts |
