rpms/perl-WWW-Myspace/devel filter-requires.sh, NONE, 1.1 perl-WWW-Myspace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Jul 5 23:57:38 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-WWW-Myspace/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29563/devel

Modified Files:
	.cvsignore sources 
Added Files:
	filter-requires.sh perl-WWW-Myspace.spec 
Log Message:
auto-import perl-WWW-Myspace-0.49-0.1.fc5 on branch devel from perl-WWW-Myspace-0.49-0.1.fc5.src.rpm


--- NEW FILE filter-requires.sh ---
#!/bin/sh
/usr/lib/rpm/perl.req $* |
  sed -e '/^perl(WWW::Myspace)$/d'


--- NEW FILE perl-WWW-Myspace.spec ---
Name:     perl-WWW-Myspace
Version:  0.49 
Release:  0.1%{?dist}
Summary:  Access your myspace.com profile in Perl!

Group:    Development/Libraries
License:  Artistic or GPL
URL:      http://search.cpan.org/dist/WWW-Myspace
Source0:  http://search.cpan.org/CPAN/authors/id/G/GR/GRANTG/WWW-Myspace-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Source99: filter-requires.sh
%define __perl_requires %{SOURCE99}

BuildArch:      noarch 
BuildRequires:  perl
BuildRequires:  perl(Test::More), perl(Spiffy) >= 0.24, perl(YAML) >= 0.39
BuildRequires:  perl(File::Spec::Functions), perl(Contextual::Return)
BuildRequires:  perl(Class::DBI::AbstractSearch), perl(Config::General)
BuildRequires:  perl(DateTime), perl(IO::Prompt), perl(List::Compare)
BuildRequires:  perl(Locale::SubCountry), perl(Math::Round)
BuildRequires:  perl(Params::Validate), perl(Class::DBI)
BuildRequires:  perl(Class::DBI::Loader), perl(WWW::Mechanize)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
WWW::Myspace.pm provides methods to access your myspace.com account and
functions automatically. It provides a simple interface for scripts to log in,
access lists of friends, scan user's profiles, retreive profile data, send
messages, and post comments.


%prep
%setup -q -n WWW-Myspace-%{version}

# exec + doc == bad
cd sample_scripts
chmod -x *


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*

# remove errant execute bit from the .pm's
find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null ';'


%check
# tests are disabled for mock/plague build as they attempt to access the
# mspace site.
#make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README Changes mysql.txt sample_scripts 
%{perl_vendorlib}/*
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_bindir}/*


%changelog
* Wed Jul  5 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.49-0.1
- filter requires...

* Thu Jun 29 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.49-0
- Initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-WWW-Myspace/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Jul 2006 23:57:21 -0000	1.1
+++ .cvsignore	5 Jul 2006 23:57:38 -0000	1.2
@@ -0,0 +1 @@
+WWW-Myspace-0.49.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-WWW-Myspace/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Jul 2006 23:57:21 -0000	1.1
+++ sources	5 Jul 2006 23:57:38 -0000	1.2
@@ -0,0 +1 @@
+655665da1b696e4b7d30989d623356e9  WWW-Myspace-0.49.tar.gz




More information about the fedora-extras-commits mailing list