index.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>CodeMirror: RPM spec mode</title>
  6. <link rel="stylesheet" href="../../../lib/codemirror.css">
  7. <script src="../../../lib/codemirror.js"></script>
  8. <script src="spec.js"></script>
  9. <link rel="stylesheet" href="spec.css">
  10. <link rel="stylesheet" href="../../../doc/docs.css">
  11. <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
  12. </head>
  13. <body>
  14. <h1>CodeMirror: RPM spec mode</h1>
  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. Name: libupnp6
  30. Version: 1.6.13
  31. Release: 0
  32. Summary: Portable Universal Plug and Play (UPnP) SDK
  33. Group: System/Libraries
  34. License: BSD-3-Clause
  35. Url: http://sourceforge.net/projects/pupnp/
  36. Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
  37. BuildRoot: %{_tmppath}/%{name}-%{version}-build
  38. %description
  39. The portable Universal Plug and Play (UPnP) SDK provides support for building
  40. UPnP-compliant control points, devices, and bridges on several operating
  41. systems.
  42. %package -n libupnp-devel
  43. Summary: Portable Universal Plug and Play (UPnP) SDK
  44. Group: Development/Libraries/C and C++
  45. Provides: pkgconfig(libupnp)
  46. Requires: %{name} = %{version}
  47. %description -n libupnp-devel
  48. The portable Universal Plug and Play (UPnP) SDK provides support for building
  49. UPnP-compliant control points, devices, and bridges on several operating
  50. systems.
  51. %prep
  52. %setup -n libupnp-%{version}
  53. %build
  54. %configure --disable-static
  55. make %{?_smp_mflags}
  56. %install
  57. %makeinstall
  58. find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %doc ChangeLog NEWS README TODO
  64. %{_libdir}/libixml.so.*
  65. %{_libdir}/libthreadutil.so.*
  66. %{_libdir}/libupnp.so.*
  67. %files -n libupnp-devel
  68. %defattr(-,root,root,-)
  69. %{_libdir}/pkgconfig/libupnp.pc
  70. %{_libdir}/libixml.so
  71. %{_libdir}/libthreadutil.so
  72. %{_libdir}/libupnp.so
  73. %{_includedir}/upnp/
  74. %changelog</textarea></div>
  75. <script>
  76. var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
  77. mode: {name: "spec"},
  78. lineNumbers: true,
  79. indentUnit: 4
  80. });
  81. </script>
  82. <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>.</p>
  83. </body>
  84. </html>