packages: php-embedly/php-embedly.spec (NEW) - initial php embedly api spec

glen glen at pld-linux.org
Thu Jul 28 13:23:42 CEST 2011


Author: glen                         Date: Thu Jul 28 11:23:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial php embedly api spec

---- Files affected:
packages/php-embedly:
   php-embedly.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-embedly/php-embedly.spec
diff -u /dev/null packages/php-embedly/php-embedly.spec:1.1
--- /dev/null	Thu Jul 28 13:23:42 2011
+++ packages/php-embedly/php-embedly.spec	Thu Jul 28 13:23:37 2011
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define		plugin embedly
+Summary:	Embed.ly PHP API
+Name:		php-%{plugin}
+Version:	0.3.0
+Release:	1
+License:	MIT
+Group:		Development/Languages/PHP
+Source0:	https://github.com/embedly/embedly-php/tarball/v0.3.0#/%{plugin}-%{version}.tgz
+# Source0-md5:	75b94414ec5967bcb226325e888745bb
+Patch0:		php52.patch
+URL:		http://embed.ly/docs
+BuildRequires:	/usr/bin/php
+BuildRequires:	rpmbuild(macros) > 1.268
+Requires:	php-common
+Requires:	php-curl
+Requires:	php-json
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir	%{php_data_dir}
+
+%description
+Embedly is the best way to retrieve meta data associated with a URL.
+We offer a full suite of tools that you can tailor to your needs to
+make embedding simple and easy. These docs will help you understand
+how to get the most out of Embedly and how the API works. If you are
+new to Embedly we suggest reading the Getting Stared tutorial. It will
+give you a basic idea of how Embedly works and its benefits.
+
+%prep
+%setup -qc
+mv embedly-embedly-php-*/* .
+%patch0 -p1
+
+%build
+php -l src/Embedly/Embedly.php
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Embedly
+cp -p src/Embedly/Embedly.php $RPM_BUILD_ROOT%{php_data_dir}/Embedly
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{php_data_dir}/Embedly
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/07/28 11:23:37  glen
+- initial php embedly api spec
================================================================


More information about the pld-cvs-commit mailing list