Advertisement
Guest User

psi+ fedora specs

a guest
Jul 18th, 2017
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.33 KB | None | 0 0
  1. specfile="Summary: Client application for the Jabber network
  2. Name: psi-plus
  3. Version: ${psi_package_version}
  4. Release: 1
  5. License: GPL
  6. Group: Applications/Internet
  7. URL: http://code.google.com/p/psi-dev/
  8. Source0: %{name}-%{version}.tar.gz
  9.  
  10.  
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12.  
  13.  
  14. BuildRequires: openssl-devel, gcc-c++, zlib-devel
  15. %{!?_without_freedesktop:BuildRequires: desktop-file-utils}
  16.  
  17.  
  18. %description
  19. Psi is the premiere Instant Messaging application designed for Microsoft Windows,
  20. Apple Mac OS X and GNU/Linux. Built upon an open protocol named Jabber,          
  21. si is a fast and lightweight messaging client that utilises the best in open      
  22. source technologies. The goal of the Psi project is to create a powerful, yet    
  23. easy-to-use Jabber/XMPP client that tries to strictly adhere to the XMPP drafts.  
  24. and Jabber JEPs. This means that in most cases, Psi will not implement a feature  
  25. unless there is an accepted standard for it in the Jabber community. Doing so    
  26. ensures that Psi will be compatible, stable, and predictable, both from an end-user
  27. and developer standpoint.
  28. Psi+ - Psi IM Mod by psi-dev@conference.jabber.ru
  29.  
  30.  
  31. %prep
  32. %setup
  33.  
  34.  
  35. %build
  36. cmake -DCMAKE_INSTALL_PREFIX=\"%{_prefix}\" -DCMAKE_BUILD_TYPE=Release ${extraflags} .
  37. %{__make} %{?_smp_mflags}
  38.  
  39.  
  40. %install
  41. %{__rm} -rf %{buildroot}
  42.  
  43.  
  44. %{__make} install INSTALL_ROOT=\"%{buildroot}\"
  45.  
  46.  
  47. # Install the pixmap for the menu entry
  48. %{__install} -Dp -m0644 iconsets/system/default/logo_128.png \
  49.    %{buildroot}%{_datadir}/pixmaps/psi-plus.png ||:              
  50.  
  51. mkdir -p %{buildroot}%{_datadir}/psi-plus
  52. mkdir -p %{buildroot}%{_bindir}
  53. mkdir -p %{buildroot}%{_datadir}/applications
  54.  
  55. %post
  56. touch --no-create %{_datadir}/icons/hicolor || :
  57. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  58.  
  59.  
  60. %postun
  61. touch --no-create %{_datadir}/icons/hicolor || :
  62. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  63.  
  64.  
  65. %clean
  66. %{__rm} -rf %{buildroot}
  67.  
  68.  
  69. %files
  70. %defattr(-, root, root, 0755)
  71. %doc COPYING README TODO
  72. %{_bindir}/psi-plus
  73. #%{_bindir}/psi-plus.debug
  74. %{_datadir}/psi-plus/
  75. %{_datadir}/pixmaps/psi-plus.png
  76. %{_datadir}/applications/psi-plus.desktop
  77. %{_datadir}/icons/hicolor/*/apps/psi-plus.png
  78. %exclude %{_datadir}/psi-plus/COPYING
  79. %exclude %{_datadir}/psi-plus/README
  80. "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement