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