From 6c82f97ccfe763412f9f019c3f59e95c9f49a21b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:17:23 +0100 Subject: [PATCH] automatic update by autodist [release 2.04-1mamba;Mon Dec 16 2013] --- README.md | 3 ++ perl-MIME-Types.spec | 94 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 perl-MIME-Types.spec diff --git a/README.md b/README.md index e321bb2..1f6b765 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-MIME-Types +MIME types are used by many Internet protocols, like e-mail and HTTP to indicate the type of data which is transported. +MIME::Types is an Object Oriented module which contains information about these types and lists some facts about them. + diff --git a/perl-MIME-Types.spec b/perl-MIME-Types.spec new file mode 100644 index 0000000..1602030 --- /dev/null +++ b/perl-MIME-Types.spec @@ -0,0 +1,94 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-MIME-Types +Version: 2.04 +Release: 1mamba +Summary: MIME::Types - Object Oriented module which contains information about MIME types +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/MIME/MIME-Types-%{version}.tar.gz +License: Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +MIME types are used by many Internet protocols, like e-mail and HTTP to indicate the type of data which is transported. +MIME::Types is an Object Oriented module which contains information about these types and lists some facts about them. + +%prep +%setup -q -n MIME-Types-%{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}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Dec 16 2013 Automatic Build System 2.04-1mamba +- automatic update by autodist + +* Sun Sep 08 2013 Automatic Build System 2.03-1mamba +- automatic update by autodist + +* Mon Aug 26 2013 Automatic Build System 2.02-1mamba +- automatic update by autodist + +* Mon Aug 05 2013 Automatic Build System 2.01-1mamba +- automatic update by autodist + +* Thu Jan 17 2013 Automatic Build System 1.38-1mamba +- automatic version update by autodist + +* Mon Jan 07 2013 Automatic Build System 1.37-1mamba +- automatic version update by autodist + +* Sun Nov 04 2012 Automatic Build System 1.36-1mamba +- automatic version update by autodist + +* Wed Aug 15 2012 Automatic Build System 1.35-1mamba +- automatic version update by autodist + +* Thu Jun 14 2012 Automatic Build System 1.34-1mamba +- automatic version update by autodist + +* Thu Aug 25 2011 Automatic Build System 1.32-1mamba +- automatic version update by autodist + +* Fri Mar 18 2011 Automatic Build System 1.31-1mamba +- automatic update by autodist + +* Sat Sep 12 2009 Automatic Build System 1.28-1mamba +- automatic update by autodist + +* Fri Feb 06 2009 Silvan Calarco 1.27-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.21-2mamba +- automatic rebuild by autodist + +* Fri Nov 09 2007 Aleph0 1.21-1mamba +- package created by autospec