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