1 |
Summary: SME Server specific Nag configuration and templates. |
2 |
%define name smeserver-nag |
3 |
Name: %{name} |
4 |
%define version 1.1 |
5 |
%define release 3 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: smeserver-nag-1.1-1.prefs_php.patch |
12 |
Patch1: smeserver-nag-1.1-2.conf_php.patch |
13 |
Patch2: smeserver-nag-1.1-3.mysql_init_perm_change.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
16 |
Requires: imp-h3 >= 4.1 |
17 |
Requires: e-smith-base >= 4.15.1 |
18 |
Requires: e-smith-apache >= 1.1.0-18 |
19 |
Requires: e-smith-lib >= 1.15.1-16 |
20 |
Requires: nag-h3 >= 2.1 |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
AutoReqProv: no |
23 |
Obsoletes: dcb-e-smith-nag |
24 |
|
25 |
%changelog |
26 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
27 |
- Clean up spec so package can be built by koji/plague |
28 |
|
29 |
* Sat Dec 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-3 |
30 |
- Patch to change the nag mysql.init permissions to 0540 |
31 |
|
32 |
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-2 |
33 |
- Patch to conf.php templates to reflect changes in nag 2.1.1 |
34 |
|
35 |
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1 |
36 |
- Patch to prefs.php templates to reflect changes in nag 2.1.1 |
37 |
|
38 |
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-0 |
39 |
- Rolled to new dev stream to reflect work done for nag 2.1.1 |
40 |
|
41 |
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
42 |
- Added Nag registry.php settings in horde/config/registry |
43 |
|
44 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
45 |
- Removed 1.0-7 patch and fixed in source |
46 |
|
47 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
48 |
- Removed deprecated calls to esmith:db and esmith:config |
49 |
|
50 |
* Wed Mar 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
51 |
- Added an includes statement to 120Menusettings that will grab the information |
52 |
in horde/conf.menu.apps.php. This way each of the individual horde modules |
53 |
don't have to repeatedly process the same template for the menu array section in conf.php. |
54 |
|
55 |
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
56 |
- Added the ability to enable or disable nag menu icon from showing up on the |
57 |
main webmail screen. To enable config set nag service MenuArray disabled|enabled |
58 |
- e-smith-horde still needs to support this feature or manual intervention is |
59 |
required. |
60 |
|
61 |
* Wed Mar 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
62 |
- Removed post and postun events |
63 |
- Renamed to smeserver-nag to represent an addon product |
64 |
|
65 |
* Sun Feb 25 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
66 |
- modified spec file to come in line with e-smith-horde |
67 |
- modified createlinks to add templates2expand, symlinks, and prepped for |
68 |
post-install actions |
69 |
|
70 |
* Thu Feb 23 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
71 |
- completed template fragments for conf.php and prefs.php |
72 |
- recreated tar.gz file for the changes instead of doing patches since I am |
73 |
trying to get this to initial build/testing phase |
74 |
|
75 |
* Wed Feb 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
76 |
- Initial build |
77 |
|
78 |
%description |
79 |
This package adds necessary templates and configuration items |
80 |
so that Nag will work properly. |
81 |
|
82 |
%prep |
83 |
%setup |
84 |
|
85 |
%patch0 -p1 |
86 |
%patch1 -p1 |
87 |
%patch2 -p1 |
88 |
|
89 |
%build |
90 |
|
91 |
perl createlinks |
92 |
|
93 |
%install |
94 |
rm -rf $RPM_BUILD_ROOT |
95 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
96 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
97 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
98 |
|
99 |
%clean |
100 |
rm -rf $RPM_BUILD_ROOT |
101 |
|
102 |
%pre |
103 |
|
104 |
%preun |
105 |
|
106 |
%post |
107 |
|
108 |
%postun |
109 |
|
110 |
%files -f %{name}-%{version}-filelist |
111 |
%defattr(-,root,root) |