diff --git a/README.md b/README.md index 50436a0..fc70340 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # miniupnpc +The MiniUPnP client library is useful whenever an application needs to listen for incoming connections + diff --git a/miniupnpc.spec b/miniupnpc.spec new file mode 100644 index 0000000..3c4bdcf --- /dev/null +++ b/miniupnpc.spec @@ -0,0 +1,83 @@ +Name: miniupnpc +Version: 1.8.20131209 +Release: 1mamba +Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://miniupnp.free.fr/ +Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz +#Patch0: %{name}--.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The MiniUPnP client library is useful whenever an application needs to listen for incoming connections + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + INSTALLPREFIX=%{_prefix} \ + INSTALLDIRLIB=%{_libdir} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root) +%{_bindir}/external-ip +%{_bindir}/upnpc +%{_libdir}/libminiupnpc.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/miniupnpc +%{_includedir}/miniupnpc/*.h +%{_libdir}/libminiupnpc.a +%{_libdir}/libminiupnpc.so +%{_mandir}/man3/miniupnpc.3.gz + +%changelog +* Wed Jan 22 2014 Automatic Build System 1.8.20131209-1mamba +- automatic version update by autodist + +* Wed Oct 09 2013 Automatic Build System 1.8.20131007-1mamba +- automatic update by autodist + +* Sun Aug 04 2013 Automatic Build System 1.8.20130801-1mamba +- automatic update by autodist + +* Fri May 17 2013 Automatic Build System 1.8.20130503-1mamba +- automatic version update by autodist + +* Thu Mar 07 2013 Automatic Build System 1.8.20130211-1mamba +- automatic version update by autodist + +* Mon Oct 15 2012 Automatic Build System 1.7.20120830-1mamba +- update to 1.7.20120830 + +* Fri Jan 06 2012 Ercole 'ercolinux' Carpanetto 1.5-1mamba +- package created by autospec