Name: wgetpaste Version: 2.20 Release: %mkrel 2 Summary: pastebin command line tool URL: http://wgetpaste.zlin.dk Source0: http://wgetpaste.zlin.dk/wgetpaste-%{version}.tar.bz2 Source1: pastebin.mandriva.com.conf License: Public Domain Requires: wget Group: Networking/WWW BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Tool allowing to paste output from commands directly to several pastebin websites. %prep %setup -q %build %install %{__rm} -Rf %{buildroot} %{__mkdir_p} %{buildroot}%{_bindir} %{__cp} -p wgetpaste %{buildroot}%{_bindir} #%{__mkdir_p} %{buildroot}%{_sysconfdir}/wgetpaste.d #%{__cp} -p %{SOURCE1} %{buildroot}%{_sysconfdir}/wgetpaste.d/ %clean %{__rm} -Rf %{buildroot} %files %defattr(-,root,root) #%config(noreplace) %{_sysconfdir}/wgetpaste.d/* %{_bindir}/%{name} %changelog * Mon Jan 14 2013 umeabot <umeabot> 2.20-2.mga3 + Revision: 385687 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu May 10 2012 boklm <boklm> 2.20-1.mga2 + Revision: 235073 - version 2.20: remove pocoo and osl, add gists and poundpython * Sat Feb 26 2011 boklm <boklm> 2.18-1.mga1 + Revision: 61016 - don't add mandriva pastebin - version 2.18 - imported package wgetpaste