]> git.pld-linux.org Git - packages/PHP-nuke.git/blob - PHP-nuke.spec
- added PHP-Nuke.README.first.
[packages/PHP-nuke.git] / PHP-nuke.spec
1 Summary:        Slashdot-like webnews site written in php, easy to install and use
2 Summary(pl):    Serwis nowinek WWW w stylu Slashdota napisany w PHP, ³atwy w instalacji i u¿ywaniu
3 Name:           PHP-nuke
4 Version:        6.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/Databases/Interfaces
8 Source0:        http://prdownloads.sourceforge.net/phpnuke/PHP-Nuke-%{version}.tar.gz
9 Source1:        PHP-Nuke.README.first
10 Icon:           phpnuke.gif
11 URL:            http://phpnuke.org/
12 Requires:       php-mysql
13 Requires:       webserver
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         nukeroot        /home/httpd/html/nuke
18
19 %description
20 Web-portal writen in php. Very powerful, yet easy to install and use:
21 see documentation in %{_docdir}/%{name}-%{version} for details.
22
23 You only have to run: mysqladmin create nuke mysql nuke < \
24 %{_docdir}/%{name}-%{version}/nuke.sql
25
26 (read %{_docdir}/%{name}-%{version}/README.first for further
27 information)
28
29 %description -l pl
30 Portal WWW napisany w PHP. Ma du¿e mo¿liwo¶ci, jest ³atwy w instalacji
31 u u¿ywaniu. Szczegó³y w dokumentacji w %{_docdir}/%{name}-%{version}.
32
33 Wystarczy zrobiæ jedno: mysqladmin create nuke mysql nuke < \
34 %{_docdir}/%{name}-%{version}/nuke.sql
35
36 (wiêcej informacji w %{_docdir}/%{name}-%{version}/README.first)
37
38 %prep
39 %setup -q -c %{name}-%{version}
40 install %{SOURCE1} README.first
41
42 # (TV): workaround for bad tarball
43 find -type d -exec chmod 755 '{}' \;
44 find -type f -exec chmod 644 '{}' \;
45 find -type f -empty |xargs rm -f
46 chmod 755 */*/*/
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{nukeroot}
51
52 cp -ar html/* $RPM_BUILD_ROOT%{nukeroot}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc ADDONS-MODULES BLOCKS CHANGES CREDITS INSTALL README*
60 %doc SUPPORT TODO TRANSLATIONS UPGRADE sql/nuke.sql upgrades
61 %dir %{nukeroot}
62 %config(noreplace) %attr(644,apache,apache) %{nukeroot}/config.php
63 %{nukeroot}/[^c]*
64 # more needed?
This page took 0.029983 seconds and 3 git commands to generate.