6 |
Summary: Library and tools for the UPnP protocol |
Summary: Library and tools for the UPnP protocol |
7 |
Name: libupnp |
Name: libupnp |
8 |
Version: 1.6.6 |
Version: 1.6.6 |
9 |
Release: %mkrel 3 |
%define subrel 1 |
10 |
|
Release: %mkrel 4 |
11 |
License: BSD |
License: BSD |
12 |
Group: System/Libraries |
Group: System/Libraries |
13 |
URL: http://pupnp.sourceforge.net/ |
URL: http://pupnp.sourceforge.net/ |
14 |
Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2 |
Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2 |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
Patch0: libupnp-1.6.6-VU-922681.patch |
16 |
|
|
17 |
%description |
%description |
18 |
The Linux SDK for UPnP Devices (libupnp) provides developers with an API and |
The Linux SDK for UPnP Devices (libupnp) provides developers with an API and |
44 |
|
|
45 |
%prep |
%prep |
46 |
%setup -q |
%setup -q |
47 |
|
%patch0 -p1 |
48 |
|
|
49 |
%build |
%build |
50 |
%configure2_5x \ |
%configure2_5x \ |
57 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
58 |
%makeinstall_std |
%makeinstall_std |
59 |
|
|
60 |
|
# don't ship .a, .la |
61 |
|
find %{buildroot} -name *.a | xargs rm -f |
62 |
|
find %{buildroot} -name *.la | xargs rm -f |
63 |
|
|
64 |
%clean |
%clean |
65 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
66 |
|
|
|
%if %mdkversion < 200900 |
|
|
%post -n %{libname} -p /sbin/ldconfig |
|
|
%endif |
|
|
|
|
|
%if %mdkversion < 200900 |
|
|
%postun -n %{libname} -p /sbin/ldconfig |
|
|
%endif |
|
|
|
|
67 |
%files -n %{libname} |
%files -n %{libname} |
|
%defattr(-,root,root) |
|
68 |
%doc LICENSE NEWS README THANKS TODO |
%doc LICENSE NEWS README THANKS TODO |
69 |
%{_libdir}/*upnp.so.%{major}* |
%{_libdir}/*upnp.so.%{major}* |
70 |
%{_libdir}/*.so.%{minor}* |
%{_libdir}/*.so.%{minor}* |
71 |
|
|
72 |
%files -n %{develname} |
%files -n %{develname} |
|
%defattr(-,root,root) |
|
73 |
%{_includedir}/* |
%{_includedir}/* |
74 |
%{_libdir}/*.so |
%{_libdir}/*.so |
|
%{_libdir}/*.a |
|
|
%{_libdir}/*.la |
|
75 |
%{_libdir}/pkgconfig/*pc |
%{_libdir}/pkgconfig/*pc |
76 |
%{_docdir}/%{name} |
%{_docdir}/%{name} |
|
|
|
|
|
|