Skip to content

Instantly share code, notes, and snippets.

@jfrederickson
Created March 26, 2015 03:46
Show Gist options
  • Save jfrederickson/b4a4ba41c36f6997043d to your computer and use it in GitHub Desktop.
Save jfrederickson/b4a4ba41c36f6997043d to your computer and use it in GitHub Desktop.
Ricochet Spec File
Name: ricochet
Version: 1.0.4
Release: 1%{?dist}
Summary: Anonymous peer-to-peer instant messaging
Group: Applications/Communications
License: BSD
URL: https://ricochet.im
Source0: https://github.com/ricochet-im/ricochet/archive/v%{version}.tar.gz
BuildRequires: tor
Requires: tor
%description
%prep
%autosetup -n ricochet-%{version}
%build
qmake-qt5 DEFINES+=RICOCHET_NO_PORTABLE
make %{?_smp_mflags}
%install
make install INSTALL_ROOT=%{buildroot}
%files
%{_bindir}/ricochet
%{_datadir}/applications/ricochet.desktop
#%{_datadir}/icons/hicolor/48x48/apps/ricochet.png # These aren't in the 1.0.4 tarball, ignoring for now
#%{_datadir}/icons/hicolor/scalable/apps/ricochet.svg
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment