]>
Commit | Line | Data |
---|---|---|
512706b6 | 1 | Summary: The Universal Plug and Play (UPnP) SDK for Linux |
8f4b96c0 | 2 | Summary(pl.UTF-8): Pakiet programistyczny Universal Plug and Play (UPnP) dla Linuksa |
512706b6 | 3 | Name: libupnp |
8f319c8f | 4 | Version: 1.14.0 |
9c3c3c93 | 5 | Release: 0.1 |
512706b6 | 6 | License: BSD |
e6af47db | 7 | Group: Libraries |
6c14d183 | 8 | Source0: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2 |
8f319c8f | 9 | # Source0-md5: be649223f0cf781aff2316e20eaac225 |
14514a7e | 10 | Patch0: %{name}-opt.patch |
721fc04d | 11 | URL: http://pupnp.sourceforge.net/ |
3fd5bc70 JB |
12 | BuildRequires: autoconf >= 2.60 |
13 | BuildRequires: automake >= 1:1.8 | |
8f319c8f | 14 | BuildRequires: doxygen |
e6af47db | 15 | BuildRequires: libtool >= 2:1.5 |
512706b6 JK |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | The Linux SDK for UPnP Devices (libupnp) provides developers with an | |
20 | API and open source code for building control points, devices, and | |
21 | bridges that are compliant with Version 1.0 of the Universal Plug and | |
22 | Play Device Architecture Specification. | |
23 | ||
bf02779f JR |
24 | %description -l pl.UTF-8 |
25 | Linuksowy pakiet programistyczny dla urządzeń UPnP (libupnp) dostarcza | |
26 | programistom API i kod z otwartymi źródłami służące do tworzenia | |
27 | punktów kontrolnych, urządzeń i mostków kompatybilnych z wersją 1.0 | |
28 | specyfikacji architektury urządzeń Universal Plug and Play. | |
61b88a23 | 29 | |
512706b6 JK |
30 | %package devel |
31 | Summary: Header files for libupnp | |
8f4b96c0 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe libupnp |
512706b6 JK |
33 | Group: Development/Libraries |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | This package contains header files for the Linux SDK for UPnP Devices | |
38 | (libupnp). | |
39 | ||
bf02779f JR |
40 | %description devel -l pl.UTF-8 |
41 | Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu | |
42 | programistycznego do urządzeń UPnP (libupnp). | |
61b88a23 | 43 | |
e6af47db JB |
44 | %package static |
45 | Summary: Static upnp libraries | |
8f4b96c0 | 46 | Summary(pl.UTF-8): Statyczne biblioteki upnp |
e6af47db JB |
47 | Group: Development/Libraries |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static upnp libraries. | |
52 | ||
bf02779f | 53 | %description static -l pl.UTF-8 |
e6af47db JB |
54 | Statyczne biblioteki upnp. |
55 | ||
e44fac5b JB |
56 | %package apidocs |
57 | Summary: API documentation for upnp libraries | |
58 | Summary(pl.UTF-8): Dokumentacja API bibliotek upnp | |
59 | Group: Documentation | |
60 | %if "%{_rpmversion}" >= "5" | |
61 | BuildArch: noarch | |
62 | %endif | |
63 | ||
64 | %description apidocs | |
65 | API documentation for upnp libraries. | |
66 | ||
67 | %description apidocs -l pl.UTF-8 | |
68 | Dokumentacja API bibliotek upnp. | |
69 | ||
512706b6 JK |
70 | %prep |
71 | %setup -q | |
14514a7e | 72 | %patch0 -p1 |
512706b6 JK |
73 | |
74 | %build | |
e6af47db JB |
75 | %{__libtoolize} |
76 | %{__aclocal} -I m4 | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
80 | %configure \ | |
8f319c8f | 81 | --disable-silent-rules \ |
e6af47db JB |
82 | %{?debug:--enable-debug} |
83 | %{__make} | |
8f319c8f | 84 | %{__make} -C docs docs |
512706b6 JK |
85 | |
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
e6af47db JB |
89 | %{__make} install \ |
90 | DESTDIR=$RPM_BUILD_ROOT | |
512706b6 JK |
91 | |
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
61b88a23 JB |
95 | %post -p /sbin/ldconfig |
96 | %postun -p /sbin/ldconfig | |
512706b6 JK |
97 | |
98 | %files | |
99 | %defattr(644,root,root,755) | |
8f319c8f | 100 | %doc COPYING ChangeLog THANKS |
e6af47db | 101 | %attr(755,root,root) %{_libdir}/libixml.so.*.*.* |
8f319c8f | 102 | %attr(755,root,root) %ghost %{_libdir}/libixml.so.11 |
e6af47db | 103 | %attr(755,root,root) %{_libdir}/libupnp.so.*.*.* |
8f319c8f | 104 | %attr(755,root,root) %ghost %{_libdir}/libupnp.so.17 |
512706b6 JK |
105 | |
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
e6af47db | 108 | %attr(755,root,root) %{_libdir}/libixml.so |
e6af47db JB |
109 | %attr(755,root,root) %{_libdir}/libupnp.so |
110 | %{_libdir}/libixml.la | |
e6af47db JB |
111 | %{_libdir}/libupnp.la |
112 | %{_includedir}/upnp | |
113 | %{_pkgconfigdir}/libupnp.pc | |
114 | ||
115 | %files static | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/libixml.a | |
e6af47db | 118 | %{_libdir}/libupnp.a |
e44fac5b JB |
119 | |
120 | %files apidocs | |
121 | %defattr(644,root,root,755) | |
8f319c8f | 122 | %doc docs/doxygen/html/ |