packages: php-facebook-sdk/php-facebook-sdk.spec - up to 3.0.0, read https:...
glen
glen at pld-linux.org
Thu May 26 00:27:47 CEST 2011
Author: glen Date: Wed May 25 22:27:47 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 3.0.0, read https://developers.facebook.com/blog/post/503 before upgrading
---- Files affected:
packages/php-facebook-sdk:
php-facebook-sdk.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/php-facebook-sdk/php-facebook-sdk.spec
diff -u packages/php-facebook-sdk/php-facebook-sdk.spec:1.2 packages/php-facebook-sdk/php-facebook-sdk.spec:1.3
--- packages/php-facebook-sdk/php-facebook-sdk.spec:1.2 Mon Feb 14 13:52:34 2011
+++ packages/php-facebook-sdk/php-facebook-sdk.spec Thu May 26 00:27:41 2011
@@ -3,23 +3,25 @@
%include /usr/lib/rpm/macros.php
Summary: PHP SDK for the Facebook API
Name: php-facebook-sdk
-Version: 2.1.2
+Version: 3.0.0
Release: 1
License: Apache v2.0
Group: Development/Languages/PHP
Source0: http://github.com/facebook/php-sdk/tarball/v%{version}#/%{name}-%{version}.tgz
-# Source0-md5: e26fddeca1434544af5f5199d35dc6c6
+# Source0-md5: 8bb75cb1c588f66d19df7cb2ea25d1ae
URL: http://github.com/facebook/php-sdk/
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.461
Requires: php-common >= 4:%{php_min_version}
Requires: php-curl
-Requires: php-date
+Requires: php-hash
Requires: php-json
+Requires: php-session
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreq %{?_noautophpreq} %{?_noautopeardep}
+%define _noautopear pear(base_facebook.php)
+%define _noautoreq %{?_noautophpreq} %{?_noautopear}
%description
Facebook Athenaeum provides libraries an easy to implement Facebook
@@ -32,19 +34,24 @@
%prep
%setup -qc
mv facebook-php-sdk-*/* .
-mv readme.md README
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_data_dir}
-cp -a src/facebook.php $RPM_BUILD_ROOT%{php_data_dir}
+cp -a src/*facebook.php $RPM_BUILD_ROOT%{php_data_dir}
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc readme.md changelog.md
%{php_data_dir}/facebook.php
+%{php_data_dir}/base_facebook.php
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -52,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/05/25 22:27:41 glen
+- up to 3.0.0, read https://developers.facebook.com/blog/post/503 before upgrading
+
Revision 1.2 2011/02/14 12:52:34 glen
- up to 2.1.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-facebook-sdk/php-facebook-sdk.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list