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: 4178f44c95c642db0a5f540ede283ecf
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: rpm-build >= 4.6
20 BuildRequires: rpmbuild(macros) >= 1.752
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The Linux SDK for UPnP Devices (libupnp) provides developers with an
25 API and open source code for building control points, devices, and
26 bridges that are compliant with Version 1.0 of the Universal Plug and
27 Play Device Architecture Specification.
29 %description -l pl.UTF-8
30 Linuksowy pakiet programistyczny dla urządzeń UPnP (libupnp) dostarcza
31 programistom API i kod z otwartymi źródłami służące do tworzenia
32 punktów kontrolnych, urządzeń i mostków kompatybilnych z wersją 1.0
33 specyfikacji architektury urządzeń Universal Plug and Play.
36 Summary: Header files for libupnp
37 Summary(pl.UTF-8): Pliki nagłówkowe libupnp
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: openssl-devel >= 0.9.8b
41 Conflicts: libupnp1.6-devel
44 This package contains header files for the Linux SDK for UPnP Devices
47 %description devel -l pl.UTF-8
48 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
49 programistycznego do urządzeń UPnP (libupnp).
52 Summary: Static upnp libraries
53 Summary(pl.UTF-8): Statyczne biblioteki upnp
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
56 Conflicts: libupnp1.6-static
59 Static upnp libraries.
61 %description static -l pl.UTF-8
62 Statyczne biblioteki upnp.
65 Summary: API documentation for upnp libraries
66 Summary(pl.UTF-8): Dokumentacja API bibliotek upnp
71 API documentation for upnp libraries.
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API bibliotek upnp.
81 # LFS is required in library clients (including examples)
82 %{__sed} -i -e '/^Cflags/ s/$/ -D_FILE_OFFSET_BITS=64/' libupnp.pc.in
83 %{__sed} -i -e '/^AM_CPPFLAGS =/ s/= /= -D_FILE_OFFSET_BITS=64 /' upnp/sample/Makefile.am
92 %{?debug:--enable-debug} \
94 --disable-silent-rules
96 %{__make} -C docs docs
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
105 rm -rf $RPM_BUILD_ROOT
107 %post -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
111 %defattr(644,root,root,755)
112 %doc COPYING ChangeLog THANKS
113 %attr(755,root,root) %{_libdir}/libixml.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libixml.so.11
115 %attr(755,root,root) %{_libdir}/libupnp.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libupnp.so.17
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libixml.so
121 %attr(755,root,root) %{_libdir}/libupnp.so
122 %{_libdir}/libixml.la
123 %{_libdir}/libupnp.la
125 %{_pkgconfigdir}/libupnp.pc
128 %defattr(644,root,root,755)
133 %defattr(644,root,root,755)
134 %doc docs/doxygen/html/*.{html,js,css,png}