]> git.pld-linux.org Git - packages/libupnp.git/blame - libupnp.spec
Update to 1.6.21 (fixes: CVE-2016-6255, CVE-2016-8863)
[packages/libupnp.git] / libupnp.spec
CommitLineData
512706b6 1Summary: The Universal Plug and Play (UPnP) SDK for Linux
8f4b96c0 2Summary(pl.UTF-8): Pakiet programistyczny Universal Plug and Play (UPnP) dla Linuksa
512706b6 3Name: libupnp
5b731435 4Version: 1.6.21
620ab43e 5Release: 1
512706b6 6License: BSD
e6af47db 7Group: Libraries
6c14d183 8Source0: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
5b731435 9# Source0-md5: 513adadb07fa039a8aeb0ceb7b7b0f6e
14514a7e 10Patch0: %{name}-opt.patch
721fc04d 11URL: http://pupnp.sourceforge.net/
3fd5bc70
JB
12BuildRequires: autoconf >= 2.60
13BuildRequires: automake >= 1:1.8
e6af47db 14BuildRequires: libtool >= 2:1.5
512706b6
JK
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18The Linux SDK for UPnP Devices (libupnp) provides developers with an
19API and open source code for building control points, devices, and
20bridges that are compliant with Version 1.0 of the Universal Plug and
21Play Device Architecture Specification.
22
bf02779f
JR
23%description -l pl.UTF-8
24Linuksowy pakiet programistyczny dla urządzeń UPnP (libupnp) dostarcza
25programistom API i kod z otwartymi źródłami służące do tworzenia
26punktów kontrolnych, urządzeń i mostków kompatybilnych z wersją 1.0
27specyfikacji architektury urządzeń Universal Plug and Play.
61b88a23 28
512706b6
JK
29%package devel
30Summary: Header files for libupnp
8f4b96c0 31Summary(pl.UTF-8): Pliki nagłówkowe libupnp
512706b6
JK
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36This package contains header files for the Linux SDK for UPnP Devices
37(libupnp).
38
bf02779f
JR
39%description devel -l pl.UTF-8
40Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
41programistycznego do urządzeń UPnP (libupnp).
61b88a23 42
e6af47db
JB
43%package static
44Summary: Static upnp libraries
8f4b96c0 45Summary(pl.UTF-8): Statyczne biblioteki upnp
e6af47db
JB
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static upnp libraries.
51
bf02779f 52%description static -l pl.UTF-8
e6af47db
JB
53Statyczne biblioteki upnp.
54
512706b6
JK
55%prep
56%setup -q
14514a7e 57%patch0 -p1
512706b6
JK
58
59%build
e6af47db
JB
60%{__libtoolize}
61%{__aclocal} -I m4
62%{__autoconf}
63%{__autoheader}
64%{__automake}
65%configure \
66 %{?debug:--enable-debug}
67%{__make}
512706b6
JK
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
e6af47db
JB
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
512706b6
JK
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
61b88a23
JB
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
512706b6
JK
80
81%files
82%defattr(644,root,root,755)
0e535bf5 83%doc ChangeLog LICENSE NEWS README THANKS TODO
e6af47db 84%attr(755,root,root) %{_libdir}/libixml.so.*.*.*
3fd5bc70 85%attr(755,root,root) %ghost %{_libdir}/libixml.so.2
e6af47db 86%attr(755,root,root) %{_libdir}/libthreadutil.so.*.*.*
c3eda8b4 87%attr(755,root,root) %ghost %{_libdir}/libthreadutil.so.6
e6af47db 88%attr(755,root,root) %{_libdir}/libupnp.so.*.*.*
c3eda8b4 89%attr(755,root,root) %ghost %{_libdir}/libupnp.so.6
512706b6
JK
90
91%files devel
92%defattr(644,root,root,755)
1386d474 93%doc docs/dist/*.pdf
e6af47db
JB
94%attr(755,root,root) %{_libdir}/libixml.so
95%attr(755,root,root) %{_libdir}/libthreadutil.so
96%attr(755,root,root) %{_libdir}/libupnp.so
97%{_libdir}/libixml.la
98%{_libdir}/libthreadutil.la
99%{_libdir}/libupnp.la
100%{_includedir}/upnp
101%{_pkgconfigdir}/libupnp.pc
102
103%files static
104%defattr(644,root,root,755)
105%{_libdir}/libixml.a
106%{_libdir}/libthreadutil.a
107%{_libdir}/libupnp.a
This page took 0.178653 seconds and 4 git commands to generate.