]> git.pld-linux.org Git - packages/mailcap.git/commitdiff
- re-add .gadget -> application/x-windows-gadget (mime.types r1.15)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 26 Aug 2010 16:30:36 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mailcap.spec -> 1.62
    mime.types.patch -> 1.1

mailcap.spec
mime.types.patch [new file with mode: 0644]

index ce79b81fba6ef71fc9193c90121a483323463d8f..24e12651dac6f0c2a22220c1a61c5cb3e9dbc1f3 100644 (file)
@@ -1,8 +1,8 @@
 # TODO
 # - use IANA as source http://www.iana.org/assignments/media-types/ ?
 %bcond_without tests
-#
-%define        fcver   2.1.31
+
+%define                fcver   2.1.31
 Summary:       Defines multimedia helper applications for various programs
 Summary(de.UTF-8):     Definiert Multimedia-Hilfsapplikationen für diverse Programme
 Summary(es.UTF-8):     Define aplicaciones auxiliares multimedia para varios programas
@@ -15,12 +15,13 @@ Version:    2.3
 Release:       4
 License:       Public Domain
 Group:         Base
-Source0:       https://fedorahosted.org/released/mailcap/mailcap-%{fcver}.tar.gz
+Source0:       https://fedorahosted.org/released/mailcap/%{name}-%{fcver}.tar.gz
 # Source0-md5: 54f487f4038b703a3e87c2b95334857d
 Source1:       %{name}
 Source2:       %{name}.4
 Source3:       run-%{name}
 Source4:       run-%{name}.man
+Patch0:                mime.types.patch
 BuildRequires: rpm >= 4.4.9-56
 Suggests:      ImageMagick-coder-jpeg
 Suggests:      ImageMagick-coder-png
@@ -55,8 +56,8 @@ Suggests:     X11
 %else
 Suggests:      xterm
 %endif
-Conflicts:     rpm < 4.4.9
 %{?with_tests:BuildRequires:perl-base}
+Conflicts:     rpm < 4.4.9
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -99,6 +100,7 @@ paketini kullanamalarına olanak sağlar (zgv kurulmuş olmalı).
 
 %prep
 %setup -q -n %{name}-%{fcver}
+%patch0 -p1
 cp -a %{SOURCE1} mailcap
 
 %if "%{pld_release}" == "ac"
diff --git a/mime.types.patch b/mime.types.patch
new file mode 100644 (file)
index 0000000..d3f8b60
--- /dev/null
@@ -0,0 +1,10 @@
+--- mailcap-2.1.31/mime.types~ 2009-11-17 23:13:33.000000000 +0200
++++ mailcap-2.1.31/mime.types  2010-08-26 19:28:52.629404880 +0300
+@@ -843,6 +843,7 @@
+ application/xop+xml                           xop
+ application/xslt+xml                          xsl xslt
+ application/xv+xml                            mxml xhvml xvml xvm
++application/x-windows-gadget  gadget
+ application/zip                                       zip
+ audio/32kadpcm                                        726
+ # 3gp, 3gpp: video/3gpp
This page took 0.510722 seconds and 4 git commands to generate.