]> git.pld-linux.org Git - packages/trac.git/commitdiff
- add more javascript mimetypes auto/th/trac-0_12_2-2
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 16 Sep 2011 12:27:40 +0000 (12:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    silvercity-javascript-mimetypes.patch -> 1.1
    trac.spec -> 1.99

silvercity-javascript-mimetypes.patch [new file with mode: 0644]
trac.spec

diff --git a/silvercity-javascript-mimetypes.patch b/silvercity-javascript-mimetypes.patch
new file mode 100644 (file)
index 0000000..5cace5a
--- /dev/null
@@ -0,0 +1,18 @@
+--- Trac-0.12.2/./trac/mimeview/silvercity.py~ 2011-09-16 15:23:29.000000000 +0300
++++ Trac-0.12.2/./trac/mimeview/silvercity.py  2011-09-16 15:23:37.366808607 +0300
+@@ -48,6 +48,7 @@
+     'application/x-yaml':       ('YAML', 3),
+     'text/x-yaml':              ('YAML', 3),
+     'application/x-javascript': ('CPP', 3), # Kludgy.
++    'application/javascript':   ('CPP', 3), # Kludgy.
+     'text/x-asp':               ('HyperText', 3, {'asp.default.language':2}),
+     'text/x-c++hdr':            ('CPP', 3),
+     'text/x-c++src':            ('CPP', 3),
+@@ -60,6 +61,7 @@
+     'application/x-httpd-php3': ('HyperText', 3, {'asp.default.language': 4}),
+     'text/x-java':              ('Java', 3),
+     'text/x-javascript':        ('CPP', 3), # Kludgy.
++    'text/javascript':          ('CPP', 3), # Kludgy.
+     'text/x-psp':               ('HyperText', 3, {'asp.default.language': 3}),
+     'text/x-python':            ('Python', 3),
+     'text/x-ruby':              ('Ruby', 3),
index 1c3298b853fa51a063cf62a7d2e75d2764f7133e..ed5e93fd24d7f4e5c46caf1f7d6c47f79723ea31 100644 (file)
--- a/trac.spec
+++ b/trac.spec
@@ -5,7 +5,7 @@ Summary:        Integrated SCM, Wiki, Issue tracker and project environment
 Summary(pl.UTF-8):     Zintegrowane scm, wiki, system śledzenia problemów i środowisko projektowe
 Name:          trac
 Version:       0.12.2
-Release:       1
+Release:       2
 License:       BSD-like
 Group:         Applications/WWW
 Source0:       http://ftp.edgewall.com/pub/trac/Trac-%{version}.tar.gz
@@ -19,6 +19,7 @@ Source6:      %{name}-upgrade.py
 Patch0:                %{name}-root2http.patch
 Patch1:                %{name}-defaults.patch
 Patch2:                inherit-global-%{name}.ini.patch
+Patch3:                silvercity-javascript-mimetypes.patch
 URL:           http://trac.edgewall.org/
 BuildRequires: python >= 1:2.1
 BuildRequires: python-babel >= 0.9.5
@@ -89,6 +90,7 @@ Trac Python modules.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # using system jquery package
 rm trac/htdocs/js/jquery.js
This page took 0.066899 seconds and 4 git commands to generate.