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: rpmbuild(macros) >= 1.719
14 BuildRequires: sed >= 4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 A script that automates pasting to a number of pastebin services
23 relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
26 %description -l pl.UTF-8
27 Skrypt, który automatyzuje wklejanie do wielu serwisów pastebin,
28 wykorzystując tylko programy bash, sed, coreutils
29 (mktemp/sort/tr/wc/whoami/tee) i wget.
31 %package -n zsh-completion-wgetpaste
32 Summary: ZSH completion for wgetpaste command
33 Summary(pl.UTF-8): Dopełnianie parametrów w ZSH dla polecenia wgetpaste
34 Group: Applications/Shells
35 Requires: %{name} = %{version}-%{release}
38 %description -n zsh-completion-wgetpaste
39 ZSH completion for wgetpaste command.
41 %description -n zsh-completion-wgetpaste -l pl.UTF-8
42 Dopełnianie parametrów w ZSH dla polecenia wgetpaste.
46 %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' %{name}
50 rm -rf $RPM_BUILD_ROOT
52 install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
53 install -Dp _wgetpaste $RPM_BUILD_ROOT%{zsh_compdir}/_wgetpaste
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc wgetpaste.example
61 %attr(755,root,root) %{_bindir}/wgetpaste
63 %files -n zsh-completion-wgetpaste
64 %defattr(644,root,root,755)
65 %{zsh_compdir}/_wgetpaste