rpms/php-spyc/F-7 php-spyc.spec,NONE,1.1
Michael Stahnke (stahnma)
fedora-extras-commits at redhat.com
Wed Jul 4 02:40:41 UTC 2007
Author: stahnma
Update of /cvs/extras/rpms/php-spyc/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13546/F-7
Added Files:
php-spyc.spec
Log Message:
Added spec files
--- NEW FILE php-spyc.spec ---
%define realname spyc
Name: php-spyc
Version: 0.2.5
Release: 1%{?dist}
Summary: A simple php yaml class
Group: Development/Libraries
License: MIT
URL: http://spyc.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{realname}/%{realname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php
%description
Spyc is a YAML loader/dumper written in PHP. Given a YAML
document, Spyc will return an array which you can use however
you see fit. Given an array, Spyc will return a string which
contains a YAML document built from your data.
%prep
# Somebody doesn't make pretty tarballs
%setup -q -c %{name} -n %{realname}-%{version}
rm -rf CVS spyc.php~
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/php/%{realname}
install -p -m 644 *.php $RPM_BUILD_ROOT%{_datadir}/php/%{realname}
install -p -m 644 *.php5 $RPM_BUILD_ROOT%{_datadir}/php/%{realname}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGES README
%{_datadir}/php/%{realname}
%changelog
* Wed Jun 20 2007 Michael Stahnke <mastahnke at gmail.com> - 0.2.5-1
- Initial packaging
More information about the scm-commits
mailing list