%define github_owner phpseclib %define github_name phpseclib %define github_commit a74aa9efbe61430fcb60157c8e025a48ec8ff604 %define github_short %(c=%{github_commit}; echo ${c:0:7}) Summary: PHP Secure Communications Library Name: phpseclib Version: 2.0.1 Release: %mkrel 1 Group: Development/PHP License: LGPL URL: https://github.com/%{github_owner}/%{github_name} Source: https://github.com/phpseclib/phpseclib/archive/%{version}.tar.gz BuildArch: noarch %global __requires_exclude %{?__requires_exclude:%__requires_exclude}^pear\\(Rijndael.php\\) %description Easy to use, easy to install, actively maintained and actively supported, phpseclib is the best way to utilize SSH, SFTP and RSA in PHP. %prep %setup -q %build %install install -d %{buildroot}%{_datadir}/%{name} cp -aRf phpseclib/* %{buildroot}%{_datadir}/%{name}/ %files %{_datadir}/%{name} %changelog * Thu Jan 28 2016 luigiwalser <luigiwalser> 2.0.1-1.mga5 + Revision: 928382 - 2.0.1 (compatible with phpmyadmin 4.4.x) * Wed Oct 15 2014 umeabot <umeabot> 0.3.6-5.mga5 + Revision: 744640 - Second Mageia 5 Mass Rebuild * Fri Oct 03 2014 tv <tv> 0.3.6-4.mga5 + Revision: 736274 - add exclude * Wed Oct 01 2014 tv <tv> 0.3.6-3.mga5 + Revision: 734245 - rebuild for pear deps * Tue Sep 16 2014 umeabot <umeabot> 0.3.6-2.mga5 + Revision: 687570 - Mageia 5 Mass Rebuild * Thu Jun 12 2014 oden <oden> 0.3.6-1.mga5 + Revision: 635779 - 0.3.6 * Thu Feb 20 2014 oden <oden> 0.3.5-1.mga5 + Revision: 595098 - 0.3.5 * Sat Oct 19 2013 umeabot <umeabot> 0.3.1-2.mga4 + Revision: 523793 - Mageia 4 Mass Rebuild * Sat May 25 2013 zezinho <zezinho> 0.3.1-1.mga4 + Revision: 427052 - imported package phpseclib