Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
link2clip
> _service:tar_git:linktoclip.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:linktoclip.spec of Package link2clip
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.32 # Name: linktoclip # >> macros # << macros Summary: Copies links to the clipboard Version: 0.10.2+filterplugins.20230201202203.1.g6cefb53 Release: 0 Group: Applications License: ASL 2.0 BuildArch: noarch URL: https://codeberg.org/nephros/linktoclip Source0: %{name}-%{version}.tar.gz Source100: linktoclip.yaml Source101: linktoclip-rpmlintrc Requires: libsailfishapp-launcher BuildRequires: qt5-qttools-linguist BuildRequires: qt5-qmake BuildRequires: qml-rpm-macros BuildRequires: sailfish-svg2png BuildRequires: desktop-file-utils %description This small tool registers itself als a protocol handler for all protocols, and if selected to open e.g. an URL, copies that URL to the clipboard, and shows a little UI with some details about the URL. Can be useful for debugging, or just generally to capture URLs used by different applications. There is no application icon in the Launcher for this. %if "%{?vendor}" == "chum" PackageName: Link2Clip Type: desktop-application DeveloperName: nephros Categories: - Utility Custom: Repo: https://codeberg.org/nephros/linktoclip Screenshots: - https://codeberg.org/nephros/linktoclip/raw/branch/master/Screenshot_000.png - https://codeberg.org/nephros/linktoclip/raw/branch/master/Screenshot_001.png Url: Help: https://forum.sailfishos.org/t/new-tool-link2clip/12667 %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 # lrelease -silent -removeidentical translations/* lrelease -silent -removeidentical *.pro # << install pre %qmake5_install # >> install post # mangle version info sed -i -e "s/unreleased/%{version}/" %{buildroot}%{_datadir}/%{name}/qml/%{name}.qml # << install post desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/*.desktop %files %defattr(-,root,root,-) %license LICENSE %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/%{name} %{_datadir}/%{name}/translations/*.qm %{_datadir}/%{name}/qml/* %{_datadir}/%{name}/contrib/* # >> files # << files