aboutsummaryrefslogtreecommitdiff
path: root/rpm/harbour-passfish.spec
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2022-10-10 21:30:02 +0200
committerAndreas Grois <andi@grois.info>2022-10-10 21:37:15 +0200
commite4ad766315879e1ff05bb111229f073f8f0ed68e (patch)
tree4b043ff47c78b2c00c80c94ebda622c32c8b6d3d /rpm/harbour-passfish.spec
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.
Diffstat (limited to 'rpm/harbour-passfish.spec')
-rw-r--r--rpm/harbour-passfish.spec69
1 files changed, 69 insertions, 0 deletions
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