ricochet.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Name: ricochet
  2. Version: 1.1.0
  3. Release: 1%{?dist}
  4. Summary: Anonymous peer-to-peer instant messaging
  5. License: BSD
  6. URL: https://ricochet.im/
  7. Source0: https://ricochet.im/releases/%{version}/ricochet-%{version}-src.tar.bz2
  8. BuildRequires: openssl-devel
  9. BuildRequires: protobuf-compiler
  10. BuildRequires: protobuf-devel
  11. BuildRequires: qt5-qtbase-devel
  12. BuildRequires: qt5-qtbase-gui
  13. BuildRequires: qt5-qtdeclarative-devel
  14. BuildRequires: qt5-qtmultimedia-devel
  15. BuildRequires: qt5-qtquickcontrols
  16. BuildRequires: qt5-qttools-devel
  17. Requires: openssl-libs
  18. Requires: protobuf
  19. Requires: qt5-qtbase
  20. Requires: qt5-qtbase-gui
  21. Requires: qt5-qtdeclarative
  22. Requires: qt5-qtquickcontrols
  23. Requires: qt5-qtmultimedia
  24. Requires: tor
  25. %description
  26. Ricochet is an experiment with a different kind of instant messaging that doesn't trust anyone with your identity, your contact list, or your communications.
  27. * You can chat without exposing your identity (or IP address) to anyone
  28. * Nobody can discover who your contacts are or when you talk (metadata-free!)
  29. * There are no servers to compromise or operators to intimidate for your information
  30. * It's cross-platform and easy for non-technical users
  31. %prep
  32. %setup -q
  33. %build
  34. qmake-qt5 DEFINES+=RICOCHET_NO_PORTABLE CONFIG+=release
  35. make -f Makefile.Release %{?_smp_mflags}
  36. %install
  37. make -f Makefile.Release install INSTALL_ROOT=%{buildroot}
  38. install -m 0644 -D -p LICENSE %{buildroot}/%{_docdir}/%{name}/LICENSE
  39. install -m 0644 -D -p AUTHORS.md %{buildroot}/%{_docdir}/%{name}/AUTHORS.md
  40. install -m 0644 -D -p README.md %{buildroot}/%{_docdir}/%{name}/README.md
  41. %files
  42. /usr/bin/ricochet
  43. /usr/share/applications/ricochet.desktop
  44. /usr/share/icons/hicolor/48x48/apps/ricochet.png
  45. /usr/share/icons/hicolor/scalable/apps/ricochet.svg
  46. %docdir %{_docdir}/%{name}
  47. %doc %{_docdir}/%{name}/LICENSE
  48. %doc %{_docdir}/%{name}/AUTHORS.md
  49. %doc %{_docdir}/%{name}/README.md
  50. %changelog
  51. * Mon Jul 27 2015 Peter Ludikovsky <peter@ludikovsky.name> 1.1.0-1
  52. - Initial RPM Package