Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > a84ebe09f886a3fccea5a375824304a3 > files > 1

PHP-nuke-6.0-themepack-1-1.0-2mdk.src.rpm

%define nukeroot /var/www/html/nuke

Summary:	Themepack-1 for PHP-nuke-6.0
Name:		PHP-nuke-6.0-themepack-1
Version:	1.0
Release:	2mdk
Source0:	phpnuke_6_themes.tar.bz2
License:	GPL
Url:		http://www.nukethemes.de/
Group:		System/Servers
Requires:	PHP-nuke webserver mysqlserver php-common mod_php php-mysql
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
BuildArch:	noarch
Prefix:		%{nukeroot}

%description
266 themes tested with phpnuke 6 downloaded from www.nukethemes.de

%prep

# Create Build Subdirectory and Unpack the Tar Ball
%setup -q -c %{name}-%{version}

# (TV): workaround for bad tarball
find -type d -exec chmod 755 '{}' \;
find -type f -exec chmod 644 '{}' \;
find -type f -empty |xargs rm -f
chmod 755 */*/*/

%build

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

# Make the Necessary Directories
install -m755 -d %{buildroot}%{nukeroot}/themes
install -m755 -d %{buildroot}%{_docdir}/%{name}-%{version}

rm -f phpnuke_6_themes/COPYING
mv phpnuke_6_themes/CREDITS.txt . 
mv phpnuke_6_themes/FILE_ID.txt .
mv phpnuke_6_themes/README_FIRST.txt .

cp -ar phpnuke_6_themes/* %{buildroot}/%{nukeroot}/themes/

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

%files
%defattr(-, root, root)
%doc CREDITS.txt FILE_ID.txt README_FIRST.txt
%{nukeroot}/themes/*

%changelog
* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.0-2mdk
- build release

* Fri Oct 25 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.0-1mdk
- used the PHP-nuke-6.0 spec file as a template
- initial cooker contrib