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: acbd3e03f920d8076acc11662930cd23
9 URL: https://facebook.github.io/PathPicker/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _appdir %{_prefix}/lib/%{name}
16 Bash Output File Picker
18 PathPicker parses piped input for files and presents it in a
24 # remove some bsdtar junk (AppleDouble encoded Macintosh files)
25 # https://github.com/facebook/PathPicker/issues/174
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir}}
31 cp -a fpp src $RPM_BUILD_ROOT%{_appdir}
32 ln -s %{_appdir}/fpp $RPM_BUILD_ROOT%{_bindir}
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{_bindir}/fpp
41 %attr(755,root,root) %{_appdir}/fpp