From e4ad766315879e1ff05bb111229f073f8f0ed68e Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Mon, 10 Oct 2022 21:30:02 +0200 Subject: PassFish: Initial Commit Well, that's a lie. But nobody needs to see all the iterations I decided to sweep under the rug. That said, I think the repo is, while not clean, clean enough now, to not be embarrassed by uploading it to github. --- rpm/harbour-passfish.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 rpm/harbour-passfish.spec (limited to 'rpm/harbour-passfish.spec') diff --git a/rpm/harbour-passfish.spec b/rpm/harbour-passfish.spec new file mode 100644 index 0000000..d574bfa --- /dev/null +++ b/rpm/harbour-passfish.spec @@ -0,0 +1,69 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.32 +# + +Name: harbour-passfish + +# >> macros +%define __provides_exclude_from ^%{_datadir}/.*$ +%define __requires_exclude ^libpassfish.so$ +# << macros + +Summary: PassFish +Version: 0.1 +Release: 1 +Group: Security/Accounts +License: GPL +URL: https://github.com/soulsource +Source0: %{name}-%{version}.tar.bz2 +Source100: harbour-passfish.yaml +Requires: sailfishsilica-qt5 >= 0.10.9 +BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: desktop-file-utils +BuildRequires: cmake + +%description +A reimplementation of PasswordMaker Pro, aiming to be mostly compatible. + + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%cmake . +make %{?_smp_mflags} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%make_install + +# >> install post +# << install post + +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/*.desktop + +%files +%defattr(-,root,root,-) +%{_bindir} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/%{name}.png +# >> files +# << files -- cgit v1.2.3