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