]> git.pld-linux.org Git - packages/perl-MIME-Types.git/commitdiff
- updated to 1.18
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Dec 2006 09:10:16 +0000 (09:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- real descs

Changed files:
    perl-MIME-Types.spec -> 1.24

perl-MIME-Types.spec

index 5ceb1c200f3f535143e72ec1db9e5ff6ef7a55d4..b92c4a175b92de930d9a44bd4b1e018cd533c91a 100644 (file)
@@ -5,16 +5,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
@@ -22,10 +24,23 @@ BuildArch:  noarch
 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}
@@ -43,12 +58,14 @@ rm -rf $RPM_BUILD_ROOT
 %{__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/*
This page took 0.129167 seconds and 4 git commands to generate.