Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b522bba899e9f8d46abb6976517d0a6b > files > 1

php-lime-1.0.9-1.mga2.src.rpm

#curl http://trac.symfony-project.org/browser/tools/lime/tags/RELEASE_1_0_9/lib/lime.php?format=raw > lime.php && curl http://trac.symfony-project.org/browser/tools/lime/tags/RELEASE_1_0_9/LICENSE?format=raw > LICENSE && tar -czf php-lime-1.0.9.tar.gz lime.php LICENSE && rm -f lime.php && rm -f LICENSE
Name:           php-lime
Version:        1.0.9
Release:        %mkrel 1
Summary:        Testing framework in PHP
Group:          Development/PHP
BuildArch:      noarch
License:        MIT
URL:            http://www.symfony-project.org/book/1_0/15-Unit-and-Functional-Testing
Source0:        php-lime-1.0.9.tar.gz
Requires:       php
Requires:       php-cli

%description
Testing framework in PHP

%prep
%setup -q -c

%build

%install
rm -rf %{buildroot}
mkdir -p $RPM_BUILD_ROOT/usr/share/php/lime/
cp lime.php $RPM_BUILD_ROOT/usr/share/php/lime/lime.php

%files
%doc LICENSE
%dir %{_datadir}/php/lime
%{_datadir}/php/lime/lime.php


%changelog
* Sun Jul 24 2011 agallou <agallou> 1.0.9-1.mga2
+ Revision: 128468
- clean buildroot at %%install
- fixed tgz filename
- added licence to spec file
- added build section
- list each file instead of all files
- import php-lime
- Created package structure for php-lime.

  + stormi <stormi>
    - fix %%files section