]> git.pld-linux.org Git - packages/fpp.git/blob - fpp.spec
up to 0.7.2
[packages/fpp.git] / fpp.spec
1 Summary:        Bash Output File Picker
2 Name:           fpp
3 Version:        0.7.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:  acbd3e03f920d8076acc11662930cd23
9 URL:            https://facebook.github.io/PathPicker/
10 BuildArch:      noarch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _appdir %{_prefix}/lib/%{name}
14
15 %description
16 Bash Output File Picker
17
18 PathPicker parses piped input for files and presents it in a
19 convenient UI.
20
21 %prep
22 %setup -qc
23
24 # remove some bsdtar junk (AppleDouble encoded Macintosh files)
25 # https://github.com/facebook/PathPicker/issues/174
26 rm -vf src/._*
27
28 %install
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}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{_bindir}/fpp
40 %dir %{_appdir}
41 %attr(755,root,root) %{_appdir}/fpp
42 %{_appdir}/src
This page took 0.061967 seconds and 3 git commands to generate.