Mercurial
comparison .cms/lib/codemirror/mode/rpm/index.html @ 0:78edf6b517a0 draft
24.10
author | Coffee CMS <info@coffee-cms.ru> |
---|---|
date | Fri, 11 Oct 2024 22:40:23 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:78edf6b517a0 |
---|---|
1 <!doctype html> | |
2 | |
3 <title>CodeMirror: RPM changes mode</title> | |
4 <meta charset="utf-8"/> | |
5 <link rel=stylesheet href="../../doc/docs.css"> | |
6 | |
7 <link rel="stylesheet" href="../../lib/codemirror.css"> | |
8 <script src="../../lib/codemirror.js"></script> | |
9 <script src="rpm.js"></script> | |
10 <link rel="stylesheet" href="../../doc/docs.css"> | |
11 <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> | |
12 | |
13 <div id=nav> | |
14 <a href="https://codemirror.net/5"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png" alt=""></a> | |
15 | |
16 <ul> | |
17 <li><a href="../../index.html">Home</a> | |
18 <li><a href="../../doc/manual.html">Manual</a> | |
19 <li><a href="https://github.com/codemirror/codemirror5">Code</a> | |
20 </ul> | |
21 <ul> | |
22 <li><a href="../index.html">Language modes</a> | |
23 <li><a class=active href="#">RPM</a> | |
24 </ul> | |
25 </div> | |
26 | |
27 <article> | |
28 <h2>RPM changes mode</h2> | |
29 | |
30 <div><textarea id="code" name="code"> | |
31 ------------------------------------------------------------------- | |
32 Tue Oct 18 13:58:40 UTC 2011 - misterx@example.com | |
33 | |
34 - Update to r60.3 | |
35 - Fixes bug in the reflect package | |
36 * disallow Interface method on Value obtained via unexported name | |
37 | |
38 ------------------------------------------------------------------- | |
39 Thu Oct 6 08:14:24 UTC 2011 - misterx@example.com | |
40 | |
41 - Update to r60.2 | |
42 - Fixes memory leak in certain map types | |
43 | |
44 ------------------------------------------------------------------- | |
45 Wed Oct 5 14:34:10 UTC 2011 - misterx@example.com | |
46 | |
47 - Tweaks for gdb debugging | |
48 - go.spec changes: | |
49 - move %go_arch definition to %prep section | |
50 - pass correct location of go specific gdb pretty printer and | |
51 functions to cpp as HOST_EXTRA_CFLAGS macro | |
52 - install go gdb functions & printer | |
53 - gdb-printer.patch | |
54 - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go | |
55 gdb functions and pretty printer | |
56 </textarea></div> | |
57 <script> | |
58 var editor = CodeMirror.fromTextArea(document.getElementById("code"), { | |
59 mode: {name: "rpm-changes"}, | |
60 lineNumbers: true, | |
61 indentUnit: 4 | |
62 }); | |
63 </script> | |
64 | |
65 <h2>RPM spec mode</h2> | |
66 | |
67 <div><textarea id="code2" name="code2"> | |
68 # | |
69 # spec file for package minidlna | |
70 # | |
71 # Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de> | |
72 # | |
73 # All modifications and additions to the file contributed by third parties | |
74 # remain the property of their copyright owners, unless otherwise agreed | |
75 # upon. The license for this file, and modifications and additions to the | |
76 # file, is the same license as for the pristine package itself (unless the | |
77 # license for the pristine package is not an Open Source License, in which | |
78 # case the license is the MIT License). An "Open Source License" is a | |
79 # license that conforms to the Open Source Definition (Version 1.9) | |
80 # published by the Open Source Initiative. | |
81 | |
82 | |
83 Name: libupnp6 | |
84 Version: 1.6.13 | |
85 Release: 0 | |
86 Summary: Portable Universal Plug and Play (UPnP) SDK | |
87 Group: System/Libraries | |
88 License: BSD-3-Clause | |
89 Url: http://sourceforge.net/projects/pupnp/ | |
90 Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 | |
91 BuildRoot: %{_tmppath}/%{name}-%{version}-build | |
92 | |
93 %description | |
94 The portable Universal Plug and Play (UPnP) SDK provides support for building | |
95 UPnP-compliant control points, devices, and bridges on several operating | |
96 systems. | |
97 | |
98 %package -n libupnp-devel | |
99 Summary: Portable Universal Plug and Play (UPnP) SDK | |
100 Group: Development/Libraries/C and C++ | |
101 Provides: pkgconfig(libupnp) | |
102 Requires: %{name} = %{version} | |
103 | |
104 %description -n libupnp-devel | |
105 The portable Universal Plug and Play (UPnP) SDK provides support for building | |
106 UPnP-compliant control points, devices, and bridges on several operating | |
107 systems. | |
108 | |
109 %prep | |
110 %setup -n libupnp-%{version} | |
111 | |
112 %build | |
113 %configure --disable-static | |
114 make %{?_smp_mflags} | |
115 | |
116 %install | |
117 %makeinstall | |
118 find %{buildroot} -type f -name '*.la' -exec rm -f {} ';' | |
119 | |
120 %post -p /sbin/ldconfig | |
121 | |
122 %postun -p /sbin/ldconfig | |
123 | |
124 %files | |
125 %defattr(-,root,root,-) | |
126 %doc ChangeLog NEWS README TODO | |
127 %{_libdir}/libixml.so.* | |
128 %{_libdir}/libthreadutil.so.* | |
129 %{_libdir}/libupnp.so.* | |
130 | |
131 %files -n libupnp-devel | |
132 %defattr(-,root,root,-) | |
133 %{_libdir}/pkgconfig/libupnp.pc | |
134 %{_libdir}/libixml.so | |
135 %{_libdir}/libthreadutil.so | |
136 %{_libdir}/libupnp.so | |
137 %{_includedir}/upnp/ | |
138 | |
139 %changelog</textarea></div> | |
140 <script> | |
141 var editor = CodeMirror.fromTextArea(document.getElementById("code2"), { | |
142 mode: {name: "rpm-spec"}, | |
143 lineNumbers: true, | |
144 indentUnit: 4 | |
145 }); | |
146 </script> | |
147 | |
148 <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>, <code>text/x-rpm-changes</code>.</p> | |
149 </article> |