]> git.pld-linux.org Git - packages/PHP-nuke.git/blob - PHP-nuke.spec
53dc95f7503e48a7b993c75d7e445f7e6c2ace38
[packages/PHP-nuke.git] / PHP-nuke.spec
1 # TODO:
2 # - SECURITY: http://securitytracker.com/alerts/2004/Jul/1010734.html
3 Summary:        Slashdot-like webnews site written in php, easy to install and use
4 Summary(pl):    Serwis nowinek WWW w stylu Slashdota napisany w PHP, ³atwy w instalacji i u¿ywaniu
5 Name:           PHP-nuke
6 Version:        7.3
7 Release:        1
8 License:        GPL
9 Group:          Applications/Databases/Interfaces
10 Source0:        http://phpnuke.org/files/PHP-Nuke-%{version}.zip
11 # Source0-md5:  b6bdea4d54e0693e85b96bb405e2c874
12 Source1:        PHP-Nuke.README.first
13 #Icon:          phpnuke.gif
14 URL:            http://phpnuke.org/
15 Requires:       php-mysql
16 Requires:       php-pcre
17 Requires:       webserver
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         nukeroot        /home/services/httpd/html/nuke
22
23 %description
24 Web-portal writen in php. Very powerful, yet easy to install and use:
25 see documentation in %{_docdir}/%{name}-%{version} for details.
26
27 You only have to run: mysqladmin create nuke mysql nuke < \
28 %{_docdir}/%{name}-%{version}/nuke.sql
29
30 (read %{_docdir}/%{name}-%{version}/README.first for further
31 information)
32
33 %description -l pl
34 Portal WWW napisany w PHP. Ma du¿e mo¿liwo¶ci, jest ³atwy w instalacji
35 u u¿ywaniu. Szczegó³y w dokumentacji w %{_docdir}/%{name}-%{version}.
36
37 Wystarczy zrobiæ jedno: mysqladmin create nuke mysql nuke < \
38 %{_docdir}/%{name}-%{version}/nuke.sql
39
40 (wiêcej informacji w %{_docdir}/%{name}-%{version}/README.first)
41
42 %prep
43 %setup -q -c %{name}-%{version}
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* Blocks* Changes* Credits* Install* README* Readme*
65 %doc Support* 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.048072 seconds and 3 git commands to generate.