Skip to content

Instantly share code, notes, and snippets.

@lbt
Created November 15, 2014 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbt/aaa742140de9ea99cd2f to your computer and use it in GitHub Desktop.
Save lbt/aaa742140de9ea99cd2f to your computer and use it in GitHub Desktop.
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%qmake5_install
# >> install post
mkdir -p %{buildroot}%{_datadir}/%{name}/lib
cp -a /usr/lib/libassimp* %{buildroot}%{_datadir}/%{name}/lib/
# << install post
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/*.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment