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