added library subpackage [release 2.1-2mamba;Wed Aug 29 2018]
This commit is contained in:
parent
d214de942b
commit
d18231e790
@ -1,6 +1,6 @@
|
|||||||
Name: miniupnpc
|
Name: miniupnpc
|
||||||
Version: 1.9.20150430
|
Version: 2.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -13,18 +13,30 @@ License: GPL
|
|||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
||||||
|
|
||||||
%package devel
|
%package -n lib%{name}
|
||||||
Group: Development/Libraries
|
Group: System/Libraries
|
||||||
Summary: Static libraries and headers for %{name}
|
Summary: The MiniUPnP client library is useful whenever an application needs to listen for incoming connections
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description -n lib%{name}
|
||||||
This package contains static libraries and header files need for development.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -41,26 +53,67 @@ This package contains static libraries and header files need for development.
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n lib%{name}
|
||||||
%postun -p /sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun -n lib%{name}
|
||||||
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/external-ip
|
%{_bindir}/external-ip
|
||||||
%{_bindir}/upnpc
|
%{_bindir}/upnpc
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libminiupnpc.so.*
|
%{_libdir}/libminiupnpc.so.*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%files devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/miniupnpc
|
%dir %{_includedir}/miniupnpc
|
||||||
%{_includedir}/miniupnpc/*.h
|
%{_includedir}/miniupnpc/*.h
|
||||||
%{_libdir}/libminiupnpc.a
|
%{_libdir}/libminiupnpc.a
|
||||||
%{_libdir}/libminiupnpc.so
|
%{_libdir}/libminiupnpc.so
|
||||||
%{_mandir}/man3/miniupnpc.3.gz
|
%{_mandir}/man3/miniupnpc.3*
|
||||||
|
%{_libdir}/pkgconfig/miniupnpc.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu May 07 2015 Automatic Build System <autodist@mambasoft.it> 1.9.20150430-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user