84 lines
2.4 KiB
RPMSpec
84 lines
2.4 KiB
RPMSpec
|
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 <ercole69@gmail.com>
|
||
|
URL: http://miniupnp.free.fr/
|
||
|
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
||
|
#Patch0: %{name}-<pck-version>-<patch-description>.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 <autodist@mambasoft.it> 1.8.20131209-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Oct 09 2013 Automatic Build System <autodist@mambasoft.it> 1.8.20131007-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sun Aug 04 2013 Automatic Build System <autodist@mambasoft.it> 1.8.20130801-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 1.8.20130503-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Mar 07 2013 Automatic Build System <autodist@mambasoft.it> 1.8.20130211-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 1.7.20120830-1mamba
|
||
|
- update to 1.7.20120830
|
||
|
|
||
|
* Fri Jan 06 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.5-1mamba
|
||
|
- package created by autospec
|