2015-08-23 08:18:06 -04:00
|
|
|
Summary: Secure communication with friends
|
2017-07-17 04:44:27 -04:00
|
|
|
Name: retroshare
|
2015-08-23 08:18:06 -04:00
|
|
|
Version: 0.6.0.%{rev}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv3
|
|
|
|
Group: Productivity/Networking/Other
|
|
|
|
URL: http://retroshare.sourceforge.net/
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2016-01-24 15:39:17 -05:00
|
|
|
Requires: qt5-qtbase-gui qt5-qtmultimedia qt5-qtx11extras qt5-qtbase
|
|
|
|
BuildRequires: gcc-c++ desktop-file-utils libgnome-keyring-devel glib2-devel libssh-devel protobuf-devel libcurl-devel libxml2-devel libxslt-devel openssl-devel libXScrnSaver-devel libupnp-devel bzip2-devel libmicrohttpd-devel qt5-qtx11extras-devel qt5-qttools-devel qt5-qtmultimedia-devel qt5-qttools-static
|
2015-08-23 08:18:06 -04:00
|
|
|
# This is because of sqlcipher:
|
|
|
|
BuildRequires: tcl
|
|
|
|
|
|
|
|
%description
|
|
|
|
RetroShare is a decentralized, private and secure commmunication and sharing platform. RetroShare provides filesharing, chat, messages, forums and channels.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
see http://retroshare.sourceforge.net/team.html
|
|
|
|
|
|
|
|
%package nogui
|
|
|
|
Summary: RetroShare cli client
|
|
|
|
Group: Productivity/Network/Other
|
|
|
|
Requires: openssl
|
|
|
|
Conflicts: %name = %{version}
|
|
|
|
|
|
|
|
%description nogui
|
|
|
|
This is the command-line client for RetroShare network. This client can be contacted and talked-to using SSL. Clients exist for portable devices running e.g. Android.
|
|
|
|
|
|
|
|
%package voip-plugin
|
|
|
|
Summary: RetroShare VOIP plugin
|
|
|
|
Group: Productivity/Networking/Other
|
|
|
|
Requires: %name = %{version}
|
|
|
|
BuildRequires: opencv-devel speex-devel
|
|
|
|
%if 0%{?fedora} >= 22
|
|
|
|
BuildRequires: speexdsp-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description voip-plugin
|
|
|
|
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication platform. The plugin adds voice-over-IP functionality to the private chat window. Both friends chatting together need the plugin installed to be able to talk together.
|
|
|
|
|
|
|
|
%package feedreader-plugin
|
|
|
|
Summary: RetroShare FeedReader plugin
|
|
|
|
Group: Productivity/Networking/Other
|
|
|
|
Requires: %name = %{version}
|
|
|
|
|
|
|
|
%description feedreader-plugin
|
|
|
|
This package provides a plugin for RetroShare, a secured Friend-to-Friend communication platform. The plugin adds a RSS feed reader tab to retroshare.
|
|
|
|
|
|
|
|
%prep
|
2015-08-24 18:56:50 -04:00
|
|
|
%setup -q
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd lib/sqlcipher
|
2016-01-10 11:00:39 -05:00
|
|
|
./configure --disable-shared --enable-static --enable-tempstore=yes CFLAGS="-fPIC -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
|
2015-08-23 08:18:06 -04:00
|
|
|
make
|
|
|
|
cd -
|
|
|
|
cd src
|
2016-01-24 15:39:17 -05:00
|
|
|
qmake-qt5 "CONFIG-=debug" "CONFIG+=release" PREFIX=%{_prefix} LIB_DIR=%{_libdir} RetroShare.pro
|
2015-08-23 08:18:06 -04:00
|
|
|
make
|
|
|
|
cd -
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2015-08-24 18:56:50 -04:00
|
|
|
cd src
|
|
|
|
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
2015-08-23 08:18:06 -04:00
|
|
|
#menu
|
2017-07-17 04:44:27 -04:00
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/retroshare.desktop
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2017-07-17 04:44:27 -04:00
|
|
|
%{_bindir}/retroshare
|
2015-08-23 08:18:06 -04:00
|
|
|
%defattr(644, root, root)
|
|
|
|
%{_datadir}/pixmaps/%{name}.xpm
|
|
|
|
%{_datadir}/icons/hicolor
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2017-07-17 04:44:27 -04:00
|
|
|
%{_datadir}/retroshare
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%files nogui
|
|
|
|
%defattr(-, root, root)
|
2017-07-17 04:44:27 -04:00
|
|
|
%{_bindir}/retroshare-nogui
|
2015-08-23 08:18:06 -04:00
|
|
|
%defattr(644, root, root)
|
2017-07-17 04:44:27 -04:00
|
|
|
%{_datadir}/retroshare
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%files voip-plugin
|
|
|
|
%defattr(-, root, root)
|
2015-08-24 18:56:50 -04:00
|
|
|
%{_libdir}/retroshare/extensions6/libVOIP.so*
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%files feedreader-plugin
|
|
|
|
%defattr(-, root, root)
|
2015-08-24 18:56:50 -04:00
|
|
|
%{_libdir}/retroshare/extensions6/libFeedReader.so*
|
2015-08-23 08:18:06 -04:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Apr 4 2015 Heini <noreply@nowhere.net> -
|
|
|
|
- Initial build.
|
|
|
|
|