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