Author: glen Date: Mon Mar 31 18:44:58 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Bot-Pastebot.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Bot-Pastebot.spec diff -u /dev/null SPECS/perl-Bot-Pastebot.spec:1.1 --- /dev/null Mon Mar 31 20:44:58 2008 +++ SPECS/perl-Bot-Pastebot.spec Mon Mar 31 20:44:53 2008 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Bot +%define pnam Pastebot +Summary: The original clipboard-to-chat gateway. +Name: perl-Bot-Pastebot +Version: 0.50 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://dl.sourceforge.net/pastebot/%{name}-%{version}.tar.gz +# Source0-md5: c95628bdc58bbc472728ba43e23e9792 +URL: http://sourceforge.net/projects/pastebot/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-File-ShareDir +BuildRequires: perl-POE +BuildRequires: perl-POE-Component-IRC +BuildRequires: perl-Text-Template +BuildRequires: perl-libwww +BuildRequires: perltidy +%endif +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Pastebot is an IRC bot that saves channels from large amounts of +pasted material. Text is pasted into a web form, and the bot announces +an URL where it can be read. Interested people can partake in the joy +without the whole channel scrolling to hell. + +%prep +%setup -q + +%build +# Don't use pipes here: they generally don't work. Apply a patch. +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README CHANGES + +%attr(755,root,root) %{_bindir}/pastebot +%{_mandir}/man1/pastebot.1p* +%{perl_vendorarch}/Bot/Pastebot +%{perl_vendorarch}/auto/Bot/Pastebot + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-03-31 18:44:53 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
