f3f7dcb24a1b41e92fe9caf27f84fc95dad2da93 — Timothée Floure 2 years ago 87dbdd4
Add RPM package definition
1 files changed, 38 insertions(+), 0 deletions(-)

A dist/rpm/pisk.spec
A dist/rpm/pisk.spec => dist/rpm/pisk.spec +38 -0
@@ 0,0 1,38 @@
Name:     pisk
Version:  0.1.1
Release:  1%{?dist}
Summary:  Curses application allowing an unprivileged user to manage disks

License:  GPLv3
URL:      https://git.sr.ht/~fnux/pisk/
Source0:  %{url}snapshot/%{name}-v%{version}.tar.xz

BuildArch: noarch
BuildRequires:  perl-generators perl-podlators
# perl-generators takes care of the perl dependencies
Requires:  dbus
Requires:  udisks2


%setup -q -n %{name}-v%{version}

pod2man pisk > pisk.1

mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 755 pisk %{buildroot}/%{_bindir}/pisk
install -p -m 644 pisk.1 %{buildroot}/%{_mandir}/man1/pisk.1

%doc README.md

* Tue Sep 11 2018 Timothée Floure <fnux@fedoraproject.org> - 0.1.0-1
- let there be package.