]> git.pld-linux.org Git - packages/PHP-nuke.git/blame - PHP-nuke.spec
- raw version from MDK.
[packages/PHP-nuke.git] / PHP-nuke.spec
CommitLineData
e0241ec6 1%define nukeroot /var/www/html/nuke
2
3Summary: Slashdot-like webnews site written in php. Easy to install and use
4Name: PHP-nuke
5Version: 6.0
6Release: 1mdk
7Source0: http://belnet.dl.sourceforge.net/sourceforge/phpnuke/PHP-Nuke-%version.tar.bz2
8Source1: PHP-Nuke-README.first.bz2
9License: GPL
10Url: http://phpnuke.org
11Icon: phpnuke.gif
12Group: System/Servers
13Requires: webserver mysqlserver php-common mod_php php-mysql
14BuildRoot: %_tmppath/%name-%{version}-buildroot
15BuildArch: noarch
16Prefix: %{nukeroot}
17
18%description
19Web-portal writen in php.
20Very powerful, yet easy to install and use: see documentation in
21%{_docdir}/%{name}-%{version} for details.
22
23You only have to run :
24 mysqladmin create nuke
25 mysql nuke < %{_docdir}/%{name}-%{version}/nuke.sql
26
27[read %{_docdir}/%{name}-%{version}/README.first
28 for further information .-)]
29
30%prep
31
32# Create Build Subdirectory and Unpack the Tar Ball
33%setup -q -c %{name}-%{version}
34
35cp %{SOURCE1} %{_builddir}/%{name}-%{version}/README.first.bz2
36bunzip2 %{_builddir}/%{name}-%{version}/*.bz2
37
38# (TV): workaround for bad tarball
39find -type d -exec chmod 755 '{}' \;
40find -type f -exec chmod 644 '{}' \;
41find -type f -empty |xargs rm -f
42chmod 755 */*/*/
43
44%build
45
46%install
47[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
48
49# Make the Necessary Directories
50install -m755 -d %{buildroot}%{nukeroot}
51install -m755 -d %{buildroot}%{_docdir}/%{name}-%{version}
52
53cp -ar html/* %{buildroot}/%{nukeroot}/
54
55%clean
56[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
57
58%files
59%defattr(-, root, root)
60%doc ADDONS-MODULES BLOCKS CHANGES CREDITS INSTALL README*
61%doc SUPPORT TODO TRANSLATIONS UPGRADE sql/nuke.sql upgrades
62%config(noreplace) %attr(644,apache,apache) %{nukeroot}/config.php
63%{nukeroot}
64
65%changelog
66* Mon Sep 23 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 6.0-1mdk
67- new version
68- new relocatable Prefix: %%{nukeroot} (defaults to /var/www/html/nuke)
69
70* Wed Sep 18 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 5.6-5mdk
71- do not require non existant php extensions
72
73* Thu Aug 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.6-4mdk
74- never output text in %%post
75
76* Tue Aug 6 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 5.6-3mdk
77- remove useradd/delete in %%pre %%postun
78- added some instructions in %%post
79
80* Mon Jul 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.6-2mdk
81- build release
82
83* Fri Jun 7 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 5.6-1mdk
84- new version
85- misc spec file fixes
86
87* Wed May 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.5-1mdk
88- new release
89
90* Thu Nov 22 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.3-2mdk
91- rpmlint fixes
92
93* Thu Nov 08 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.3-1mdk
94- new release
95
96* Fri Oct 05 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.2-2mdk
97- explain how to create the nuke db
98
99* Wed Oct 03 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.2-1mdk
100- new release
101
102* Thu Aug 16 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.1-1mdk
103- new release
104
105* Mon Aug 06 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.0.1-1mdk
106- don't overwirte config file
107- let apache alter it
108- clean spec file
109- readd url int source0
110- explain the only remaining step to do in description (one-liner)
111
112* Thu Jul 19 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.0.1-1mdk
113- new release
114- spec cleaning (empty {%%post,%%preun}, s,Copyright!License, ...)
115- fix '%%changelog not in decending chronological order' from denis
116
117* Tue Jan 26 2001 Denis Havlik <deno@mandrakesoft.com> 4.3-1mdk
118- update to version 4.3, add php-mysql and mod-php to 'requires'
119
120* Thu Jan 11 2001 Denis Havlik <deno@mandrakesoft.com> 3.6-1mdk
121- version 3.6, rebuild for php4
122
123* Sat Sep 2 2000 Denis Havlik <deno@mandrakesoft.com> 3.0-1mdk
124- first RPM of PHP-nuke-3.0
This page took 0.032243 seconds and 4 git commands to generate.