commit dab0d05e386362968104d58a089caedfb4573e5a Author: Denis Fateyev <de...@fateyev.com> Date: Fri Sep 12 06:31:40 2014 +0600
perl-Data-Faker: initial import (#1138971) .gitignore | 1 + perl-Data-Faker.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..5721734 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Data-Faker-0.10.tar.gz diff --git a/perl-Data-Faker.spec b/perl-Data-Faker.spec new file mode 100644 index 0000000..48a83f4 --- /dev/null +++ b/perl-Data-Faker.spec @@ -0,0 +1,65 @@ +Name: perl-Data-Faker +Version: 0.10 +Release: 2%{?dist} +Summary: Perl extension for generating fake data +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Faker/ + +Source0: http://search.cpan.org/CPAN/authors/id/W/WS/WSHELDAHL/Data-Faker-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) + +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec) +BuildRequires: perl(base) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(POSIX) + +# Testing +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +%description +This module creates fake (but reasonable) data that can be used +for things such as filling databases with fake information during +development of database related applications. + +%prep +%setup -q -n Data-Faker-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_bindir}/datafaker +%{_mandir}/man3/* + + +%changelog +* Tue Sep 09 2014 Denis Fateyev <de...@fateyev.com> - 0.10-2 +- Added BuildRequires, small changes in spec + +* Thu Sep 04 2014 Denis Fateyev <de...@fateyev.com> - 0.10-1 +- Initial release diff --git a/sources b/sources index e69de29..0ffabec 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +48792a48730e5f8489e16fd970b413a5 Data-Faker-0.10.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel