1 |
unnilennium |
1.1 |
# $Id: libupnp.spec 5977 2007-11-10 12:22:14Z dag $ |
2 |
|
|
# Authority: dag |
3 |
|
|
|
4 |
|
|
Summary: Universal Plug and Play (UPnP) SDK |
5 |
|
|
Name: libupnp |
6 |
|
|
Version: 1.6.6 |
7 |
|
|
Release: 1%{?dist} |
8 |
|
|
License: BSD |
9 |
|
|
Group: System Environment/Libraries |
10 |
|
|
URL: http://pupnp.sourceforge.net/ |
11 |
|
|
|
12 |
|
|
Packager: Dag Wieers <dag@wieers.com> |
13 |
|
|
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
14 |
|
|
|
15 |
|
|
Source: http://dl.sf.net/pupnp/libupnp-%{version}.tar.bz2 |
16 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
The Universal Plug and Play (UPnP) SDK for Linux provides |
20 |
|
|
support for building UPnP-compliant control points, devices, |
21 |
|
|
and bridges on Linux. |
22 |
|
|
|
23 |
|
|
%package devel |
24 |
|
|
Summary: Header files, libraries and development documentation for %{name}. |
25 |
|
|
Group: Development/Libraries |
26 |
|
|
Requires: %{name} = %{version}-%{release} |
27 |
|
|
|
28 |
|
|
%description devel |
29 |
|
|
This package contains the header files, static libraries and development |
30 |
|
|
documentation for %{name}. If you like to develop programs using %{name}, |
31 |
|
|
you will need to install %{name}-devel. |
32 |
|
|
|
33 |
|
|
%prep |
34 |
|
|
%setup |
35 |
|
|
|
36 |
|
|
%build |
37 |
|
|
%configure \ |
38 |
|
|
--disable-static \ |
39 |
|
|
--with-documentation="/rpm-doc" |
40 |
|
|
%{__make} %{?_smp_mflags} |
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
%{__rm} -rf %{buildroot} |
44 |
|
|
%{__make} install DESTDIR="%{buildroot}" |
45 |
|
|
|
46 |
|
|
### Clean up buildroot |
47 |
|
|
%{__mv} -f %{buildroot}/rpm-doc/ . |
48 |
|
|
|
49 |
|
|
%post -p /sbin/ldconfig |
50 |
|
|
%postun -p /sbin/ldconfig |
51 |
|
|
|
52 |
|
|
%clean |
53 |
|
|
%{__rm} -rf %{buildroot} |
54 |
|
|
|
55 |
|
|
%files |
56 |
|
|
%defattr(-, root, root, 0755) |
57 |
|
|
%doc AUTHORS ChangeLog COPYING INSTALL LICENSE NEWS README THANKS TODO |
58 |
|
|
%{_libdir}/libixml.so.* |
59 |
|
|
%{_libdir}/libthreadutil.so.* |
60 |
|
|
%{_libdir}/libupnp.so.* |
61 |
|
|
|
62 |
|
|
%files devel |
63 |
|
|
%defattr(-, root, root, 0755) |
64 |
|
|
%doc rpm-doc/* |
65 |
|
|
%{_includedir}/upnp/ |
66 |
|
|
%{_libdir}/libixml.so |
67 |
|
|
%{_libdir}/libthreadutil.so |
68 |
|
|
%{_libdir}/libupnp.so |
69 |
|
|
%{_libdir}/pkgconfig/libupnp.pc |
70 |
|
|
%exclude %{_libdir}/libixml.la |
71 |
|
|
%exclude %{_libdir}/libthreadutil.la |
72 |
|
|
%exclude %{_libdir}/libupnp.la |
73 |
|
|
|
74 |
|
|
%changelog |
75 |
|
|
* Thu Sep 18 2008 Dag Wieers <dag@wieers.com> - 1.6.6-1 - 7981/dag |
76 |
|
|
- Updated to release 1.6.6. |
77 |
|
|
|
78 |
|
|
* Mon Dec 17 2007 Dag Wieers <dag@wieers.com> - 1.6.1-1 |
79 |
|
|
- Updated to release 1.6.1. |
80 |
|
|
|
81 |
|
|
* Wed Feb 21 2007 Dag Wieers <dag@wieers.com> - 1.4.2-1 |
82 |
|
|
- Initial package. (using DAR) |