]> git.pld-linux.org Git - packages/fpp.git/blob - fpp.spec
up to 0.9.2
[packages/fpp.git] / fpp.spec
1 Summary:        Bash Output File Picker
2 Name:           fpp
3 Version:        0.9.2
4 Release:        1
5 License:        BSD
6 Group:          Applications/Shells
7 Source0:        https://github.com/facebook/PathPicker/releases/download/%{version}/%{name}.%{version}.tar.gz
8 # Source0-md5:  722e3e6d9b52c305722bd2e46d3cb81b
9 URL:            https://facebook.github.io/PathPicker/
10 Requires:       python3
11 Requires:       python3-modules
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _appdir %{_prefix}/lib/%{name}
16
17 %description
18 Bash Output File Picker
19
20 PathPicker parses piped input for files and presents it in a
21 convenient UI.
22
23 %prep
24 %setup -qc
25
26 # remove some bsdtar junk (AppleDouble encoded Macintosh files)
27 # https://github.com/facebook/PathPicker/issues/174
28 rm -vf src/._*
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir}}
33 cp -a fpp src $RPM_BUILD_ROOT%{_appdir}
34 ln -s %{_appdir}/fpp $RPM_BUILD_ROOT%{_bindir}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/fpp
42 %dir %{_appdir}
43 %attr(755,root,root) %{_appdir}/fpp
44 %{_appdir}/src
This page took 0.091998 seconds and 3 git commands to generate.