miniupnpc/miniupnpc.spec

167 lines
5.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: miniupnpc
Version: 2.1
Release: 2mamba
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
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
%package -n lib%{name}
Group: System/Libraries
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
This package contains the %{name} shared library.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-devel
Obsoletes: %{name}-devel
%description -n lib%{name}-devel
This package contains static libraries and header files needed for development.
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
INSTALLPREFIX=%{_prefix} \
INSTALLDIRLIB=%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%files
%defattr(-,root,root)
%{_bindir}/external-ip
%{_bindir}/upnpc
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libminiupnpc.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/miniupnpc
%{_includedir}/miniupnpc/*.h
%{_libdir}/libminiupnpc.a
%{_libdir}/libminiupnpc.so
%{_mandir}/man3/miniupnpc.3*
%{_libdir}/pkgconfig/miniupnpc.pc
%changelog
* Wed Aug 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-2mamba
- added library subpackage
* Wed May 09 2018 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
- automatic version update by autodist
* Thu Apr 19 2018 Automatic Build System <autodist@mambasoft.it> 2.0.20180410-1mamba
- automatic version update by autodist
* Thu Apr 12 2018 Automatic Build System <autodist@mambasoft.it> 2.0.20180406-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 2.0.20180222-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 2.0.20171212-1mamba
- automatic update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 2.0.20171102-1mamba
- automatic update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.0.20170509-1mamba
- automatic version update by autodist
* Sat Aug 06 2016 Automatic Build System <autodist@mambasoft.it> 2.0-1mamba
- automatic version update by autodist
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 1.9.20151026-1mamba
- automatic version update by autodist
* Wed Jun 10 2015 Automatic Build System <autodist@mambasoft.it> 1.9.20150609-1mamba
- automatic update by autodist
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 1.9.20150430-1mamba
- automatic update by autodist
* Wed Feb 18 2015 Automatic Build System <autodist@mambasoft.it> 1.9.20150206-1mamba
- automatic update by autodist
* Tue Dec 16 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20141128-1mamba
- automatic update by autodist
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20141113-1mamba
- automatic update by autodist
* Tue Nov 04 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20141027-1mamba
- automatic version update by autodist
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140911-1mamba
- automatic update by autodist
* Fri Jul 18 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140701-1mamba
- automatic update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140610-1mamba
- automatic update by autodist
* Wed Apr 09 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140401-1mamba
- automatic version update by autodist
* Mon Feb 17 2014 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* 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