Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
fratzenjail
> _service:tar_git:harbour-fbjail.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:harbour-fbjail.spec of Package fratzenjail
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: harbour-fbjail # >> macros # << macros Summary: Jailed Facebook Browser Version: 0.10.0 Release: 1 Group: Applications/Internet License: MIT URL: https://codeberg.org/nephros/harbour-fbjail Source0: %{name}-%{version}.tar.bz2 Source100: harbour-fbjail.yaml BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: qt5-qttools-linguist BuildRequires: qt5-qmake BuildRequires: libsailfishapp-devel BuildRequires: sailfish-svg2png BuildRequires: desktop-file-utils AutoProv: 0 %description An unofficial Facebook client for Sailfish OS. It is in fact a simple combination of Sailfish OS features WebView and SailJail so your FB browsing is separated from your other browsing activities. Hopefully this will improve your privacy a little bit - although of course Facebook/Meta are world-class in spying so additional measures are required for this to actually be effective. %if "%{?vendor}" == "chum" Title: FratzenJail Type: desktop-application DeveloperName: nephros Categories: - Network - Browser Custom: Repo: https://codeberg.org/nephros/harbour-fbjail PackageIcon: https://codeberg.org/nephros/harbour-fbjail/raw/branch/master/icons/harbour-fbjail.svg Url: Donation: https://noyb.eu/en/donations-other-support-options %endif %package boosted Summary: Boosted %{summary} Group: Applications/Internet Requires: sailjail Requires: qml(Sailfish.WebEngine) Requires: qml(Sailfish.WebView) Requires: mapplauncherd-booster-browser Requires(pre): systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd Provides: %{name} = %{version}-%{release} Conflicts: %{name}-qml Obsoletes: %{name} < %{version} %description boosted An unofficial Facebook client for Sailfish OS. This version of FratzenJail uses a "booster". If in doubt, install the non-boosted version. Note that while speed increases of the boosted app will be noticeable, so will be the increased memory and CPU usage, which apply even if the app is not running! So, only install this if you use FratzenJail a lot. %if "%{?vendor}" == "chum" Title: FratzenJail Boosted Type: desktop-application DeveloperName: nephros Categories: - Network - Browser Custom: Repo: https://codeberg.org/nephros/harbour-fbjail PackageIcon: https://codeberg.org/nephros/harbour-fbjail/raw/branch/master/icons/harbour-fbjail.svg Url: Donation: https://noyb.eu/en/donations-other-support-options %endif %package qml Summary: %{summary} Group: Applications/Internet BuildArch: noarch Requires: sailjail Requires: qml(Sailfish.WebEngine) Requires: qml(Sailfish.WebView) Requires: libsailfishapp-launcher Provides: %{name} = %{version}-%{release} Conflicts: %{name}-boosted Obsoletes: %{name} < %{version} %description qml An unofficial Facebook client for Sailfish OS. It is in fact a simple combination of Sailfish OS features WebView and SailJail so your FB browsing is separated from your other browsing activities. Hopefully this will improve your privacy a little bit - although of course Facebook/Meta are world-class in spying so additional measures are required for this to actually be effective. %if "%{?vendor}" == "chum" Title: FratzenJail Type: desktop-application DeveloperName: nephros Categories: - Network - Browser Custom: Repo: https://codeberg.org/nephros/harbour-fbjail PackageIcon: https://codeberg.org/nephros/harbour-fbjail/raw/branch/master/icons/harbour-fbjail.svg Url: Donation: https://noyb.eu/en/donations-other-support-options %endif %prep %setup -q -n %{name}-%{version} # >> setup # << setup %build # >> build pre # << build pre %qmake5 make %{?_smp_mflags} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %qmake5_install # >> install post # mangle version information sed -i -e 's/Qt\.application\.version = "unreleased";$/Qt.application.version = "%{version}";/' %{buildroot}%{_datadir}/%{name}/qml/%{name}.qml # << install post desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/*.desktop %preun boosted # >> preun boosted %systemd_preun booster-browser@%{name}.service # << preun boosted %post boosted # >> post boosted %systemd_post booster-browser@%{name}.service desktop-file-install --delete-original \ --dir %{_datadir}/applications \ %{_datadir}/%{name}/boosted/*.desktop # << post boosted %postun boosted # >> postun boosted %systemd_postun booster-browser@%{name}.service # << postun boosted %post qml # >> post qml desktop-file-install --delete-original \ --dir %{_datadir}/applications \ %{_datadir}/%{name}/unboosted/*.desktop # << post qml %files boosted %defattr(-,root,root,-) %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/dbus-1/services/* %{_datadir}/%{name}/qml/* %{_datadir}/%{name}/translations/* %{_datadir}/%{name}/desktop/boosted %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/applications/%{name}-*.desktop %ghost %{_datadir}/applications/%{name}.desktop %{_userunitdir}/user-session.target.d/50-%{name}.conf # >> files boosted # << files boosted %files qml %defattr(-,root,root,-) %dir %{_datadir}/%{name} %{_datadir}/dbus-1/services/* %{_datadir}/%{name}/qml/* %{_datadir}/%{name}/translations/* %{_datadir}/%{name}/desktop/unboosted %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/applications/%{name}-*.desktop %ghost %{_datadir}/applications/%{name}.desktop # >> files qml # << files qml