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 |
Release: %mkrel 4 |
10 |
License: BSD |
License: BSD |
11 |
Group: System/Libraries |
Group: System/Libraries |
12 |
URL: http://pupnp.sourceforge.net/ |
URL: http://pupnp.sourceforge.net/ |
55 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
56 |
%makeinstall_std |
%makeinstall_std |
57 |
|
|
58 |
|
# don't ship .a, .la |
59 |
|
find %{buildroot} -name *.a | xargs rm -f |
60 |
|
find %{buildroot} -name *.la | xargs rm -f |
61 |
|
|
62 |
%clean |
%clean |
63 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
64 |
|
|
|
%if %mdkversion < 200900 |
|
|
%post -n %{libname} -p /sbin/ldconfig |
|
|
%endif |
|
|
|
|
|
%if %mdkversion < 200900 |
|
|
%postun -n %{libname} -p /sbin/ldconfig |
|
|
%endif |
|
|
|
|
65 |
%files -n %{libname} |
%files -n %{libname} |
66 |
%defattr(-,root,root) |
%defattr(-,root,root) |
67 |
%doc LICENSE NEWS README THANKS TODO |
%doc LICENSE NEWS README THANKS TODO |
72 |
%defattr(-,root,root) |
%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} |
|
|
|
|
|
|