Author: aredridel                    Date: Sun Dec 13 01:47:22 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

---- Files affected:
packages/perl-DBIx-MyServer:
   perl-DBIx-MyServer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-DBIx-MyServer/perl-DBIx-MyServer.spec
diff -u /dev/null packages/perl-DBIx-MyServer/perl-DBIx-MyServer.spec:1.1
--- /dev/null   Sun Dec 13 02:47:22 2009
+++ packages/perl-DBIx-MyServer/perl-DBIx-MyServer.spec Sun Dec 13 02:47:17 2009
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DBIx
+%define        pnam    MyServer
+Summary:       DBIx::MyServer - Server-side implementation of the MySQL 
network protocol
+#Summary(pl.UTF-8):
+Name:          perl-DBIx-MyServer
+Version:       0.41
+Release:       1
+License:       GPL v2
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/DBIx/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 68fe60f5efe23e7dc67e0aa9c39c3a0e
+#URL:          http://search.cpan.org/dist/DBIx-MyServer/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+# generic URL, check or change before uncommenting
+%if %{with tests}
+BuildRequires: perl-DBD-mysql >= 0.00
+BuildRequires: perl-DBI >= 0.00
+BuildRequires: perl-Digest-SHA1 >= 0.00
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module emulates the server side of the MySQL protocol. This
+allows you to run your own faux-MySQL servers which can accept
+commands and queries and reply accordingly.
+
+Please see examples/myserver.pl for a system that allows building
+functional mysql servers that rewrite queries or return arbitary data.
+
+
+
+# %description -l pl.UTF-8 # TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%attr(755,root,root) %{_bindir}/myserver.pl
+%{perl_vendorlib}/DBIx/*.pm
+%{perl_vendorlib}/DBIx/MyServer
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedb...@pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/12/13 01:47:17  aredridel
+- added
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to