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