Package pear-Stream_Var: Specfile

%define pear_name Stream_Var

Name: pear-Stream_Var
Version: 1.0.0
Release: alt4

Summary: Allows stream based access to any variable

License: PHP License
Group: Development/Other
Url: http://pear.php.net/package/Stream_Var

Packager: Vitaly Lipatov <lav@altlinux.ru>

Source: http://pear.php.net/get/Stream_Var-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
Stream_Var can be registered as a stream with stream_register_wrapper() and
allows stream based acces to variables in any scope. Arrays are treated as
directories, so it's possible to replace temporary directories and files in
your application with variables.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/Stream
%pear_docdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog
* Wed Dec 10 2008 Vitaly Lipatov <lav@altlinux.ru> 1.0.0-alt4
- fix php requires

* Fri Jun 20 2008 Vitaly Lipatov <lav@altlinux.ru> 1.0.0-alt3
- autorebuild for correct requires(pre) (see bug #16086)

* Thu Jan 10 2008 Vitaly Lipatov <lav@altlinux.ru> 1.0.0-alt2
- update according to rpm-build-pear 0.3

* Sat Jan 05 2008 Vitaly Lipatov <lav@altlinux.ru> 1.0.0-alt1
- initial build for ALT Linux Sisyphus