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