SPECS: perl-MIME-Types.spec - updated to 1.18 - real descs

qboosh qboosh at pld-linux.org
Fri Dec 22 10:10:21 CET 2006


Author: qboosh                       Date: Fri Dec 22 09:10:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.18
- real descs

---- Files affected:
SPECS:
   perl-MIME-Types.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/perl-MIME-Types.spec
diff -u SPECS/perl-MIME-Types.spec:1.23 SPECS/perl-MIME-Types.spec:1.24
--- SPECS/perl-MIME-Types.spec:1.23	Mon Nov  7 15:18:13 2005
+++ SPECS/perl-MIME-Types.spec	Fri Dec 22 10:10:16 2006
@@ -6,16 +6,18 @@
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	MIME
 %define		pnam	Types
-Summary:	MIME::Types Perl module
-Summary(pl):	Moduł Perla MIME::Types
+Summary:	MIME::Types Perl module - definition of MIME types
+Summary(pl):	Moduł Perla MIME::Types - definicje typów MIME
 Name:		perl-MIME-Types
-Version:	1.16
+Version:	1.18
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	311f9bc8d0eba40667c898a57d0eac23
+Source0:	http://www.cpan.org/modules/by-module/MIME/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	fec1a57dfc4a0d7177b98fd75844685b
+URL:		http://search.cpan.org/dist/MIME-Types/
+%{?with_tests:BuildRequires:	perl-Test-Simple >= 0.47}
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-libnet
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -23,10 +25,23 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-MIME::Types - Definition of MIME types.
-
+MIME types are used in MIME compliant lines, for instance as part of
+e-mail and HTTP traffic, to indicate the type of content which is
+transmitted. Sometimes real knowledge about a mime-type is need.
+
+This module maintains a set of MIME::Type objects, which each describe
+one known MIME type. There are many types defined by RFCs and vendors,
+so the list is long but not complete.
+ 
 %description -l pl
-MIME::Types - definicje typów MIME.
+Typy MIME są używane w liniach nagłówka zgodnych z MIME, na przykład
+jako część transmisji e-mail lub HTTP, do określenia rodzaju
+przesyłanej treści. Czasem potrzebna jest znajomość prawdziwego
+mime-type.
+
+Ten moduł utrzymuje zbiór obiektów MIME::Type, z których każdy opisuje
+jeden znany typ MIME. Zawiera wiele typów zdefiniowanych przez RFC i
+producentów, więc lista jest długa, ale niepełna.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -44,14 +59,16 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/MIME/*.pod
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%{perl_vendorlib}/%{pdir}/%{pnam}.pm
-%{perl_vendorlib}/%{pdir}/Type.pm
+%doc ChangeLog README
+%{perl_vendorlib}/MIME/Types.pm
+%{perl_vendorlib}/MIME/Type.pm
 %{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/12/22 09:10:16  qboosh
+- updated to 1.18
+- real descs
+
 Revision 1.23  2005/11/07 14:18:13  migo
 - up to 1.16
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-MIME-Types.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list