Name: gallery3-openid Version: 2.0 Release: 0.2.beta%{?dist} Summary: OpenID support for Gallery3 License: GPLv2+ URL: http://kott.fm/tomek/plugins-extensions/openid/ Source0: http://kott.fm/tomek/wp-content/uploads/2012/05/openid-%{version}-beta.zip Requires: gallery3 Requires: php-lightopenid Requires: openid-selector BuildArch: noarch %description Adds OpenID authentication support to Gallery3 %prep %setup -q -n openid %build rm -f lib/openid.php rm -rf lib/openid-selector ln -s %{_datadir}/lightopenid/openid.php lib/openid.php ln -s %{_datadir}/openid-selector lib/openid-selector %install mkdir -p %{buildroot}%{_datadir}/gallery3/modules/openid cp -pR * %{buildroot}%{_datadir}/gallery3/modules/openid %files %{_datadir}/gallery3/modules/openid %changelog * Tue Oct 01 2013 Patrick Uiterwijk - 2.0-0.2.beta - Add -p flag to cp - Split lightopenid and openid-selector * Tue Oct 01 2013 Patrick Uiterwijk - 2.0-0.1.beta - Initial packaging