1 Summary: Script that automates pasting to a number of pastebin services
2 Summary(pl.UTF-8): Skrypt automatyzujący wklejanie do wielu serwisów pastebin
7 Group: Applications/Networking
8 Source0: http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2
9 # Source0-md5: 97feb02d95c1e6d5aebee68aacb5ede6
10 Source1: http://wgetpaste.zlin.dk/%{name}.example
11 # Source1-md5: 77392c788659cc648a59df2d239ebe19
12 URL: http://wgetpaste.zlin.dk/
13 BuildRequires: sed >= 4.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 A script that automates pasting to a number of pastebin services
22 relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
25 %description -l pl.UTF-8
26 Skrypt, który automatyzuje wklejanie do wielu serwisów pastebin,
27 wykorzystując tylko programy bash, sed, coreutils
28 (mktemp/sort/tr/wc/whoami/tee) i wget.
30 %package -n zsh-completion-wgetpaste
31 Summary: ZSH completion for wgetpaste command
32 Summary(pl.UTF-8): Dopełnianie parametrów w ZSH dla polecenia wgetpaste
33 Group: Applications/Shells
34 Requires: %{name} = %{version}-%{release}
37 %description -n zsh-completion-wgetpaste
38 ZSH completion for wgetpaste command.
40 %description -n zsh-completion-wgetpaste -l pl.UTF-8
41 Dopełnianie parametrów w ZSH dla polecenia wgetpaste.
45 %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' %{name}
49 rm -rf $RPM_BUILD_ROOT
51 install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
52 install -Dp _wgetpaste $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_wgetpaste
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc wgetpaste.example
60 %attr(755,root,root) %{_bindir}/wgetpaste
62 %files -n zsh-completion-wgetpaste
63 %defattr(644,root,root,755)
64 %{_datadir}/zsh/site-functions/_wgetpaste