forked from perl/perl-MIME-Types
95 lines
2.7 KiB
RPMSpec
95 lines
2.7 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-MIME-Types (Version 1.18)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: perl-MIME-Types
|
||
|
URL: http://cpan.org/modules/by-module/MIME/
|
||
|
Version: 1.18
|
||
|
Release: 1
|
||
|
Requires: perl = %{perl_version}
|
||
|
Autoreqprov: on
|
||
|
Group: Development/Languages/Perl
|
||
|
License: Artistic License
|
||
|
Summary: MIME-Type Determination
|
||
|
Source: MIME-Types-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
MIME types are used in MIME entities, for instance as part of e-mail
|
||
|
and HTTP traffic. Sometimes real knowledge about a mime-type is need.
|
||
|
This module will supply it.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Mark Overmeer <mimetypes@overmeer.net>
|
||
|
|
||
|
%prep
|
||
|
%setup -n MIME-Types-%{version} -q
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc ChangeLog MANIFEST README
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{perl_vendorarch}/auto/MIME
|
||
|
%{perl_vendorlib}/MIME
|
||
|
/var/adm/perl-modules/perl-MIME-Types
|
||
|
|
||
|
%changelog -n perl-MIME-Types
|
||
|
* Wed Dec 13 2006 - anicka@suse.cz
|
||
|
- update to 1.18
|
||
|
* application/atom+xml and image/svg+xml
|
||
|
* audio/3gpp2 and video/3gpp2
|
||
|
* application/octet-stream += dmg, so, dll
|
||
|
and videa/x-flv.
|
||
|
* Wed Sep 13 2006 - anicka@suse.cz
|
||
|
- update to 1.17
|
||
|
* application/rdf+xml
|
||
|
* reprocessed manual-pages because FUNCTIONS chapers was lost
|
||
|
* use 'version' file for version
|
||
|
* added kml and kmz types by Google-Earth
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Tue Jan 03 2006 - anicka@suse.cz
|
||
|
- update 1.16
|
||
|
* Wed Sep 28 2005 - dmueller@suse.de
|
||
|
- add norootforbuild
|
||
|
* Mon Aug 01 2005 - cthiel@suse.de
|
||
|
- update to version 1.15
|
||
|
* Thu Feb 26 2004 - mjancar@suse.cz
|
||
|
- update to 1.12
|
||
|
* Fri Aug 22 2003 - mjancar@suse.cz
|
||
|
- require the perl version we build with
|
||
|
* Tue Jul 15 2003 - freitag@suse.de
|
||
|
- fixed spec-file: Used macros in installation and filelist
|
||
|
* Fri Jun 13 2003 - freitag@suse.de
|
||
|
- update to version 1.06 - no real changes, but now it is a stable
|
||
|
release. Some more Mimetypes were added.
|
||
|
* Fri Jun 13 2003 - freitag@suse.de
|
||
|
- fixed spec file (directories not listed)
|
||
|
* Mon May 26 2003 - ro@suse.de
|
||
|
- remove unpackaged files from buildroot
|
||
|
* Thu Aug 08 2002 - mls@suse.de
|
||
|
- use sitearch macro
|
||
|
* Tue Jul 02 2002 - mls@suse.de
|
||
|
- remove race in .packlist generation
|
||
|
* Mon Apr 08 2002 - freitag@suse.de
|
||
|
- new package with initial version 0.16, required by pdb
|