Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 4b8da4e08ec6b623424aed4a0003d789 > files > 1

php-manual-ar-5.0.4-1mdk.src.rpm

# (oe) undefining these makes the build _real_ quick.
%undefine __find_provides
%undefine __find_requires

%define name	php-manual-ar
%define version	5.0.4
%define release 1mdk

Summary:	The PHP Manual in the Arabic language
Name:		%{name}
Version:	%{version}
Release:	%{release}
Group:		Books/Other
License:	PHP License
URL:		http://www.php.net/distributions/manual/
Source:		http://www.php.net/distributions/manual/php_manual_ar.tar.bz2
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-root

%description
The PHP Manual in the Arabic (ar) language.

%prep

%setup -q -c -n php_manual_ar

# fix perms
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

# clean up cvs junk		
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do
    if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null
done

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} 

install -d %{buildroot}/var/www/html/addon-modules
pushd %{buildroot}/var/www/html/addon-modules
    ln -s  ../../../..%{_docdir}/php-manual-ar-%{version} php-manual-ar-%{version}
popd

find | sed 's/^/%doc /' | grep -v '\./%{name}.filelist' > %{name}.filelist

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files -f %{name}.filelist
%defattr(-,root,root)
/var/www/html/addon-modules/php-manual-ar*

%changelog
* Sun Jun 12 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-1mdk
- new release

* Fri Feb 04 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 4.3.10-1mdk
- new release
- drop locales deps, it's not required...

* Tue Nov 16 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 4.3.9-1mdk
- initial mandrake package