packages: wgetpaste/wgetpaste.spec (NEW) - new
glen
glen at pld-linux.org
Sun Aug 22 13:48:54 CEST 2010
Author: glen Date: Sun Aug 22 11:48:54 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/wgetpaste:
wgetpaste.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/wgetpaste/wgetpaste.spec
diff -u /dev/null packages/wgetpaste/wgetpaste.spec:1.1
--- /dev/null Sun Aug 22 13:48:54 2010
+++ packages/wgetpaste/wgetpaste.spec Sun Aug 22 13:48:49 2010
@@ -0,0 +1,46 @@
+# $Revision$, $Date$
+Summary: Paste to Paste sites from terminal
+Name: wgetpaste
+Version: 2.18
+Release: 1
+License: GPL v2+
+Source0: http://wgetpaste.zlin.dk/%{name}-%{version}.tar.bz2
+# Source0-md5: 0085d679445af9e6f695d036abee106d
+Group: Applications/Networking
+URL: http://wgetpaste.zlin.dk/
+BuildRequires: sed >= 4.0
+Requires: coreutils
+Requires: sed
+Requires: wget
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Script that automates pasting to a number of pastebin services
+relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee)
+and wget.
+
+%prep
+%setup -q
+%{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' %{name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -Dp %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/wgetpaste
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/08/22 11:48:49 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list