]> git.pld-linux.org Git - packages/wgetpaste.git/blob - wgetpaste.spec
d4ea3716b09ced587ec62eb6e2330d278eb5428d
[packages/wgetpaste.git] / wgetpaste.spec
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
3 Name:           wgetpaste
4 Version:        2.28
5 Release:        1
6 License:        GPL v2+
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
14 Requires:       coreutils
15 Requires:       sed
16 Requires:       wget
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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)
23 and wget.
24
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.
29
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}
35 Requires:       zsh
36
37 %description -n zsh-completion-wgetpaste
38 ZSH completion for wgetpaste command.
39
40 %description -n zsh-completion-wgetpaste -l pl.UTF-8
41 Dopełnianie parametrów w ZSH dla polecenia wgetpaste.
42
43 %prep
44 %setup -q
45 %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' %{name}
46 cp -a %{SOURCE1} .
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
52 install -Dp _wgetpaste $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/_wgetpaste
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc wgetpaste.example
60 %attr(755,root,root) %{_bindir}/wgetpaste
61
62 %files -n zsh-completion-wgetpaste
63 %defattr(644,root,root,755)
64 %{_datadir}/zsh/site-functions/_wgetpaste
This page took 0.061848 seconds and 2 git commands to generate.