]> git.pld-linux.org Git - packages/gssdp.git/blame - gssdp.spec
- updated to 0.10.0
[packages/gssdp.git] / gssdp.spec
CommitLineData
71402369
JB
1Summary: GObject-based SSDP (Simple Service Discovery Protocol) library
2Summary(pl.UTF-8): Biblioteka SSDP (Simple Service Discovery Protocol) oparta na GObject
2b51c964 3Name: gssdp
ae975581
MB
4# note: 0.10.x is stable, 0.11.x unstable
5Version: 0.10.0
6Release: 1
f90f18b8 7License: LGPL v2+
2b51c964 8Group: Libraries
71402369
JB
9#Source0Download: http://gupnp.org/download
10Source0: http://gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz
ae975581 11# Source0-md5: aec6a56ac1d4f8a4837da83f2d152556
2b51c964 12URL: http://gupnp.org/
f90f18b8 13BuildRequires: autoconf >= 2.53
2b51c964 14BuildRequires: automake >= 1:1.9
3b97e52a 15BuildRequires: docbook-dtd412-xml
ae975581 16BuildRequires: glib2-devel >= 1:2.22.0
8725a0f3 17BuildRequires: gobject-introspection-devel >= 0.6.4
71402369 18BuildRequires: gtk+2-devel >= 2:2.12
f90f18b8 19BuildRequires: gtk-doc >= 1.0
ae975581 20BuildRequires: libsoup-devel >= 2.26.1
2b51c964 21BuildRequires: libtool >= 2:1.5
f90f18b8 22BuildRequires: pkgconfig
ae975581 23Requires: glib2 >= 1:2.22.0
71402369 24Requires: gtk+2 >= 2:2.12
2b51c964 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
71402369
JB
28GSSDP is a GObject-based API that implements resource discovery and
29announcement over SSDP (Simple Service Discovery Protocol).
2b51c964 30
f90f18b8 31%description -l pl.UTF-8
71402369
JB
32GSSDP to oparte na bibliotece GObject API implementujące wykrywanie i
33rozgłaszanie zasobów przy użyciu protokołu SSDP (Simple Service
34Discovery Protocol).
f90f18b8 35
2b51c964 36%package devel
71402369
JB
37Summary: Header files for GSSDP
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GSSDP
2b51c964 39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
ae975581
MB
41Requires: glib2-devel >= 1:2.22.0
42Requires: libsoup-devel >= 2.26.1
2b51c964 43
44%description devel
71402369 45This package contains header files for GSSDP library.
2b51c964 46
f90f18b8 47%description devel -l pl.UTF-8
71402369 48Ten pakiet zawiera pliki nagłówkowe biblioteki GSSDP.
f90f18b8 49
2b51c964 50%package static
71402369
JB
51Summary: Static GSSDP library
52Summary(pl.UTF-8): Statyczna biblioteka GSSDP
2b51c964 53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
71402369 57Static GSSDP library.
2b51c964 58
59%description static -l pl.UTF-8
71402369 60Statyczna biblioteka GSSDP.
2b51c964 61
62%package apidocs
71402369
JB
63Summary: GSSDP API documentation
64Summary(pl.UTF-8): Dokumentacja API GSSDP
2b51c964 65Group: Documentation
66Requires: gtk-doc-common
67
68%description apidocs
71402369 69GSSDP API documentation.
2b51c964 70
71%description apidocs -l pl.UTF-8
71402369 72Dokumentacja API GSSDP.
2b51c964 73
74%prep
75%setup -q
76
77%build
d3f7563e 78mkdir 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
93rm -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
101rm -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
This page took 0.111964 seconds and 4 git commands to generate.