Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- specfile="Summary: Client application for the Jabber network
- Name: psi-plus
- Version: ${psi_package_version}
- Release: 1
- License: GPL
- Group: Applications/Internet
- URL: http://code.google.com/p/psi-dev/
- Source0: %{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: openssl-devel, gcc-c++, zlib-devel
- %{!?_without_freedesktop:BuildRequires: desktop-file-utils}
- %description
- Psi is the premiere Instant Messaging application designed for Microsoft Windows,
- Apple Mac OS X and GNU/Linux. Built upon an open protocol named Jabber,
- si is a fast and lightweight messaging client that utilises the best in open
- source technologies. The goal of the Psi project is to create a powerful, yet
- easy-to-use Jabber/XMPP client that tries to strictly adhere to the XMPP drafts.
- and Jabber JEPs. This means that in most cases, Psi will not implement a feature
- unless there is an accepted standard for it in the Jabber community. Doing so
- ensures that Psi will be compatible, stable, and predictable, both from an end-user
- and developer standpoint.
- Psi+ - Psi IM Mod by psi-dev@conference.jabber.ru
- %prep
- %setup
- %build
- cmake -DCMAKE_INSTALL_PREFIX=\"%{_prefix}\" -DCMAKE_BUILD_TYPE=Release ${extraflags} .
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf %{buildroot}
- %{__make} install INSTALL_ROOT=\"%{buildroot}\"
- # Install the pixmap for the menu entry
- %{__install} -Dp -m0644 iconsets/system/default/logo_128.png \
- %{buildroot}%{_datadir}/pixmaps/psi-plus.png ||:
- mkdir -p %{buildroot}%{_datadir}/psi-plus
- mkdir -p %{buildroot}%{_bindir}
- mkdir -p %{buildroot}%{_datadir}/applications
- %post
- touch --no-create %{_datadir}/icons/hicolor || :
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- %postun
- touch --no-create %{_datadir}/icons/hicolor || :
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
- %clean
- %{__rm} -rf %{buildroot}
- %files
- %defattr(-, root, root, 0755)
- %doc COPYING README TODO
- %{_bindir}/psi-plus
- #%{_bindir}/psi-plus.debug
- %{_datadir}/psi-plus/
- %{_datadir}/pixmaps/psi-plus.png
- %{_datadir}/applications/psi-plus.desktop
- %{_datadir}/icons/hicolor/*/apps/psi-plus.png
- %exclude %{_datadir}/psi-plus/COPYING
- %exclude %{_datadir}/psi-plus/README
- "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement