]> git.pld-linux.org Git - packages/libupnp.git/blame - libupnp.spec
fractional release until legacy apps are handled
[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
8f319c8f 4Version: 1.14.0
9c3c3c93 5Release: 0.1
512706b6 6License: BSD
e6af47db 7Group: Libraries
6c14d183 8Source0: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
8f319c8f 9# Source0-md5: be649223f0cf781aff2316e20eaac225
14514a7e 10Patch0: %{name}-opt.patch
721fc04d 11URL: http://pupnp.sourceforge.net/
3fd5bc70
JB
12BuildRequires: autoconf >= 2.60
13BuildRequires: automake >= 1:1.8
8f319c8f 14BuildRequires: doxygen
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
e44fac5b
JB
56%package apidocs
57Summary: API documentation for upnp libraries
58Summary(pl.UTF-8): Dokumentacja API bibliotek upnp
59Group: Documentation
60%if "%{_rpmversion}" >= "5"
61BuildArch: noarch
62%endif
63
64%description apidocs
65API documentation for upnp libraries.
66
67%description apidocs -l pl.UTF-8
68Dokumentacja 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
87rm -rf $RPM_BUILD_ROOT
88
e6af47db
JB
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
512706b6
JK
91
92%clean
93rm -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/
This page took 0.181085 seconds and 4 git commands to generate.