diff options
author | Valerio Virgillito | 2012-02-14 11:07:21 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-14 11:07:21 -0800 |
commit | f060190a3bffd9a16718f2ce0499699103d46372 (patch) | |
tree | a308fe7eacec2156c8212dff0892a3de925d5f9a /imports/codemirror/mode/rpm/spec/index.html | |
parent | f766cc203f30ea43ae8b83cf4b65d45cc4435ee9 (diff) | |
parent | 33bc9d62b8e6694500bf14d5b18187bd99a520a3 (diff) | |
download | ninja-f060190a3bffd9a16718f2ce0499699103d46372.tar.gz |
Merge branch 'FileIO' of https://github.com/joseeight/ninja-internal into integration
Diffstat (limited to 'imports/codemirror/mode/rpm/spec/index.html')
-rwxr-xr-x | imports/codemirror/mode/rpm/spec/index.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/imports/codemirror/mode/rpm/spec/index.html b/imports/codemirror/mode/rpm/spec/index.html new file mode 100755 index 00000000..e3bca152 --- /dev/null +++ b/imports/codemirror/mode/rpm/spec/index.html | |||
@@ -0,0 +1,99 @@ | |||
1 | <!doctype html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>CodeMirror: RPM spec mode</title> | ||
5 | <link rel="stylesheet" href="../../../lib/codemirror.css"> | ||
6 | <script src="../../../lib/codemirror.js"></script> | ||
7 | <script src="spec.js"></script> | ||
8 | <link rel="stylesheet" href="spec.css"> | ||
9 | <link rel="stylesheet" href="../../../doc/docs.css"> | ||
10 | <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> | ||
11 | </head> | ||
12 | <body> | ||
13 | <h1>CodeMirror: RPM spec mode</h1> | ||
14 | |||
15 | <div><textarea id="code" name="code"> | ||
16 | # | ||
17 | # spec file for package minidlna | ||
18 | # | ||
19 | # Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de> | ||
20 | # | ||
21 | # All modifications and additions to the file contributed by third parties | ||
22 | # remain the property of their copyright owners, unless otherwise agreed | ||
23 | # upon. The license for this file, and modifications and additions to the | ||
24 | # file, is the same license as for the pristine package itself (unless the | ||
25 | # license for the pristine package is not an Open Source License, in which | ||
26 | # case the license is the MIT License). An "Open Source License" is a | ||
27 | # license that conforms to the Open Source Definition (Version 1.9) | ||
28 | # published by the Open Source Initiative. | ||
29 | |||
30 | |||
31 | Name: libupnp6 | ||
32 | Version: 1.6.13 | ||
33 | Release: 0 | ||
34 | Summary: Portable Universal Plug and Play (UPnP) SDK | ||
35 | Group: System/Libraries | ||
36 | License: BSD-3-Clause | ||
37 | Url: http://sourceforge.net/projects/pupnp/ | ||
38 | Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 | ||
39 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | ||
40 | |||
41 | %description | ||
42 | The portable Universal Plug and Play (UPnP) SDK provides support for building | ||
43 | UPnP-compliant control points, devices, and bridges on several operating | ||
44 | systems. | ||
45 | |||
46 | %package -n libupnp-devel | ||
47 | Summary: Portable Universal Plug and Play (UPnP) SDK | ||
48 | Group: Development/Libraries/C and C++ | ||
49 | Provides: pkgconfig(libupnp) | ||
50 | Requires: %{name} = %{version} | ||
51 | |||
52 | %description -n libupnp-devel | ||
53 | The portable Universal Plug and Play (UPnP) SDK provides support for building | ||
54 | UPnP-compliant control points, devices, and bridges on several operating | ||
55 | systems. | ||
56 | |||
57 | %prep | ||
58 | %setup -n libupnp-%{version} | ||
59 | |||
60 | %build | ||
61 | %configure --disable-static | ||
62 | make %{?_smp_mflags} | ||
63 | |||
64 | %install | ||
65 | %makeinstall | ||
66 | find %{buildroot} -type f -name '*.la' -exec rm -f {} ';' | ||
67 | |||
68 | %post -p /sbin/ldconfig | ||
69 | |||
70 | %postun -p /sbin/ldconfig | ||
71 | |||
72 | %files | ||
73 | %defattr(-,root,root,-) | ||
74 | %doc ChangeLog NEWS README TODO | ||
75 | %{_libdir}/libixml.so.* | ||
76 | %{_libdir}/libthreadutil.so.* | ||
77 | %{_libdir}/libupnp.so.* | ||
78 | |||
79 | %files -n libupnp-devel | ||
80 | %defattr(-,root,root,-) | ||
81 | %{_libdir}/pkgconfig/libupnp.pc | ||
82 | %{_libdir}/libixml.so | ||
83 | %{_libdir}/libthreadutil.so | ||
84 | %{_libdir}/libupnp.so | ||
85 | %{_includedir}/upnp/ | ||
86 | |||
87 | %changelog</textarea></div> | ||
88 | <script> | ||
89 | var editor = CodeMirror.fromTextArea(document.getElementById("code"), { | ||
90 | mode: {name: "spec"}, | ||
91 | lineNumbers: true, | ||
92 | indentUnit: 4, | ||
93 | matchBrackets: true | ||
94 | }); | ||
95 | </script> | ||
96 | |||
97 | <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>.</p> | ||
98 | </body> | ||
99 | </html> | ||