Sisyphus repository
Last update: 2017-12-17 23:08:00 +0300 | SRPMs: 18242 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 2.6.2-alt1
p8: 1.0.1-alt1
p7: 1.0.1-alt1
t7: 1.0.1-alt1
Platform6: 1.0.1-alt1
t6: 1.0.1-alt1
Platform5: 1.0.1-alt1
5.1: 1.0.1-alt1

Group :: Development/Other
Source RPM: pear-PHP_CodeSniffer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%define pear_name PHP_CodeSniffer

Name: pear-PHP_CodeSniffer
Version: 2.6.2
Release: alt1

Summary: PHP_CodeSniffer tokenises PHP code and detects violations of a defined set of coding standards

License: BSD License
Group: Development/Other
Url: http://pear.php.net/package/PHP_CodeSniffer

Packager: Vitaly Lipatov <lav at altlinux.ru>

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

BuildArchitectures: noarch

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

%description
PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code to
detect violations of a defined set of coding standards. It is an essential
development tool that ensures that your code remains clean and consistent.
It can even help prevent some common semantic errors made by developers.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std
rm -rf %buildroot%_bindir/scripts/

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%_bindir/phpcs
%_bindir/phpcbf
%pear_testdir/PHP_CodeSniffer/
%pear_dir/PHP/
%pear_datadir/%pear_name/
%pear_docdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog
* Thu Jul 28 2016 Vitaly Lipatov <lav at altlinux.ru> 2.6.2-alt1
- new version 2.6.2 (with rpmrb script)

* Fri Jun 20 2008 Vitaly Lipatov <lav at altlinux.ru> 1.0.1-alt1
- new version 1.0.1 (with rpmrb script)

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

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

 
© 2009–2017 Igor Zubkov