1 Summary: Bash Output File Picker
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/
11 Requires: python3-modules
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define _appdir %{_prefix}/lib/%{name}
18 Bash Output File Picker
20 PathPicker parses piped input for files and presents it in a
26 # remove some bsdtar junk (AppleDouble encoded Macintosh files)
27 # https://github.com/facebook/PathPicker/issues/174
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}
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %attr(755,root,root) %{_bindir}/fpp
43 %attr(755,root,root) %{_appdir}/fpp