--- rpms/smeserver-nag/contribs7/smeserver-nag.spec 2008/04/02 15:03:58 1.2 +++ rpms/smeserver-nag/contribs7/smeserver-nag.spec 2010/05/11 03:13:35 1.10 @@ -1,97 +1,79 @@ -# $Id$ +# $Id: smeserver-nag.spec,v 1.9 2010/01/22 03:18:21 mrjhb3 Exp $ # Authority: mrjhb3 # Name: John H. Bennett III Summary: SME Server specific Nag configuration and templates. %define name smeserver-nag Name: %{name} -%define version 1.1 -%define release 3 +%define version 2.2 +%define release 7 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0: smeserver-nag-1.1-1.prefs_php.patch -Patch1: smeserver-nag-1.1-2.conf_php.patch -Patch2: smeserver-nag-1.1-3.mysql_init_perm_change.patch +Patch1: nag_2.3.patch +Patch2: nag_2.3.sql.patch +Patch3: nag_2.3.2.patch +Patch4: nag_2.3.3.patch +Patch5: nag_2.3.4.patch +Patch6: nag_2.3.5.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch -Requires: imp-h3 >= 4.1 +Requires: imp-h3 >= 4.2 Requires: e-smith-base >= 4.15.1 Requires: e-smith-apache >= 1.1.0-18 Requires: e-smith-lib >= 1.15.1-16 -Requires: nag-h3 >= 2.1 +Requires: nag-h3 >= 2.2 BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReqProv: no Obsoletes: dcb-e-smith-nag %changelog -* Sun Apr 29 2007 Shad L. Lords -- Clean up spec so package can be built by koji/plague +* Mon May 10 2010 John H. Bennett III 2.2-7 +- Updated templates to reflect Nag 2.3.5 -* Sat Dec 2 2006 John H. Bennett III 1.1-3 -- Patch to change the nag mysql.init permissions to 0540 +* Mon Dec 28 2009 John H. Bennett III 2.2-6 +- Updated templates to reflect Nag 2.3.4 -* Wed Sep 13 2006 John H. Bennett III 1.1-2 -- Patch to conf.php templates to reflect changes in nag 2.1.1 +* Sat Oct 10 2009 John H. Bennett III 2.2-5 +- Updated templates to reflect Nag 2.3.3 -* Wed Sep 13 2006 John H. Bennett III 1.1-1 -- Patch to prefs.php templates to reflect changes in nag 2.1.1 +* Wed Jun 17 2009 John H. Bennett III 2.2-4 +- Updated templates to reflect Nag 2.3.2 -* Wed Sep 13 2006 John H. Bennett III 1.1-0 -- Rolled to new dev stream to reflect work done for nag 2.1.1 +* Tue Sep 30 2008 John H. Bennett III 2.2-3 +- Patch to add forgotten changes from nag upgrade sql script -* Thu Jul 20 2006 John H. Bennett III 1.0-9 -- Added Nag registry.php settings in horde/config/registry +* Mon Sep 29 2008 John H. Bennett III 2.2-2 +- Updated templates to reflect Nag 2.3 -* Sat Jun 10 2006 John H. Bennett III 1.0-8 -- Removed 1.0-7 patch and fixed in source +* Tue Jun 24 2008 John H. Bennett III 2.2-1 +- Initial production build +- Jump in package name to reflect new version of Nag 2.2 -* Sat Jun 10 2006 John H. Bennett III 1.0-7 -- Removed deprecated calls to esmith:db and esmith:config +* Sat May 24 2008 John H. Bennett III 0.2-1 +- Updated to include changes in Nag 2.2 RC3 +- Re-rolled tarball -* Wed Mar 22 2006 John H. Bennett III 1.0-6 -- Added an includes statement to 120Menusettings that will grab the information - 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. - -* Sat Mar 18 2006 John H. Bennett III 1.0-5 -- Added the ability to enable or disable nag menu icon from showing up on the - main webmail screen. To enable config set nag service MenuArray disabled|enabled -- e-smith-horde still needs to support this feature or manual intervention is - required. - -* Wed Mar 1 2006 John H. Bennett III 1.0-4 -- Removed post and postun events -- Renamed to smeserver-nag to represent an addon product - -* Sun Feb 25 2006 John H. Bennett III 1.0-3 -- 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 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 1.0-1 +* Sun Apr 6 2008 John H. Bennett III 0.1-1 - Initial build +- Jump in package name to reflect new version of Nag %description This package adds necessary templates and configuration items -so that Nag will work properly. +so that Nag will work properly on SME Server %prep %setup -%patch0 -p1 -%patch1 -p1 +%patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build - perl createlinks %install @@ -103,13 +85,5 @@ echo "%doc COPYING" >> %{name}- %clean rm -rf $RPM_BUILD_ROOT -%pre - -%preun - -%post - -%postun - %files -f %{name}-%{version}-filelist %defattr(-,root,root)