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