]>
Commit | Line | Data |
---|---|---|
aad1ecd9 | 1 | Summary: UPnP library |
3c551657 | 2 | Summary(pl.UTF-8): Biblioteka UPnP |
aad1ecd9 | 3 | Name: gupnp |
9e96dbf1 | 4 | Version: 0.13.4 |
aad1ecd9 | 5 | Release: 1 |
3c551657 | 6 | License: LGPL v2+ |
aad1ecd9 | 7 | Group: Libraries |
84758277 | 8 | Source0: http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz |
9e96dbf1 | 9 | # Source0-md5: 0d562f5f02534c70c3743b2c514db8ba |
aad1ecd9 | 10 | URL: http://gupnp.org/ |
3c551657 | 11 | BuildRequires: autoconf >= 2.53 |
aad1ecd9 | 12 | BuildRequires: automake >= 1:1.9 |
145d5045 | 13 | BuildRequires: dbus-glib-devel >= 0.76 |
9e96dbf1 | 14 | BuildRequires: gir-repository-devel |
6705dc39 | 15 | BuildRequires: glib2-devel >= 1:2.18.0 |
9e96dbf1 | 16 | BuildRequires: gobject-introspection-devel >= 0.6.4 |
145d5045 | 17 | BuildRequires: gssdp-devel >= 0.7.1 |
3c551657 | 18 | BuildRequires: gtk-doc >= 1.0 |
6705dc39 | 19 | BuildRequires: libsoup-devel >= 2.4.1 |
aad1ecd9 | 20 | BuildRequires: libtool >= 2:1.5 |
3c551657 | 21 | BuildRequires: libuuid-devel >= 1.36 |
6705dc39 | 22 | BuildRequires: libxml2-devel >= 1:2.6.30 |
3c551657 | 23 | BuildRequires: pkgconfig |
aad1ecd9 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | GUPnP is an object-oriented open source framework for creating UPnP | |
28 | devices and control points, written in C using GObject and libsoup. | |
29 | The GUPnP API is intended to be easy to use, efficient and flexible. | |
30 | ||
3c551657 JB |
31 | %description -l pl.UTF-8 |
32 | GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do | |
33 | tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem | |
34 | bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne | |
35 | i elastyczne. | |
36 | ||
aad1ecd9 | 37 | %package devel |
38 | Summary: Header files for gupnp | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe gupnp | |
40 | Group: Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
6705dc39 | 42 | Requires: glib2-devel >= 1:2.18.0 |
145d5045 | 43 | Requires: gssdp-devel >= 0.7.1 |
6705dc39 | 44 | Requires: libsoup-devel >= 2.4.1 |
3c551657 | 45 | Requires: libuuid-devel >= 1.36 |
6705dc39 | 46 | Requires: libxml2-devel >= 1:2.6.30 |
aad1ecd9 | 47 | |
48 | %description devel | |
49 | This package contains header files for the Linux SDK for UPnP Devices | |
50 | (gupnp). | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu | |
54 | programistycznego do urządzeń UPnP (gupnp). | |
55 | ||
56 | %package static | |
3c551657 JB |
57 | Summary: Static gupnp libraries |
58 | Summary(pl.UTF-8): Statyczne biblioteki gupnp | |
aad1ecd9 | 59 | Group: Development/Libraries |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
3c551657 | 63 | Static gupnp libraries. |
aad1ecd9 | 64 | |
65 | %description static -l pl.UTF-8 | |
3c551657 | 66 | Statyczne biblioteki gupnp. |
aad1ecd9 | 67 | |
68 | %package apidocs | |
69 | Summary: gupnp API documentation | |
70 | Summary(pl.UTF-8): Dokumentacja API gupnp | |
71 | Group: Documentation | |
72 | Requires: gtk-doc-common | |
73 | ||
74 | %description apidocs | |
75 | gupnp API documentation. | |
76 | ||
77 | %description apidocs -l pl.UTF-8 | |
78 | Dokumentacja API gupnp. | |
79 | ||
80 | %prep | |
81 | %setup -q | |
82 | ||
83 | %build | |
9e96dbf1 | 84 | mkdir m4 |
aad1ecd9 | 85 | %{__gtkdocize} |
86 | %{__libtoolize} | |
87 | %{__aclocal} | |
88 | %{__autoconf} | |
89 | %{__autoheader} | |
90 | %{__automake} | |
91 | %configure \ | |
6705dc39 | 92 | --enable-gtk-doc \ |
145d5045 | 93 | --with-html-dir=%{_gtkdocdir} \ |
9e96dbf1 MB |
94 | --with-context-manager=network-manager \ |
95 | --disable-silent-rules | |
6705dc39 | 96 | |
aad1ecd9 | 97 | %{__make} |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %{__make} install \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %post -p /sbin/ldconfig | |
109 | %postun -p /sbin/ldconfig | |
110 | ||
111 | %files | |
112 | %defattr(644,root,root,755) | |
113 | %doc ChangeLog NEWS README | |
ac753885 | 114 | %attr(755,root,root) %{_bindir}/gupnp-binding-tool |
3c551657 | 115 | %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.* |
791ddac3 | 116 | %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.3 |
9e96dbf1 | 117 | %{_libdir}/girepository-1.0/GUPnP-1.0.typelib |
aad1ecd9 | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
3c551657 | 121 | %attr(755,root,root) %{_libdir}/libgupnp-1.0.so |
aad1ecd9 | 122 | %{_libdir}/libgupnp-1.0.la |
9e96dbf1 | 123 | %{_datadir}/gir-1.0/GUPnP-1.0.gir |
3c551657 | 124 | %{_includedir}/gupnp-1.0 |
aad1ecd9 | 125 | %{_pkgconfigdir}/gupnp-1.0.pc |
126 | ||
127 | %files static | |
128 | %defattr(644,root,root,755) | |
129 | %{_libdir}/libgupnp-1.0.a | |
130 | ||
131 | %files apidocs | |
132 | %defattr(644,root,root,755) | |
133 | %{_gtkdocdir}/gupnp |