aboutsummaryrefslogtreecommitdiff
path: root/rpm
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
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')
-rw-r--r--rpm/harbour-passfish.changes.in18
-rw-r--r--rpm/harbour-passfish.changes.run.in25
-rw-r--r--rpm/harbour-passfish.spec69
-rw-r--r--rpm/harbour-passfish.yaml42
4 files changed, 154 insertions, 0 deletions
diff --git a/rpm/harbour-passfish.changes.in b/rpm/harbour-passfish.changes.in
new file mode 100644
index 0000000..db9a565
--- /dev/null
+++ b/rpm/harbour-passfish.changes.in
@@ -0,0 +1,18 @@
+# Rename this file as PassFish.changes to include changelog
+# entries in your RPM file.
+#
+# Add new changelog entries following the format below.
+# Add newest entries to the top of the list.
+# Separate entries from eachother with a blank line.
+#
+# Alternatively, if your changelog is automatically generated (e.g. with
+# the git-change-log command provided with Sailfish OS SDK), create a
+# PassFish.changes.run script to let mb2 run the required commands for you.
+
+# * date Author's Name <author's email> version-release
+# - Summary of changes
+
+* Sun Apr 13 2014 Jack Tar <jack.tar@example.com> 0.0.1-1
+- Scrubbed the deck
+- Hoisted the sails
+
diff --git a/rpm/harbour-passfish.changes.run.in b/rpm/harbour-passfish.changes.run.in
new file mode 100644
index 0000000..9a9cc5d
--- /dev/null
+++ b/rpm/harbour-passfish.changes.run.in
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Rename this file as PassFish.changes.run to let mb2 automatically
+# generate changelog from well formatted Git commit messages and tag
+# annotations.
+
+git-change-log
+
+# Here are some basic examples how to change from the default behavior. Run
+# git-change-log --help inside the Sailfish OS SDK chroot or build engine to
+# learn all the options git-change-log accepts.
+
+# Use a subset of tags
+#git-change-log --tags refs/tags/my-prefix/*
+
+# Group entries by minor revision, suppress headlines for patch-level revisions
+#git-change-log --dense '/[0-9]+.[0-9+$'
+
+# Trim very old changes
+#git-change-log --since 2014-04-01
+#echo '[ Some changelog entries trimmed for brevity ]'
+
+# Use the subjects (first lines) of tag annotations when no entry would be
+# included for a revision otherwise
+#git-change-log --auto-add-annotations
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
diff --git a/rpm/harbour-passfish.yaml b/rpm/harbour-passfish.yaml
new file mode 100644
index 0000000..2c47d4c
--- /dev/null
+++ b/rpm/harbour-passfish.yaml
@@ -0,0 +1,42 @@
+Name: harbour-passfish
+Summary: PassFish
+Version: 0.1
+Release: 1
+# The contents of the Group field should be one of the groups listed here:
+# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
+Group: Security/Accounts
+URL: https://github.com/soulsource
+License: GPL
+# This must be generated before uploading a package to a remote build service.
+# Usually this line does not need to be modified.
+Sources:
+- '%{name}-%{version}.tar.bz2'
+Description: |
+ A reimplementation of PasswordMaker Pro, aiming to be mostly compatible.
+Builder: cmake
+
+# This section specifies build dependencies that are resolved using pkgconfig.
+# This is the preferred way of specifying build dependencies for your package.
+PkgConfigBR:
+ - sailfishapp >= 1.0.2
+ - Qt5Core
+ - Qt5Qml
+ - Qt5Quick
+
+# Build dependencies without a pkgconfig setup can be listed here
+# PkgBR:
+# - package-needed-to-build
+
+# Runtime dependencies which are not automatically detected
+Requires:
+ - sailfishsilica-qt5 >= 0.10.9
+
+# All installed files
+Files:
+ - '%{_bindir}'
+ - '%{_datadir}/%{name}'
+ - '%{_datadir}/applications/%{name}.desktop'
+ - '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
+
+# For more information about yaml and what's supported in Sailfish OS
+# build system, please see https://wiki.merproject.org/wiki/Spectacle