]> git.pld-linux.org Git - packages/PHP-nuke.git/blob - PHP-nuke.spec
- updated to 7.3
[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:        7.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Databases/Interfaces
8 Source0:        http://phpnuke.org/files/PHP-Nuke-%{version}.zip
9 # Source0-md5:  b6bdea4d54e0693e85b96bb405e2c874
10 Source1:        PHP-Nuke.README.first
11 #Icon:          phpnuke.gif
12 URL:            http://phpnuke.org/
13 Requires:       php-mysql
14 Requires:       php-pcre
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
43 install %{SOURCE1} README.first
44
45 # (TV): workaround for bad tarball
46 find -type d -exec chmod 755 '{}' \;
47 find -type f -exec chmod 644 '{}' \;
48 find -type f -empty |xargs rm -f
49 chmod 755 */*/*/
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{nukeroot}
54
55 cp -ar html/* $RPM_BUILD_ROOT%{nukeroot}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Addons* Blocks* Changes* Credits* Install* README* Readme*
63 %doc Support* Upgrade* sql/nuke.sql upgrades
64 %dir %{nukeroot}
65 %config(noreplace) %attr(640,http,http) %{nukeroot}/config.php
66 %{nukeroot}/[^c]*
67 # more needed?
This page took 0.030656 seconds and 3 git commands to generate.