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