Merge commit '227425b90e9a671118026689dd30967e127a1090' as 'external/toxcore/c-toxcore'
This commit is contained in:
66
external/toxcore/c-toxcore/tox.spec.in
vendored
Normal file
66
external/toxcore/c-toxcore/tox.spec.in
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
Name: @PACKAGE_NAME@
|
||||
Version: @VERSION@
|
||||
Release: 1%{?dist}
|
||||
Summary: All-in-one secure communication platform
|
||||
|
||||
License: GPLv3
|
||||
URL: https://github.com/irungentoo/toxcore
|
||||
Source0: https://github.com/irungentoo/toxcore/releases/tox-%{version}.tar.gz
|
||||
|
||||
BuildRequires: autoconf automake libtool libvpx-devel opus-devel
|
||||
BuildRequires: libsodium-devel libconfig-devel
|
||||
|
||||
%description
|
||||
With the rise of governmental monitoring programs, Tox, a FOSS initiative, aims to be an easy to use, all-in-one communication platform that ensures their users full privacy and secure message delivery.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for @PACKAGE_NAME@
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development package for @PACKAGE_NAME@
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-av \
|
||||
--disable-daemon \
|
||||
--disable-testing
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# remove la files
|
||||
find %{buildroot} -name '*.la' -delete -print
|
||||
|
||||
# not handling DHT_bootstrap yet
|
||||
rm -f %{buildroot}%{_bindir}/DHT_bootstrap
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.md README.md
|
||||
%{_libdir}/libtox*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_includedir}/tox/
|
||||
%{_libdir}/libtox*.so
|
||||
%{_libdir}/pkgconfig/libtox*.pc
|
||||
|
||||
%changelog
|
||||
* Tue Mar 3 2015 Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc> - 0.0.0-1
|
||||
- initial package
|
Reference in New Issue
Block a user