2024-01-06 07:09:49 +01:00
|
|
|
Name: miniupnpc
|
2024-06-27 09:24:04 +02:00
|
|
|
Version: 2.2.8
|
2024-01-06 07:09:50 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 07:09:49 +01:00
|
|
|
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 07:09:50 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://miniupnp.free.fr/
|
2024-01-06 07:09:49 +01:00
|
|
|
Source: http://miniupnp.free.fr/files/miniupnpc-%{version}.tar.gz
|
2024-01-06 07:09:50 +01:00
|
|
|
Patch0: miniupnpc-2.2.3-fix-make-install.patch
|
2024-01-06 07:09:49 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 07:09:49 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 07:09:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
|
|
|
|
|
|
|
%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
|
2024-01-06 07:09:49 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-06 07:09:49 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: %{name}-devel
|
2024-01-06 07:09:50 +01:00
|
|
|
Obsoletes: %{name}-devel < 2.2.3
|
2024-01-06 07:09:49 +01:00
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 07:09:49 +01:00
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 07:09:50 +01:00
|
|
|
# Workaround for CMakeInstall problem
|
|
|
|
cp include/*.h .
|
2024-01-06 07:09:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-15 10:07:03 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DUPNPC_BUILD_STATIC=FALSE
|
2024-01-06 07:09:50 +01:00
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 07:09:50 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 07:09:49 +01:00
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
#chmod +x %{buildroot}%{_libdir}/libminiupnpc.so.*
|
|
|
|
install -D -m0755 external-ip.sh %{buildroot}%{_bindir}/external-ip
|
|
|
|
install -D -m0755 build/upnpc-shared %{buildroot}%{_bindir}/upnpc
|
2024-01-06 07:09:50 +01:00
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
2024-01-06 07:09:49 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/external-ip
|
2024-01-06 07:09:50 +01:00
|
|
|
%{_bindir}/external-ip.sh
|
2024-01-15 10:07:03 +01:00
|
|
|
%{_bindir}/upnp-listdevices-*
|
2024-01-06 07:09:49 +01:00
|
|
|
%{_bindir}/upnpc
|
2024-01-15 10:07:03 +01:00
|
|
|
%{_bindir}/upnpc-*
|
2024-01-06 07:09:50 +01:00
|
|
|
%{_mandir}/man3/miniupnpc.3*
|
2024-01-06 07:09:49 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 07:09:49 +01:00
|
|
|
%{_libdir}/libminiupnpc.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-06 07:09:49 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/miniupnpc
|
|
|
|
%{_includedir}/miniupnpc/*.h
|
|
|
|
%{_libdir}/libminiupnpc.so
|
2024-01-06 07:09:49 +01:00
|
|
|
%{_libdir}/pkgconfig/miniupnpc.pc
|
2024-01-06 07:09:50 +01:00
|
|
|
%dir %{_libdir}/cmake/miniupnpc
|
|
|
|
%{_libdir}/cmake/miniupnpc/*miniupnpc*.cmake
|
2024-01-06 07:09:49 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-06-27 09:24:04 +02:00
|
|
|
* Sun Jun 09 2024 Automatic Build System <autodist@openmamba.org> 2.2.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-21 09:37:59 +01:00
|
|
|
* Wed Mar 20 2024 Automatic Build System <autodist@openmamba.org> 2.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-15 10:07:03 +01:00
|
|
|
* Sun Jan 14 2024 Automatic Build System <autodist@openmamba.org> 2.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
* Tue Jun 13 2023 Automatic Build System <autodist@mambasoft.it> 2.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
* Wed Dec 28 2022 Automatic Build System <autodist@mambasoft.it> 2.2.4-3mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.4-2mamba
|
|
|
|
- rebuilt with tools
|
|
|
|
|
|
|
|
* Wed Dec 28 2022 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.3-1mamba
|
|
|
|
- update to 2.2.3
|
|
|
|
|
2024-01-06 07:09:50 +01:00
|
|
|
* Tue Mar 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-2mamba
|
|
|
|
- fixed library permissions; added debug package
|
|
|
|
|
|
|
|
* Wed Mar 03 2021 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 26 2020 Automatic Build System <autodist@mambasoft.it> 2.1.20191224-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* Mon Jun 03 2019 Automatic Build System <autodist@mambasoft.it> 2.1.20190408-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 1.9.20150430-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* Tue Nov 04 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20141027-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* Fri Sep 19 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140911-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* Fri Jul 18 2014 Automatic Build System <autodist@mambasoft.it> 1.9.20140701-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 07:09:49 +01:00
|
|
|
* 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
|