]>
Commit | Line | Data |
---|---|---|
2b51c964 | 1 | Summary: SSDP library |
f90f18b8 | 2 | Summary(pl.UTF-8): Biblioteka SSDP |
2b51c964 | 3 | Name: gssdp |
19e13164 PZ |
4 | Version: 0.6.2 |
5 | Release: 1 | |
f90f18b8 | 6 | License: LGPL v2+ |
2b51c964 | 7 | Group: Libraries |
c316406b | 8 | Source0: http://www.gupnp.org/sources/gssdp/%{name}-%{version}.tar.gz |
19e13164 | 9 | # Source0-md5: aac3f73343a82db7a9acd5233ab32719 |
2b51c964 | 10 | URL: http://gupnp.org/ |
f90f18b8 | 11 | BuildRequires: autoconf >= 2.53 |
2b51c964 | 12 | BuildRequires: automake >= 1:1.9 |
f90f18b8 JB |
13 | BuildRequires: glib2-devel >= 1:2.9.1 |
14 | BuildRequires: gtk-doc >= 1.0 | |
15 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
c316406b | 16 | BuildRequires: libsoup-devel >= 2.4.0 |
2b51c964 | 17 | BuildRequires: libtool >= 2:1.5 |
f90f18b8 | 18 | BuildRequires: pkgconfig |
2b51c964 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | GSSDP implements resource discovery and announcement over SSDP. | |
23 | ||
f90f18b8 JB |
24 | %description -l pl.UTF-8 |
25 | GSSDP implementuje wykrywanie i rozgłaszanie zasobów przy użyciu SSDP. | |
26 | ||
2b51c964 | 27 | %package devel |
28 | Summary: Header files for gssdp | |
f90f18b8 | 29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gssdp |
2b51c964 | 30 | Group: Development/Libraries |
31 | Requires: %{name} = %{version}-%{release} | |
f90f18b8 JB |
32 | Requires: glib2-devel >= 1:2.9.1 |
33 | Requires: libsoup-devel >= 2.2.97 | |
2b51c964 | 34 | |
35 | %description devel | |
36 | This package contains header files for gssdp. | |
37 | ||
f90f18b8 JB |
38 | %description devel -l pl.UTF-8 |
39 | Ten pakiet zawiera pliki nagłówkowe biblioteki gssdp. | |
40 | ||
2b51c964 | 41 | %package static |
42 | Summary: Static gssdp libraries | |
f90f18b8 | 43 | Summary(pl.UTF-8): Statyczna biblioteka gssdp |
2b51c964 | 44 | Group: Development/Libraries |
45 | Requires: %{name}-devel = %{version}-%{release} | |
46 | ||
47 | %description static | |
48 | Static gssdp libraries. | |
49 | ||
50 | %description static -l pl.UTF-8 | |
f90f18b8 | 51 | Statyczna biblioteka gssdp. |
2b51c964 | 52 | |
53 | %package apidocs | |
54 | Summary: gssdp API documentation | |
55 | Summary(pl.UTF-8): Dokumentacja API gssdp | |
56 | Group: Documentation | |
57 | Requires: gtk-doc-common | |
58 | ||
59 | %description apidocs | |
60 | gssdp API documentation. | |
61 | ||
62 | %description apidocs -l pl.UTF-8 | |
63 | Dokumentacja API gssdp. | |
64 | ||
65 | %prep | |
66 | %setup -q | |
67 | ||
68 | %build | |
69 | %{__gtkdocize} | |
70 | %{__libtoolize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
75 | %configure \ | |
76 | --with-html-dir=%{_gtkdocdir} | |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
93 | %doc ChangeLog NEWS README | |
a0028d9a | 94 | %attr(755,root,root) %{_bindir}/gssdp-device-sniffer |
f90f18b8 | 95 | %attr(755,root,root) %{_libdir}/libgssdp-1.0.so.*.*.* |
19e13164 | 96 | %attr(755,root,root) %ghost %{_libdir}/libgssdp-1.0.so.1 |
2b51c964 | 97 | %dir %{_datadir}/gssdp |
98 | %{_datadir}/gssdp/gssdp-device-sniffer.glade | |
99 | ||
2b51c964 | 100 | %files devel |
101 | %defattr(644,root,root,755) | |
f90f18b8 | 102 | %attr(755,root,root) %{_libdir}/libgssdp-1.0.so |
2b51c964 | 103 | %{_libdir}/libgssdp-1.0.la |
f90f18b8 | 104 | %{_includedir}/gssdp-1.0 |
2b51c964 | 105 | %{_pkgconfigdir}/gssdp-1.0.pc |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/libgssdp-1.0.a | |
110 | ||
111 | %files apidocs | |
112 | %defattr(644,root,root,755) | |
113 | %{_gtkdocdir}/gssdp |