]> git.pld-linux.org Git - packages/gssdp.git/blame - gssdp.spec
- updated to 0.14.4
[packages/gssdp.git] / gssdp.spec
CommitLineData
7c02d3df
JB
1#
2# Conditional build:
2a0f40d5 3%bcond_without vala # Vala bindings
7c02d3df 4#
71402369
JB
5Summary: GObject-based SSDP (Simple Service Discovery Protocol) library
6Summary(pl.UTF-8): Biblioteka SSDP (Simple Service Discovery Protocol) oparta na GObject
2b51c964 7Name: gssdp
dfefb17c 8# note: 0.14.x is stable, 0.15.x unstable
aa9a971d 9Version: 0.14.4
ae975581 10Release: 1
f90f18b8 11License: LGPL v2+
2b51c964 12Group: Libraries
dfefb17c 13Source0: http://ftp.gnome.org/pub/GNOME/sources/gssdp/0.14/%{name}-%{version}.tar.xz
aa9a971d 14# Source0-md5: e48cd58090fefa6db24b4288e7074881
2b51c964 15URL: http://gupnp.org/
28ffac47 16BuildRequires: autoconf >= 2.64
4b6feacb 17BuildRequires: automake >= 1:1.11
3b97e52a 18BuildRequires: docbook-dtd412-xml
dfefb17c 19BuildRequires: glib2-devel >= 1:2.32
00a4c903
JB
20BuildRequires: gobject-introspection-devel >= 1.36.0
21BuildRequires: gtk+3-devel >= 3.0
f90f18b8 22BuildRequires: gtk-doc >= 1.0
ae975581 23BuildRequires: libsoup-devel >= 2.26.1
28ffac47 24BuildRequires: libtool >= 2:2.2
f90f18b8 25BuildRequires: pkgconfig
28ffac47 26BuildRequires: tar >= 1:1.22
00a4c903 27%{?with_vala:BuildRequires: vala >= 2:0.20}
28ffac47 28BuildRequires: xz
dfefb17c 29Requires: glib2 >= 1:2.32
00a4c903 30Requires: gtk+3 >= 3.0
2a466a6a 31Requires: libsoup >= 2.26.1
2b51c964 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
71402369
JB
35GSSDP is a GObject-based API that implements resource discovery and
36announcement over SSDP (Simple Service Discovery Protocol).
2b51c964 37
f90f18b8 38%description -l pl.UTF-8
71402369
JB
39GSSDP to oparte na bibliotece GObject API implementujące wykrywanie i
40rozgłaszanie zasobów przy użyciu protokołu SSDP (Simple Service
41Discovery Protocol).
f90f18b8 42
2b51c964 43%package devel
71402369
JB
44Summary: Header files for GSSDP
45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GSSDP
2b51c964 46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
dfefb17c 48Requires: glib2-devel >= 1:2.32
ae975581 49Requires: libsoup-devel >= 2.26.1
2b51c964 50
51%description devel
71402369 52This package contains header files for GSSDP library.
2b51c964 53
f90f18b8 54%description devel -l pl.UTF-8
71402369 55Ten pakiet zawiera pliki nagłówkowe biblioteki GSSDP.
f90f18b8 56
2b51c964 57%package static
71402369
JB
58Summary: Static GSSDP library
59Summary(pl.UTF-8): Statyczna biblioteka GSSDP
2b51c964 60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
62
63%description static
71402369 64Static GSSDP library.
2b51c964 65
66%description static -l pl.UTF-8
71402369 67Statyczna biblioteka GSSDP.
2b51c964 68
69%package apidocs
71402369
JB
70Summary: GSSDP API documentation
71Summary(pl.UTF-8): Dokumentacja API GSSDP
2b51c964 72Group: Documentation
73Requires: gtk-doc-common
74
75%description apidocs
71402369 76GSSDP API documentation.
2b51c964 77
78%description apidocs -l pl.UTF-8
71402369 79Dokumentacja API GSSDP.
2b51c964 80
7c02d3df
JB
81%package -n vala-gssdp
82Summary: Vala binding for GSSDP library
83Summary(pl.UTF-8): Wiązanie języka Vala do biblioteki GSSDP
84Group: Development/Libraries
85Requires: %{name}-devel = %{version}-%{release}
00a4c903 86Requires: vala >= 2:0.20
7c02d3df
JB
87
88%description -n vala-gssdp
89Vala binding for GSSDP library.
90
91%description -n vala-gssdp -l pl.UTF-8
92Wiązanie języka Vala do biblioteki GSSDP.
93
2b51c964 94%prep
95%setup -q
96
97%build
98%{__gtkdocize}
99%{__libtoolize}
d3f7563e 100%{__aclocal} -I m4
2b51c964 101%{__autoconf}
102%{__autoheader}
103%{__automake}
104%configure \
71402369 105 --disable-silent-rules \
3473168a 106 --enable-gtk-doc \
71402369 107 --with-html-dir=%{_gtkdocdir}
3473168a 108
2b51c964 109%{__make}
110
111%install
112rm -rf $RPM_BUILD_ROOT
113
114%{__make} install \
115 DESTDIR=$RPM_BUILD_ROOT
116
fac5c0e3
MB
117%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
118
2b51c964 119%clean
120rm -rf $RPM_BUILD_ROOT
121
122%post -p /sbin/ldconfig
123%postun -p /sbin/ldconfig
124
125%files
126%defattr(644,root,root,755)
2a0f40d5 127%doc AUTHORS NEWS README
a0028d9a 128%attr(755,root,root) %{_bindir}/gssdp-device-sniffer
f90f18b8 129%attr(755,root,root) %{_libdir}/libgssdp-1.0.so.*.*.*
28ffac47 130%attr(755,root,root) %ghost %{_libdir}/libgssdp-1.0.so.3
8725a0f3 131%{_libdir}/girepository-1.0/GSSDP-1.0.typelib
4585aa2c 132%{_datadir}/gssdp
2b51c964 133
2b51c964 134%files devel
135%defattr(644,root,root,755)
f90f18b8 136%attr(755,root,root) %{_libdir}/libgssdp-1.0.so
8725a0f3 137%{_datadir}/gir-1.0/GSSDP-1.0.gir
f90f18b8 138%{_includedir}/gssdp-1.0
2b51c964 139%{_pkgconfigdir}/gssdp-1.0.pc
140
141%files static
142%defattr(644,root,root,755)
143%{_libdir}/libgssdp-1.0.a
144
145%files apidocs
146%defattr(644,root,root,755)
147%{_gtkdocdir}/gssdp
7c02d3df
JB
148
149%if %{with vala}
150%files -n vala-gssdp
151%defattr(644,root,root,755)
152%{_datadir}/vala/vapi/gssdp-1.0.deps
153%{_datadir}/vala/vapi/gssdp-1.0.vapi
154%endif
This page took 0.150698 seconds and 4 git commands to generate.