]> git.pld-linux.org Git - packages/gupnp.git/blob - gupnp.spec
- updated to 0.13.2
[packages/gupnp.git] / gupnp.spec
1 Summary:        UPnP library
2 Summary(pl.UTF-8):      Biblioteka UPnP
3 Name:           gupnp
4 Version:        0.13.2
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz
9 # Source0-md5:  eca3f79b32deb43f5de752d6cf2c160d
10 URL:            http://gupnp.org/
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  dbus-glib-devel >= 0.76
14 BuildRequires:  glib2-devel >= 1:2.18.0
15 BuildRequires:  gssdp-devel >= 0.7.1
16 BuildRequires:  gtk-doc >= 1.0
17 BuildRequires:  libsoup-devel >= 2.4.1
18 BuildRequires:  libtool >= 2:1.5
19 BuildRequires:  libuuid-devel >= 1.36
20 BuildRequires:  libxml2-devel >= 1:2.6.30
21 BuildRequires:  pkgconfig
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GUPnP is an object-oriented open source framework for creating UPnP
26 devices and control points, written in C using GObject and libsoup.
27 The GUPnP API is intended to be easy to use, efficient and flexible.
28
29 %description -l pl.UTF-8
30 GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do
31 tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem
32 bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne
33 i elastyczne.
34
35 %package devel
36 Summary:        Header files for gupnp
37 Summary(pl.UTF-8):      Pliki nagłówkowe gupnp
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       glib2-devel >= 1:2.18.0
41 Requires:       gssdp-devel >= 0.7.1
42 Requires:       libsoup-devel >= 2.4.1
43 Requires:       libuuid-devel >= 1.36
44 Requires:       libxml2-devel >= 1:2.6.30
45
46 %description devel
47 This package contains header files for the Linux SDK for UPnP Devices
48 (gupnp).
49
50 %description devel -l pl.UTF-8
51 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
52 programistycznego do urządzeń UPnP (gupnp).
53
54 %package static
55 Summary:        Static gupnp libraries
56 Summary(pl.UTF-8):      Statyczne biblioteki gupnp
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static gupnp libraries.
62
63 %description static -l pl.UTF-8
64 Statyczne biblioteki gupnp.
65
66 %package apidocs
67 Summary:        gupnp API documentation
68 Summary(pl.UTF-8):      Dokumentacja API gupnp
69 Group:          Documentation
70 Requires:       gtk-doc-common
71
72 %description apidocs
73 gupnp API documentation.
74
75 %description apidocs -l pl.UTF-8
76 Dokumentacja API gupnp.
77
78 %prep
79 %setup -q
80
81 %build
82 %{__gtkdocize}
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__autoheader}
87 %{__automake}
88 %configure \
89         --enable-gtk-doc \
90         --with-html-dir=%{_gtkdocdir} \
91         --with-context-manager=network-manager
92
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT
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 ChangeLog NEWS README
110 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
111 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.3
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
117 %{_libdir}/libgupnp-1.0.la
118 %{_includedir}/gupnp-1.0
119 %{_pkgconfigdir}/gupnp-1.0.pc
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/libgupnp-1.0.a
124
125 %files apidocs
126 %defattr(644,root,root,755)
127 %{_gtkdocdir}/gupnp
This page took 0.098207 seconds and 4 git commands to generate.