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>
14 <h1>CodeMirror: RPM spec mode</h1>
16 <div><textarea id="code" name="code">
18 # spec file for package minidlna
20 # Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
22 # All modifications and additions to the file contributed by third parties
23 # remain the property of their copyright owners, unless otherwise agreed
24 # upon. The license for this file, and modifications and additions to the
25 # file, is the same license as for the pristine package itself (unless the
26 # license for the pristine package is not an Open Source License, in which
27 # case the license is the MIT License). An "Open Source License" is a
28 # license that conforms to the Open Source Definition (Version 1.9)
29 # published by the Open Source Initiative.
35 Summary: Portable Universal Plug and Play (UPnP) SDK
36 Group: System/Libraries
38 Url: http://sourceforge.net/projects/pupnp/
39 Source0: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2
40 BuildRoot: %{_tmppath}/%{name}-%{version}-build
43 The portable Universal Plug and Play (UPnP) SDK provides support for building
44 UPnP-compliant control points, devices, and bridges on several operating
47 %package -n libupnp-devel
48 Summary: Portable Universal Plug and Play (UPnP) SDK
49 Group: Development/Libraries/C and C++
50 Provides: pkgconfig(libupnp)
51 Requires: %{name} = %{version}
53 %description -n libupnp-devel
54 The portable Universal Plug and Play (UPnP) SDK provides support for building
55 UPnP-compliant control points, devices, and bridges on several operating
59 %setup -n libupnp-%{version}
62 %configure --disable-static
67 find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
69 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(-,root,root,-)
75 %doc ChangeLog NEWS README TODO
76 %{_libdir}/libixml.so.*
77 %{_libdir}/libthreadutil.so.*
78 %{_libdir}/libupnp.so.*
80 %files -n libupnp-devel
81 %defattr(-,root,root,-)
82 %{_libdir}/pkgconfig/libupnp.pc
84 %{_libdir}/libthreadutil.so
88 %changelog</textarea></div>
90 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
97 <p><strong>MIME types defined:</strong> <code>text/x-rpm-spec</code>.</p>