]>
Commit | Line | Data |
---|---|---|
71402369 JB |
1 | Summary: GObject-based SSDP (Simple Service Discovery Protocol) library |
2 | Summary(pl.UTF-8): Biblioteka SSDP (Simple Service Discovery Protocol) oparta na GObject | |
2b51c964 | 3 | Name: gssdp |
ae975581 MB |
4 | # note: 0.10.x is stable, 0.11.x unstable |
5 | Version: 0.10.0 | |
6 | Release: 1 | |
f90f18b8 | 7 | License: LGPL v2+ |
2b51c964 | 8 | Group: Libraries |
71402369 JB |
9 | #Source0Download: http://gupnp.org/download |
10 | Source0: http://gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz | |
ae975581 | 11 | # Source0-md5: aec6a56ac1d4f8a4837da83f2d152556 |
2b51c964 | 12 | URL: http://gupnp.org/ |
f90f18b8 | 13 | BuildRequires: autoconf >= 2.53 |
2b51c964 | 14 | BuildRequires: automake >= 1:1.9 |
3b97e52a | 15 | BuildRequires: docbook-dtd412-xml |
ae975581 | 16 | BuildRequires: glib2-devel >= 1:2.22.0 |
8725a0f3 | 17 | BuildRequires: gobject-introspection-devel >= 0.6.4 |
71402369 | 18 | BuildRequires: gtk+2-devel >= 2:2.12 |
f90f18b8 | 19 | BuildRequires: gtk-doc >= 1.0 |
ae975581 | 20 | BuildRequires: libsoup-devel >= 2.26.1 |
2b51c964 | 21 | BuildRequires: libtool >= 2:1.5 |
f90f18b8 | 22 | BuildRequires: pkgconfig |
ae975581 | 23 | Requires: glib2 >= 1:2.22.0 |
71402369 | 24 | Requires: gtk+2 >= 2:2.12 |
2b51c964 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
71402369 JB |
28 | GSSDP is a GObject-based API that implements resource discovery and |
29 | announcement over SSDP (Simple Service Discovery Protocol). | |
2b51c964 | 30 | |
f90f18b8 | 31 | %description -l pl.UTF-8 |
71402369 JB |
32 | GSSDP to oparte na bibliotece GObject API implementujące wykrywanie i |
33 | rozgłaszanie zasobów przy użyciu protokołu SSDP (Simple Service | |
34 | Discovery Protocol). | |
f90f18b8 | 35 | |
2b51c964 | 36 | %package devel |
71402369 JB |
37 | Summary: Header files for GSSDP |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GSSDP | |
2b51c964 | 39 | Group: Development/Libraries |
40 | Requires: %{name} = %{version}-%{release} | |
ae975581 MB |
41 | Requires: glib2-devel >= 1:2.22.0 |
42 | Requires: libsoup-devel >= 2.26.1 | |
2b51c964 | 43 | |
44 | %description devel | |
71402369 | 45 | This package contains header files for GSSDP library. |
2b51c964 | 46 | |
f90f18b8 | 47 | %description devel -l pl.UTF-8 |
71402369 | 48 | Ten pakiet zawiera pliki nagłówkowe biblioteki GSSDP. |
f90f18b8 | 49 | |
2b51c964 | 50 | %package static |
71402369 JB |
51 | Summary: Static GSSDP library |
52 | Summary(pl.UTF-8): Statyczna biblioteka GSSDP | |
2b51c964 | 53 | Group: Development/Libraries |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
71402369 | 57 | Static GSSDP library. |
2b51c964 | 58 | |
59 | %description static -l pl.UTF-8 | |
71402369 | 60 | Statyczna biblioteka GSSDP. |
2b51c964 | 61 | |
62 | %package apidocs | |
71402369 JB |
63 | Summary: GSSDP API documentation |
64 | Summary(pl.UTF-8): Dokumentacja API GSSDP | |
2b51c964 | 65 | Group: Documentation |
66 | Requires: gtk-doc-common | |
67 | ||
68 | %description apidocs | |
71402369 | 69 | GSSDP API documentation. |
2b51c964 | 70 | |
71 | %description apidocs -l pl.UTF-8 | |
71402369 | 72 | Dokumentacja API GSSDP. |
2b51c964 | 73 | |
74 | %prep | |
75 | %setup -q | |
76 | ||
77 | %build | |
d3f7563e | 78 | mkdir m4 |
2b51c964 | 79 | %{__gtkdocize} |
80 | %{__libtoolize} | |
d3f7563e | 81 | %{__aclocal} -I m4 |
2b51c964 | 82 | %{__autoconf} |
83 | %{__autoheader} | |
84 | %{__automake} | |
85 | %configure \ | |
71402369 | 86 | --disable-silent-rules \ |
3473168a | 87 | --enable-gtk-doc \ |
71402369 | 88 | --with-html-dir=%{_gtkdocdir} |
3473168a | 89 | |
2b51c964 | 90 | %{__make} |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %{__make} install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT | |
97 | ||
fac5c0e3 MB |
98 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
99 | ||
2b51c964 | 100 | %clean |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %post -p /sbin/ldconfig | |
104 | %postun -p /sbin/ldconfig | |
105 | ||
106 | %files | |
107 | %defattr(644,root,root,755) | |
71402369 | 108 | %doc AUTHORS ChangeLog NEWS README |
a0028d9a | 109 | %attr(755,root,root) %{_bindir}/gssdp-device-sniffer |
f90f18b8 | 110 | %attr(755,root,root) %{_libdir}/libgssdp-1.0.so.*.*.* |
4585aa2c | 111 | %attr(755,root,root) %ghost %{_libdir}/libgssdp-1.0.so.2 |
8725a0f3 | 112 | %{_libdir}/girepository-1.0/GSSDP-1.0.typelib |
4585aa2c | 113 | %{_datadir}/gssdp |
2b51c964 | 114 | |
2b51c964 | 115 | %files devel |
116 | %defattr(644,root,root,755) | |
f90f18b8 | 117 | %attr(755,root,root) %{_libdir}/libgssdp-1.0.so |
8725a0f3 | 118 | %{_datadir}/gir-1.0/GSSDP-1.0.gir |
f90f18b8 | 119 | %{_includedir}/gssdp-1.0 |
2b51c964 | 120 | %{_pkgconfigdir}/gssdp-1.0.pc |
121 | ||
122 | %files static | |
123 | %defattr(644,root,root,755) | |
124 | %{_libdir}/libgssdp-1.0.a | |
125 | ||
126 | %files apidocs | |
127 | %defattr(644,root,root,755) | |
128 | %{_gtkdocdir}/gssdp |