sailfish-safe

Sailfish frontend for safe(1)
git clone git://git.z3bra.org/sailfish-safe.git
Log | Files | Refs | README | LICENSE

harbour-safe.spec (1605B)


      1 Name:       harbour-safe
      2 
      3 %{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
      4 %{!?qtc_make:%define qtc_make make}
      5 %{?qtc_builddir:%define _builddir %qtc_builddir}
      6 
      7 Summary:    A frontend for the safe secret keeper
      8 Version:    0.1
      9 Release:    1
     10 Group:      Applications/Productivity
     11 License:    GPLv3 and LGPLv2+
     12 URL:        https://z3bra.org/safe
     13 Source0:    %{name}-%{version}.tar.bz2
     14 
     15 
     16 Requires:   sailfishsilica-qt5 >= 0.10.9
     17 # I'll package it someday
     18 #Requires:   safe
     19 
     20 BuildRequires:  pkgconfig(sailfishapp) >= 1.0.2
     21 BuildRequires:  pkgconfig(Qt5Core)
     22 BuildRequires:  pkgconfig(Qt5Qml)
     23 BuildRequires:  pkgconfig(Qt5Quick)
     24 BuildRequires:  desktop-file-utils
     25 
     26 %description
     27 A frontend for the safe secrete keeper. Secrets are encrypted and stored
     28 on disk using a key derivated from your master password. An agent can
     29 retain the key in memory so you don't have to type the password over
     30 and over. The password is automatically cleared from the clipboard <M-h>D
     31 after 45 seconds.
     32 
     33 
     34 %prep
     35 %setup -q -n %{name}-%{version}
     36 
     37 %build
     38 
     39 %qtc_qmake5 DEFINES+=SAFE_VERSION=\\\\\\\"\"%{version}\\\\\\\"\"
     40 %qtc_make %{?_smp_mflags}
     41 
     42 %install
     43 rm -rf %{buildroot}
     44 %qmake5_install
     45 
     46 desktop-file-install --delete-original \
     47   --dir %{buildroot}%{_datadir}/applications \
     48    %{buildroot}%{_datadir}/applications/*.desktop
     49 
     50 %files
     51 %defattr(-,root,root,-)
     52 %{_bindir}
     53 %defattr(0666,root,root,-)
     54 %{_datadir}/%{name}
     55 %{_datadir}/applications/%{name}.desktop
     56 %{_datadir}/icons/hicolor/*/apps/%{name}.png
     57 
     58 %changelog
     59 * Tue Jul 13 2021 Willy Goiffon <contact@z3bra.org> 0.1-1
     60 - Initial release, based off Daniel Vrátil's harbour-passilic