diff --git a/README.md b/README.md index 2275ebd..53846b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Data-Flow +Perl extension for simple-minded recipe-controlled build of data + diff --git a/perl-Data-Flow.spec b/perl-Data-Flow.spec new file mode 100644 index 0000000..0a1fc6e --- /dev/null +++ b/perl-Data-Flow.spec @@ -0,0 +1,66 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Data-Flow +Version: 1.02 +Release: 4mamba +Summary: Data::Flow - Perl extension for simple-minded recipe-controlled build of data +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Data-Flow-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver + +%description +Perl extension for simple-minded recipe-controlled build of data + +%prep +%setup -q -n Data-Flow-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Nov 12 2012 Silvan Calarco 1.02-4mamba +- perl 5.16 mass rebuild + +* Sun Jul 01 2012 Silvan Calarco 1.02-3mamba +- updated maintainer + +* Tue Nov 04 2008 Silvan Calarco 1.02-2mamba +- automatic rebuild by autodist + +* Thu Jun 12 2008 Tiziana Ferro 1.02-1mamba +- update to 1.02 + +* Fri Nov 19 2004 Alessandro Ramazzina 0.09-1qilnx +- package created by autospec