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