Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
>
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.9.16 Release: 1 Group: Applications/Internet License: MIT URL: https://gitlab.com/nephros/harbour-fbjail Source0: %{name}-%{version}.tar.bz2 Source100: harbour-fbjail.yaml 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 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: qt5-qttools-linguist BuildRequires: qt5-qmake BuildRequires: libsailfishapp-devel BuildRequires: desktop-file-utils %description %{summary}. 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" PackageName: FratzenJail Type: desktop-application DeveloperName: nephros Categories: - Network - Browser Custom: Repo: https://gitlab.com/nephros/harbour-fbjail Icon: https://gitlab.com/nephros/harbour-fbjail/-/raw/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 -D -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %__install -D -m 644 %{name}-open-url.desktop %{buildroot}%{_datadir}/applications/%{name}-open-url.desktop %__install -D -m 644 50-%{name}.conf %{buildroot}%{_userunitdir}/user-session.target.d/50-%{name}.conf for f in $(find qml/ -type f -print); do %__install -D -m 644 $f %{buildroot}%{_datadir}/%{name}/$f done for f in $(find dbus-1/ -type f -print); do %__install -D -m 644 $f %{buildroot}%{_datadir}/${f} done # lets use a full path here: %{_libdir}/qt5/bin/lrelease -silent -removeidentical translations/* for f in translations/*.qm; do %__install -m 644 -D ${f} %{buildroot}%{_datadir}/%{name}/${f} done # << install pre %qmake5_install # >> install post for s in 512 256 172 128 108 86 64 48; do %__install -m 644 -D icons/%{name}-${s}.png %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/%{name}.png done %__install -m 644 -D icons/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg # 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 # >> preun %systemd_preun booster-browser@%{name}.service # << preun %post # >> post %systemd_post booster-browser@%{name}.service # << post %postun # >> postun %systemd_postun booster-browser@%{name}.service # << postun %files %defattr(-,root,root,-) %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/dbus-1/services/* %{_datadir}/%{name}/qml/* %{_datadir}/%{name}/translations/* %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/applications/%{name}*.desktop %{_userunitdir}/user-session.target.d/50-%{name}.conf # >> files # << files