index.html 4.5 KB

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