1 |
|
# $Id: smeserver-nag.spec,v 1.7 2009/06/18 01:18:25 mrjhb3 Exp $ |
2 |
|
# Authority: mrjhb3 |
3 |
|
# Name: John H. Bennett III |
4 |
|
|
5 |
Summary: SME Server specific Nag configuration and templates. |
Summary: SME Server specific Nag configuration and templates. |
6 |
%define name smeserver-nag |
%define name smeserver-nag |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.1 |
%define version 2.2 |
9 |
%define release 3 |
%define release 5 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-nag-1.1-1.prefs_php.patch |
Patch1: nag_2.3.patch |
16 |
Patch1: smeserver-nag-1.1-2.conf_php.patch |
Patch2: nag_2.3.sql.patch |
17 |
Patch2: smeserver-nag-1.1-3.mysql_init_perm_change.patch |
Patch3: nag_2.3.2.patch |
18 |
|
Patch4: nag_2.3.3.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: imp-h3 >= 4.1 |
Requires: imp-h3 >= 4.2 |
22 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
23 |
Requires: e-smith-apache >= 1.1.0-18 |
Requires: e-smith-apache >= 1.1.0-18 |
24 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
25 |
Requires: nag-h3 >= 2.1 |
Requires: nag-h3 >= 2.2 |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
Obsoletes: dcb-e-smith-nag |
Obsoletes: dcb-e-smith-nag |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sat Oct 10 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5 |
32 |
- Clean up spec so package can be built by koji/plague |
- Updated templates to reflect Nag 2.3.3 |
|
|
|
|
* Sat Dec 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-3 |
|
|
- Patch to change the nag mysql.init permissions to 0540 |
|
|
|
|
|
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-2 |
|
|
- Patch to conf.php templates to reflect changes in nag 2.1.1 |
|
|
|
|
|
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1 |
|
|
- Patch to prefs.php templates to reflect changes in nag 2.1.1 |
|
|
|
|
|
* Wed Sep 13 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-0 |
|
|
- Rolled to new dev stream to reflect work done for nag 2.1.1 |
|
|
|
|
|
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
|
|
- Added Nag registry.php settings in horde/config/registry |
|
33 |
|
|
34 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
* Wed Jun 17 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4 |
35 |
- Removed 1.0-7 patch and fixed in source |
- Updated templates to reflect Nag 2.3.2 |
36 |
|
|
37 |
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
* Tue Sep 30 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3 |
38 |
- Removed deprecated calls to esmith:db and esmith:config |
- Patch to add forgotten changes from nag upgrade sql script |
39 |
|
|
40 |
* Wed Mar 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
* Mon Sep 29 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2 |
41 |
- Added an includes statement to 120Menusettings that will grab the information |
- Updated templates to reflect Nag 2.3 |
|
in horde/conf.menu.apps.php. This way each of the individual horde modules |
|
|
don't have to repeatedly process the same template for the menu array section in conf.php. |
|
42 |
|
|
43 |
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
44 |
- Added the ability to enable or disable nag menu icon from showing up on the |
- Initial production build |
45 |
main webmail screen. To enable config set nag service MenuArray disabled|enabled |
- Jump in package name to reflect new version of Nag 2.2 |
|
- e-smith-horde still needs to support this feature or manual intervention is |
|
|
required. |
|
46 |
|
|
47 |
* Wed Mar 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
* Sat May 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.2-1 |
48 |
- Removed post and postun events |
- Updated to include changes in Nag 2.2 RC3 |
49 |
- Renamed to smeserver-nag to represent an addon product |
- Re-rolled tarball |
50 |
|
|
51 |
* Sun Feb 25 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
* Sun Apr 6 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
|
- modified spec file to come in line with e-smith-horde |
|
|
- modified createlinks to add templates2expand, symlinks, and prepped for |
|
|
post-install actions |
|
|
|
|
|
* Thu Feb 23 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
|
|
- completed template fragments for conf.php and prefs.php |
|
|
- recreated tar.gz file for the changes instead of doing patches since I am |
|
|
trying to get this to initial build/testing phase |
|
|
|
|
|
* Wed Feb 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
|
52 |
- Initial build |
- Initial build |
53 |
|
- Jump in package name to reflect new version of Nag |
54 |
|
|
55 |
%description |
%description |
56 |
This package adds necessary templates and configuration items |
This package adds necessary templates and configuration items |
57 |
so that Nag will work properly. |
so that Nag will work properly on SME Server |
58 |
|
|
59 |
%prep |
%prep |
60 |
%setup |
%setup |
61 |
|
|
62 |
%patch0 -p1 |
%patch1 -p1 |
|
%patch1 -p1 |
|
63 |
%patch2 -p1 |
%patch2 -p1 |
64 |
|
%patch3 -p1 |
65 |
|
%patch4 -p1 |
66 |
|
|
67 |
%build |
%build |
|
|
|
68 |
perl createlinks |
perl createlinks |
69 |
|
|
70 |
%install |
%install |
76 |
%clean |
%clean |
77 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
78 |
|
|
|
%pre |
|
|
|
|
|
%preun |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|
|
|
|
79 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
80 |
%defattr(-,root,root) |
%defattr(-,root,root) |