Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 8ace7b1c44cf0eee1822207037e94ca9 > files > 2

php-geshi-1.0.8.4-2mdv2010.0.src.rpm

%define upstream_name geshi

Name:		php-%{upstream_name}
Version:	1.0.8.4
Release:	%mkrel 2
Summary:	Generic Syntax Highlighter
License:	PHP License
Group:		Development/PHP
URL:		http://qbnz.com/highlighter/
Source0:	http://sourceforge.net/projects/geshi/files/geshi/GeSHi-%{version}.tar.bz2
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
Generic Syntax Highlighter for PHP. Used to highlight almost any code
for the web. Nearly 100 supported languages: PHP, HTML, C and more. Styles can
be changed on the fly and CSS classes can be used to reduce the amount of XHTML
compliant output.

%prep
%setup -q -n %{upstream_name}

%install
rm -rf %{buildroot}
install -d -m 755 %{buildroot}%{_datadir}/php
cp -p geshi.php %{buildroot}%{_datadir}/php
cp -pr geshi %{buildroot}%{_datadir}/php
cp -pr contrib %{buildroot}%{_datadir}/php/geshi

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc docs
%{_datadir}/php/*


%changelog
* Sat Jul 18 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.0.8.4-2mdv2010.0
+ Revision: 397149
- install under %%{_datadir}/php, so as to be automatically available in php include_path
- import php-geshi


* Sat Jul 18 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.0.8.4-1mdv2010.0
- first mdv release