diff options
author | Nivesh Rajbhandari | 2012-02-20 11:14:44 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-20 11:14:44 -0800 |
commit | abf78e2d7a97d295ce5a1c425fd359d47379137e (patch) | |
tree | d08c91bd2aef31e6325e0b499b2ffc390018bec6 /imports/codemirror/mode/rpm/spec/index.html | |
parent | e80a79bff57fecf3aa9b869d8ed2de5fd815287c (diff) | |
parent | e23708721a71ca4c71365f5f8e8ac7d6113926db (diff) | |
download | ninja-abf78e2d7a97d295ce5a1c425fd359d47379137e.tar.gz |
Merge branch 'refs/heads/ninja-internal' into ToolFixes
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> | ||