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