diff --git a/README.md b/README.md index 316dd1a..2c63dbb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libupnp +The Universal Plug and Play (UPnP) SDK for Linux provides +support for building UPnP-compliant control points, devices, +and bridges on Linux. + diff --git a/libupnp.spec b/libupnp.spec new file mode 100644 index 0000000..fcf1840 --- /dev/null +++ b/libupnp.spec @@ -0,0 +1,88 @@ +Name: libupnp +Version: 1.6.19 +Release: 1mamba +Summary: Universal Plug and Play (UPnP) SDK +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://pupnp.sourceforge.net/ +Source: http://downloads.sourceforge.net/pupnp/libupnp-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The Universal Plug and Play (UPnP) SDK for Linux provides +support for building UPnP-compliant control points, devices, +and bridges on Linux. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains the header files, static libraries and development +documentation for %{name}. If you like to develop programs using %{name}, +you will need to install %{name}-devel. + + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc ChangeLog LICENSE NEWS README THANKS TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/upnp +%{_includedir}/upnp/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/libupnp.pc + +%changelog +* Sun Nov 17 2013 Automatic Build System 1.6.19-1mamba +- automatic version update by autodist + +* Thu Jan 31 2013 Automatic Build System 1.6.18-1mamba +- automatic version update by autodist + +* Sat Dec 01 2012 Automatic Build System 1.6.17-1mamba +- automatic version update by autodist + +* Mon Feb 21 2011 Automatic Build System 1.6.12-1mamba +- automatic update by autodist + +* Sun Dec 19 2010 Automatic Build System 1.6.10-1mamba +- automatic update by autodist + +* Fri Nov 12 2010 Automatic Build System 1.6.9-1mamba +- automatic update by autodist + +* Tue Oct 12 2010 Automatic Build System 1.6.7-1mamba +- automatic update by autodist + +* Thu Aug 21 2008 gil 1.6.6-1mamba +- package created by autospec