1 Summary: The Universal Plug and Play (UPnP) SDK for Linux
2 Summary(pl.UTF-8): Pakiet programistyczny Universal Plug and Play (UPnP) dla Linuksa
8 Source0: https://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
9 # Source0-md5: f1ebf0b4036dd5827aed7c9f931ac463
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-openssl.patch
12 URL: http://pupnp.sourceforge.net/
13 BuildRequires: autoconf >= 2.60
14 BuildRequires: automake >= 1:1.8
15 BuildRequires: doxygen
16 BuildRequires: libtool >= 2:1.5
17 BuildRequires: openssl-devel >= 0.9.8b
18 BuildRequires: pkgconfig
19 BuildRequires: rpmbuild(macros) >= 1.752
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The Linux SDK for UPnP Devices (libupnp) provides developers with an
24 API and open source code for building control points, devices, and
25 bridges that are compliant with Version 1.0 of the Universal Plug and
26 Play Device Architecture Specification.
28 %description -l pl.UTF-8
29 Linuksowy pakiet programistyczny dla urządzeń UPnP (libupnp) dostarcza
30 programistom API i kod z otwartymi źródłami służące do tworzenia
31 punktów kontrolnych, urządzeń i mostków kompatybilnych z wersją 1.0
32 specyfikacji architektury urządzeń Universal Plug and Play.
35 Summary: Header files for libupnp
36 Summary(pl.UTF-8): Pliki nagłówkowe libupnp
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: openssl-devel >= 0.9.8b
40 Conflicts: libupnp1.6-devel
43 This package contains header files for the Linux SDK for UPnP Devices
46 %description devel -l pl.UTF-8
47 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
48 programistycznego do urządzeń UPnP (libupnp).
51 Summary: Static upnp libraries
52 Summary(pl.UTF-8): Statyczne biblioteki upnp
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
55 Conflicts: libupnp1.6-static
58 Static upnp libraries.
60 %description static -l pl.UTF-8
61 Statyczne biblioteki upnp.
64 Summary: API documentation for upnp libraries
65 Summary(pl.UTF-8): Dokumentacja API bibliotek upnp
70 API documentation for upnp libraries.
72 %description apidocs -l pl.UTF-8
73 Dokumentacja API bibliotek upnp.
80 # LFS is required in library clients (including examples)
81 %{__sed} -i -e '/^Cflags/ s/$/ -D_FILE_OFFSET_BITS=64/' libupnp.pc.in
82 %{__sed} -i -e '/^AM_CPPFLAGS =/ s/= /= -D_FILE_OFFSET_BITS=64 /' upnp/sample/Makefile.am
91 %{?debug:--enable-debug} \
93 --disable-silent-rules
95 %{__make} -C docs docs
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
110 %defattr(644,root,root,755)
111 %doc COPYING ChangeLog THANKS
112 %attr(755,root,root) %{_libdir}/libixml.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libixml.so.11
114 %attr(755,root,root) %{_libdir}/libupnp.so.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libupnp.so.17
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libixml.so
120 %attr(755,root,root) %{_libdir}/libupnp.so
121 %{_libdir}/libixml.la
122 %{_libdir}/libupnp.la
124 %{_pkgconfigdir}/libupnp.pc
127 %defattr(644,root,root,755)
132 %defattr(644,root,root,755)
133 %doc docs/doxygen/html/*.{html,js,css,png}