Author: glen Date: Wed Feb 25 12:44:01 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: php-exifrw.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/php-exifrw.spec diff -u /dev/null SPECS/php-exifrw.spec:1.1 --- /dev/null Wed Feb 25 13:44:01 2009 +++ SPECS/php-exifrw.spec Wed Feb 25 13:43:56 2009 @@ -0,0 +1,49 @@ +# $Revision$, $Date$ +# TODO +# - hardcoded cacheDir +Summary: An EXIF information reader and write PHP classes +Name: php-exifrw +Version: 1.1 +Release: 1 +License: LGPL v2+ +Group: Development/Languages/PHP +URL: http://www.vinayras.com/project/phpexifrw.php +Source0: http://www.vinayras.com/projects/phpExifRW-%{version}.tar.gz +# Source0-md5: 27a9313e8682e54db9f2255ffac7de60 +BuildRequires: rpmbuild(macros) >= 1.268 +Requires: php-common +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A class to parse out JPEG files and extract EXIF infromation that most +digital camera produces. Exif information can also be transfered from +one file to another. Thumbnail is also extracted. + +%prep +%setup -q -n phpExifRW-%{version} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{php_data_dir},%{_examplesdir}/%{name}-%{version}} +cp -a showThumbnail.php exampleReader.php exampleWriter.php $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a exifReader.inc exifWriter.inc $RPM_BUILD_ROOT%{php_data_dir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES readme.txt +%{php_data_dir}/exifReader.inc +%{php_data_dir}/exifWriter.inc +%{_examplesdir}/%{name}-%{version} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/02/25 12:43:56 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
