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