SampleSpecs/pearmodule: различия между версиями

Материал из ALT Linux Wiki
(Import from freesource.info)
 
Нет описания правки
 
(не показаны 2 промежуточные версии 2 участников)
Строка 1: Строка 1:
[[Category:Devel]]
{{MovedFromFreesourceInfo|AltLinux/Sisyphus/devel/SampleSpecs/pearmodule}}
<div style="display: inline; color: red;">используйте адреса .org, а не .ru для пакетирования</div>
<pre>%define pear_name File
<pre>%define pear_name File


Строка 15: Строка 10:
Group: Development/Other
Group: Development/Other
Url: http://pear.php.net/package/%pear_name
Url: http://pear.php.net/package/%pear_name
Packager: Vitaly Lipatov <lav@altlinux.ru>


Source: http://pear.php.net/get/%pear_name-%version.tar.bz2
Source: http://pear.php.net/get/%pear_name-%version.tar.bz2
Строка 52: Строка 45:


%changelog
%changelog
* Wed Jan 09 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt3
* Fri Jan 04 2008 Vitaly Lipatov <lav@altlinux.org> 1.3.0-alt1
- update according to rpm-build-pear 0.3
- initial build for ALT Linux Sisyphus
</pre>


* Sat Jan 05 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt2
- update spec for new rpm-build-pear 0.2


* Fri Jan 04 2008 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt1
{{Category navigation|title=SampleSpecs|category=SampleSpecs|sortkey={{SUBPAGENAME}}}}
- Initial build for ALT Linux</pre>

Текущая версия от 13:36, 18 июня 2023

%define pear_name File

Name: pear-File
Version: 1.3.0
Release: alt3

Summary: Common file and directory routines, also CSV handling

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

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

BuildArchitectures: noarch

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

%description
Provides easy access to read/write to files along with
some common routines to deal with paths.

Also provides interface for handling CSV files.

%prep
%setup -c
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/File/
%pear_testdir/File/
%pear_dir/File.php
%pear_xmldir/%pear_name.xml

%changelog
* Fri Jan 04 2008 Vitaly Lipatov <lav@altlinux.org> 1.3.0-alt1
- initial build for ALT Linux Sisyphus