]>
Commit | Line | Data |
---|---|---|
00d6d5b4 JB |
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 | |
c845e11a | 3 | Name: wgetpaste |
00d6d5b4 | 4 | Version: 2.28 |
c845e11a ER |
5 | Release: 1 |
6 | License: GPL v2+ | |
00d6d5b4 | 7 | Group: Applications/Networking |
c845e11a | 8 | Source0: http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2 |
00d6d5b4 | 9 | # Source0-md5: 97feb02d95c1e6d5aebee68aacb5ede6 |
55a1e339 ER |
10 | Source1: http://wgetpaste.zlin.dk/%{name}.example |
11 | # Source1-md5: 77392c788659cc648a59df2d239ebe19 | |
c845e11a | 12 | URL: http://wgetpaste.zlin.dk/ |
bb23678b | 13 | BuildRequires: rpmbuild(macros) >= 1.719 |
c845e11a ER |
14 | BuildRequires: sed >= 4.0 |
15 | Requires: coreutils | |
16 | Requires: sed | |
17 | Requires: wget | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
00d6d5b4 | 22 | A script that automates pasting to a number of pastebin services |
c845e11a ER |
23 | relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) |
24 | and wget. | |
25 | ||
3aa84bf5 | 26 | %description -l pl.UTF-8 |
00d6d5b4 JB |
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. | |
30 | ||
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} | |
36 | Requires: zsh | |
37 | ||
38 | %description -n zsh-completion-wgetpaste | |
39 | ZSH completion for wgetpaste command. | |
40 | ||
41 | %description -n zsh-completion-wgetpaste -l pl.UTF-8 | |
42 | Dopełnianie parametrów w ZSH dla polecenia wgetpaste. | |
815bb0fb | 43 | |
c845e11a ER |
44 | %prep |
45 | %setup -q | |
46 | %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' %{name} | |
55a1e339 | 47 | cp -a %{SOURCE1} . |
c845e11a ER |
48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
00d6d5b4 | 51 | |
c845e11a | 52 | install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} |
bb23678b | 53 | install -Dp _wgetpaste $RPM_BUILD_ROOT%{zsh_compdir}/_wgetpaste |
c845e11a ER |
54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
55a1e339 | 60 | %doc wgetpaste.example |
c845e11a | 61 | %attr(755,root,root) %{_bindir}/wgetpaste |
00d6d5b4 JB |
62 | |
63 | %files -n zsh-completion-wgetpaste | |
64 | %defattr(644,root,root,755) | |
bb23678b | 65 | %{zsh_compdir}/_wgetpaste |