Author: japhy Date: Fri May 30 10:50:41 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - New package.
---- Files affected: SPECS: perl-Net-Yadis.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Net-Yadis.spec diff -u /dev/null SPECS/perl-Net-Yadis.spec:1.1 --- /dev/null Fri May 30 12:50:41 2008 +++ SPECS/perl-Net-Yadis.spec Fri May 30 12:50:35 2008 @@ -0,0 +1,119 @@ +# $Revision$, $Date$ +# +############################################################ +# +# NOTE +# - use the SOURCES/pldcpan.pl script for new perl packages +# also available in pldcpan package. +# +############################################################ +# +# 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 Net +%define pnam Yadis +Summary: Yadis service discovery protocol +Summary(pl.UTF-8): Protokół rozpoznawania usług Yadis +Name: perl-Net-Yadis +Version: 1.0 +Release: 0.1 +License: unknown +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 29e1d96b2fad64826ba2361f296bdf69 +URL: http://search.cpan.org/dist/Net-Yadis/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-XML-XPath +BuildRequires: perl-libwww +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl.UTF-8 + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +# Don't use pipes here: they generally don't work. Apply a patch. +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} +# if module isn't noarch, use: +# %{__make} \ +# CC="%{__cc}" +# OPTIMIZE="%{rpmcflags}" + +%{?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 +%{perl_vendorlib}/Net/Yadis* +%{_mandir}/man3/* + +%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-05-30 10:50:35 japhy +- New package. + +Revision 1.45 2007-12-29 01:07:37 glen +- pass CC + +Revision 1.44 2007-07-15 21:41:22 paszczus +- added Source0-md5 + +Revision 1.43 2007/07/15 19:56:29 glen +- there exists pldcpan package which is preffered due automatic deps + +Revision 1.42 2007/07/14 11:51:32 radek +- more visible note about pldcpan + +Revision 1.41 2007/02/12 22:09:17 glen +- tabs in preamble + +Revision 1.40 2007/02/12 01:06:34 baggins +- converted to UTF-8 + +Revision 1.39 2006/11/07 22:02:41 qboosh +- please use gpm-friendly Source0 URL + +Revision 1.38 2006/10/25 22:26:35 glen +- leave URL by default on to encourage filling it + +Revision 1.37 2006/07/27 22:05:58 glen +- add PDIR/PNAM replace placeholders +- note about pldcpan + +Revision 1.36 2006/02/20 18:43:46 qboosh +- noted generic URL + +Revision 1.35 2005/11/15 22:55:15 glen +- add autodeps, cut languages that nobody fills anyway + +Revision 1.34 2005/08/09 07:50:12 glen +- use pure_install target to prevent perlocal.pod being created (from ExtUtils::MakeMaker manual) + +Revision 1.33 2004/12/02 06:07:36 ankry +- more BR, cut off changelog ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
