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