forked from pool/libtorrent-rasterbar
Autobuild autoformatter for 74281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtorrent-rasterbar?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
53671524ce
commit
04ad57ddfa
@@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define _soname 6
|
||||
# for setting those bcond_with* configs see
|
||||
# http://lizards.opensuse.org/2008/09/12/conditional-features-aka-use-flags/
|
||||
@@ -49,6 +50,8 @@ The main goals of libtorrent are:
|
||||
This package holds the sample client and example files for libtorrent-rasterbar.
|
||||
|
||||
%package -n %{name}%{_soname}
|
||||
|
||||
|
||||
License: BSD
|
||||
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
|
||||
Group: System/Libraries
|
||||
@@ -62,6 +65,8 @@ The main goals of libtorrent are:
|
||||
* to be very easy to use
|
||||
|
||||
%package -n python-%{name}
|
||||
|
||||
|
||||
Summary: Python Bindings for libtorrent-rasterbar
|
||||
Group: Development/Libraries/Python
|
||||
Requires: python >= %{py_ver}
|
||||
@@ -70,9 +75,13 @@ Requires: python >= %{py_ver}
|
||||
Python Bindings for package libtorrent-rasterbar.
|
||||
|
||||
%if %{with examples}
|
||||
|
||||
%package -n %{name}-tools
|
||||
|
||||
|
||||
Summary: Example tools from libtorrent-rasterbar
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n %{name}-tools
|
||||
Example tools from the libtorrent-rasterbar package.
|
||||
%endif
|
||||
@@ -138,9 +147,11 @@ install -m 644 docs/* %{buildroot}%{_defaultdocdir}/%{name}/
|
||||
%{?buildroot:rm -rf %{buildroot}}
|
||||
|
||||
%post -n %{name}%{_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{name}%{_soname} -p /sbin/ldconfig
|
||||
|
||||
%if %{with examples}
|
||||
|
||||
%files -n %{name}-tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/client_test
|
||||
|
Reference in New Issue
Block a user