~fnux/pisk

ref: 69d4e8a472959d726218fa5ce77ee1beb4371f4f pisk/dist/rpm/pisk.spec -rw-r--r-- 991 bytes
69d4e8a4Timothée Floure Enforce tabs on pisk source file (via editorconfig) 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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}/archive/v%{version}.tar.gz

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

%description
%{summary}.

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

%build
pod2man pisk > pisk.1

%install
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

%files
%license LICENSE.txt
%doc README.md
%{_bindir}/pisk
%{_mandir}/man1/pisk.1*

%changelog
* Tue Sep 11 2018 Timothée Floure <fnux@fedoraproject.org> - 0.1.1-1
- Update to new upstream release.
- Ship LICENSE.txt file.

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