From 6c77932462c09e90d630100909c39ad589829c5f Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Wed, 1 Dec 2021 01:59:47 +1100 Subject: Add in RPM spec (tested on Fedora) --- passgen.spec | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 passgen.spec diff --git a/passgen.spec b/passgen.spec new file mode 100644 index 0000000..56a28cb --- /dev/null +++ b/passgen.spec @@ -0,0 +1,34 @@ +Name: passgen +Version: 0.0.0 +Release: 0%{?dist} +License: Zlib +Summary: A simple memorable and customisable password generator +Url: https://gitlab.com/nicholastay/passgen +# Sources can be obtained by +# git clone https://gitlab.com/nicholastay/passgen.git +# cd passgen +# tito build --tgz +Source0: %{name}-%{version}.tar.gz + +%description +Just a password generator that makes passwds.ninja-style passwords. + +Heavily inspired by a generator I used before at work, just that this time in C. (This is my first C project, please be gentle...) + +%prep +%autosetup + +%build +CFLAGS='-g' %make_build + +%install +%make_install PREFIX=%{_prefix} + +%files +%doc README.md +%license LICENCE +%{_bindir}/%{name} + +%changelog +* Wed Dec 01 2021 Nicholas Tay +- Initial spec -- cgit