- dependency cleanup
- get rid of static libraries completely - disable ldconfig for non-libraries packages OBS-URL: https://build.opensuse.org/package/show/server:messaging/c-toxcore?expand=0&rev=4
This commit is contained in:
parent
680e9f9baf
commit
f0ae37647b
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 1 08:04:22 UTC 2018 - sleep_walker@opensuse.org
|
||||
|
||||
- dependency cleanup
|
||||
- get rid of static libraries completely
|
||||
- disable ldconfig for non-libraries packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 20:12:13 UTC 2018 - sleep_walker@opensuse.org
|
||||
|
||||
|
@ -31,21 +31,14 @@ Source1: %{name}.tmpfiles.d
|
||||
Source2: https://github.com/TokTok/c-toxcore/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: check
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libconfig-devel
|
||||
BuildRequires: libopus-devel
|
||||
BuildRequires: libsodium-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libvpx-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-sysvinit
|
||||
BuildRequires: yasm
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -110,7 +103,8 @@ sed -ri 's:%{_localstatedir}/lib/tox-bootstrapd/keys:%{_sysconfdir}/tox/bootstra
|
||||
autoreconf -i
|
||||
%configure \
|
||||
--enable-daemon \
|
||||
--enable-dht-bootstrap
|
||||
--enable-dht-bootstrap \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -150,7 +144,6 @@ if ! getent passwd tox >/dev/null; then
|
||||
-s /sbin/nologin -c "Tox Bootstrap" tox
|
||||
fi
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post daemon
|
||||
%service_add_post tox-bootstrapd.service
|
||||
systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
|
||||
@ -161,7 +154,6 @@ systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
|
||||
%preun daemon
|
||||
%service_del_preun tox-bootstrapd.service
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun daemon
|
||||
%service_del_postun tox-bootstrapd.service
|
||||
|
||||
@ -171,7 +163,6 @@ systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/tox-bootstrapd.conf
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%dir %{_includedir}/tox
|
||||
%{_includedir}/tox/*
|
||||
|
Loading…
Reference in New Issue
Block a user