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