]> git.pld-linux.org Git - packages/libupnp.git/blame - libupnp.spec
- updated to 1.10.1 (new sonames)
[packages/libupnp.git] / libupnp.spec
CommitLineData
dcfbcc05 1# TODO: -apidocs (doc++ or doxygen based?)
512706b6 2Summary: The Universal Plug and Play (UPnP) SDK for Linux
8f4b96c0 3Summary(pl.UTF-8): Pakiet programistyczny Universal Plug and Play (UPnP) dla Linuksa
512706b6 4Name: libupnp
da998ec7 5Version: 1.10.1
620ab43e 6Release: 1
512706b6 7License: BSD
e6af47db 8Group: Libraries
6c14d183 9Source0: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
da998ec7 10# Source0-md5: 6060b9b7233996d174bf12f804f34d5f
14514a7e 11Patch0: %{name}-opt.patch
721fc04d 12URL: http://pupnp.sourceforge.net/
3fd5bc70
JB
13BuildRequires: autoconf >= 2.60
14BuildRequires: automake >= 1:1.8
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 73
dcfbcc05
JB
74# LFS is required in library clients (including examples)
75%{__sed} -i -e '/^Cflags/ s/$/ -D_FILE_OFFSET_BITS=64/' libupnp.pc.in
76%{__sed} -i -e '/^AM_CPPFLAGS =/ s/= /= -D_FILE_OFFSET_BITS=64 /' upnp/sample/Makefile.am
77
512706b6 78%build
e6af47db
JB
79%{__libtoolize}
80%{__aclocal} -I m4
81%{__autoconf}
82%{__autoheader}
83%{__automake}
84%configure \
85 %{?debug:--enable-debug}
86%{__make}
512706b6
JK
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
e6af47db
JB
91%{__make} install \
92 DESTDIR=$RPM_BUILD_ROOT
512706b6
JK
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
61b88a23
JB
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
512706b6
JK
99
100%files
101%defattr(644,root,root,755)
dcfbcc05 102%doc COPYING ChangeLog THANKS
e6af47db 103%attr(755,root,root) %{_libdir}/libixml.so.*.*.*
da998ec7 104%attr(755,root,root) %ghost %{_libdir}/libixml.so.11
e6af47db 105%attr(755,root,root) %{_libdir}/libupnp.so.*.*.*
da998ec7 106%attr(755,root,root) %ghost %{_libdir}/libupnp.so.15
512706b6
JK
107
108%files devel
109%defattr(644,root,root,755)
e6af47db 110%attr(755,root,root) %{_libdir}/libixml.so
e6af47db
JB
111%attr(755,root,root) %{_libdir}/libupnp.so
112%{_libdir}/libixml.la
e6af47db
JB
113%{_libdir}/libupnp.la
114%{_includedir}/upnp
115%{_pkgconfigdir}/libupnp.pc
116
117%files static
118%defattr(644,root,root,755)
119%{_libdir}/libixml.a
e6af47db 120%{_libdir}/libupnp.a
e44fac5b 121
dcfbcc05 122%if 0
e44fac5b
JB
123%files apidocs
124%defattr(644,root,root,755)
125%doc docs/dist/html/{ixml,upnp}
dcfbcc05 126%endif
This page took 0.117123 seconds and 4 git commands to generate.