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