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