]> git.pld-linux.org Git - packages/wgetpaste.git/blame - wgetpaste.spec
- use zsh_compdir, BR: rpmbuild(macros) >= 1.719
[packages/wgetpaste.git] / wgetpaste.spec
CommitLineData
00d6d5b4
JB
1Summary: Script that automates pasting to a number of pastebin services
2Summary(pl.UTF-8): Skrypt automatyzujący wklejanie do wielu serwisów pastebin
c845e11a 3Name: wgetpaste
00d6d5b4 4Version: 2.28
c845e11a
ER
5Release: 1
6License: GPL v2+
00d6d5b4 7Group: Applications/Networking
c845e11a 8Source0: http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2
00d6d5b4 9# Source0-md5: 97feb02d95c1e6d5aebee68aacb5ede6
55a1e339
ER
10Source1: http://wgetpaste.zlin.dk/%{name}.example
11# Source1-md5: 77392c788659cc648a59df2d239ebe19
c845e11a 12URL: http://wgetpaste.zlin.dk/
bb23678b 13BuildRequires: rpmbuild(macros) >= 1.719
c845e11a
ER
14BuildRequires: sed >= 4.0
15Requires: coreutils
16Requires: sed
17Requires: wget
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
00d6d5b4 22A script that automates pasting to a number of pastebin services
c845e11a
ER
23relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
24and wget.
25
3aa84bf5 26%description -l pl.UTF-8
00d6d5b4
JB
27Skrypt, który automatyzuje wklejanie do wielu serwisów pastebin,
28wykorzystując tylko programy bash, sed, coreutils
29(mktemp/sort/tr/wc/whoami/tee) i wget.
30
31%package -n zsh-completion-wgetpaste
32Summary: ZSH completion for wgetpaste command
33Summary(pl.UTF-8): Dopełnianie parametrów w ZSH dla polecenia wgetpaste
34Group: Applications/Shells
35Requires: %{name} = %{version}-%{release}
36Requires: zsh
37
38%description -n zsh-completion-wgetpaste
39ZSH completion for wgetpaste command.
40
41%description -n zsh-completion-wgetpaste -l pl.UTF-8
42Dopeł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 47cp -a %{SOURCE1} .
c845e11a
ER
48
49%install
50rm -rf $RPM_BUILD_ROOT
00d6d5b4 51
c845e11a 52install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
bb23678b 53install -Dp _wgetpaste $RPM_BUILD_ROOT%{zsh_compdir}/_wgetpaste
c845e11a
ER
54
55%clean
56rm -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
This page took 0.072846 seconds and 4 git commands to generate.