Author: agaran Date: Sat Jan 19 21:55:53 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, builds here, rel 1
---- Files affected: SPECS: perl-Net-FS-Gmail.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Net-FS-Gmail.spec diff -u /dev/null SPECS/perl-Net-FS-Gmail.spec:1.1 --- /dev/null Sat Jan 19 22:55:53 2008 +++ SPECS/perl-Net-FS-Gmail.spec Sat Jan 19 22:55:48 2008 @@ -0,0 +1,74 @@ +# $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 Net +%define pnam FS-Gmail +Summary: Net::FS::Gmail - store and retrieve files on Gmail +#Summary(pl.UTF-8): +Name: perl-Net-FS-Gmail +Version: 0.2 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: e07e6b7dc2b97c0a4229ade19901e6e6 +# generic URL, check or change before uncommenting +#URL: http://search.cpan.org/dist/Net-FS-Gmail/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-Mail-Webmail-Gmail >= 1.05.1 +BuildRequires: perl-Time-modules +BuildRequires: perl-URI +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Perl module that allows using Gmail as file storage. + + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc INSTALL README TODO +%{perl_vendorlib}/Net/FS/*.pm +#%dir %{perl_vendorlib}/Net/FS +%{_mandir}/man[13]/* +%attr(755,root,root) %{_bindir}/gmailfs + +%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-01-19 21:55:48 agaran +- initial, builds here, rel 1 + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
