/[smecontribs]/rpms/smeserver-kronolith/contribs7/smeserver-kronolith.spec
ViewVC logotype

Diff of /rpms/smeserver-kronolith/contribs7/smeserver-kronolith.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by slords, Tue Apr 1 16:52:18 2008 UTC Revision 1.13 by mrjhb3, Thu May 13 03:08:37 2010 UTC
# Line 1  Line 1 
1    # $Id: smeserver-kronolith.spec,v 1.12 2010/01/22 03:08:33 mrjhb3 Exp $
2    # Authority: mrjhb3
3    # Name: John H. Bennett III
4    
5  Summary: SME Server specific Kronolith configuration and templates.  Summary: SME Server specific Kronolith configuration and templates.
6  %define name smeserver-kronolith  %define name smeserver-kronolith
7  Name: %{name}  Name: %{name}
8  %define version 1.1  %define version 2.2
9  %define release 11  %define release 10
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-kronolith-1.1-1.conf_php.patch  Patch1: kronolith-2.3.patch
16  Patch1: smeserver-kronolith-1.1-2.prefs_php.patch  Patch2: kronolith-2.3.sql.patch
17  Patch2: smeserver-kronolith-1.1-3.remove_freebusy_template.patch  Patch3: smeserver-kronolith_reminders_agendas.patch
18  Patch3: smeserver-kronolith-1.1-4.kronolith-2.1.3_prefs.php.patch  Patch4: kronolith-2.3.2.patch
19  Patch4: smeserver-kronolith-1.1-5.mysql_init_perm_change.patch  Patch5: kronolith-2.3.3.patch
20  Patch5: smeserver-kronolith-1.1-6.freebusy_wording.patch  Patch6: smeserver-kronolith_reminders_agendas_owner.patch
21  Patch6: smeserver-kronolith-1.1-7.registry_php.patch  Patch7: smeserver-kronolith_fburl.patch
22  Patch7: smeserver-kronolith-1.1-usermanager.patch  Patch8: smeserver-kronolith_remove_freebusy_db.patch
23  Patch8: smeserver-kronolith-1.1-ldap.patch  Patch9: smeserver-kronolith_remove_calFBURL.patch
 Packager: John H. Bennett III <bennettj@johnbennettservices.com>  
24  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25  BuildArchitectures: noarch  BuildArchitectures: noarch
26  Requires: imp-h3 >= 4.1  Requires: imp-h3 >= 4.3.7
27  Requires: e-smith-base >= 4.15.1  Requires: e-smith-base >= 4.15.1
28  Requires: e-smith-apache >= 1.1.0-18  Requires: e-smith-apache >= 1.1.0-18
29  Requires: e-smith-lib >= 1.15.1-16  Requires: e-smith-lib >= 1.15.1-16
30  Requires: e-smith-base >= 4.18.1-5  Requires: e-smith-base >= 4.18.1-5
31  Requires: e-smith-ldap >= 4.12.0-9  Requires: e-smith-ldap >= 4.12.0-9
32  Requires: kronolith-h3 >= 2.1  Requires: kronolith-h3 >= 2.2
33  Requires: php-pear-HTTP-Request >= 1.4.0  Requires: php-pear-HTTP-Request >= 1.4.0
34  Requires: php-pear-Net-Socket >= 1.0.6  Requires: php-pear-Net-Socket >= 1.0.6
35  Requires: php-pear-Net-URL >= 1.0.14  Requires: php-pear-Net-URL >= 1.0.14
# Line 39  Obsoletes: pear-net_url >= 1.0.14 Line 42  Obsoletes: pear-net_url >= 1.0.14
42    
43    
44  %changelog  %changelog
45  * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.1-11  * Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-10
46  - Added obsoletes for the previous three pear modules required by kronolith.  - Added removal of user's calFBURL from LDAP smeserver-kronolith is uninstalled
47    
48    * Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-9
49    - Added migrate fragment to remove FreeBusy db entry from accounts since this
50      information is now saved directly to LDAP on SME8.
51    
52    * Thu Apr 22 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-8
53    - Added saving of user's calFBURL to LDAP for use with SME8. [SME: 5708]
54    
55    * Sun Jan 24 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-7
56    - Update to change owner of alarm and reminder cron jobs from root to www [SME: 4851]
57    
58    * Mon Dec 28 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-6
59    - Updated templates to reflect Kronolith 2.3.3
60    
61  * Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-10  * Fri Oct 9 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-5
62  - Added obsoletes for the previous three pear modules required by kronolith.  - Updated templates to reflect Kronolith 2.3.2
63    
64  * Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-9  * Sun Dec 14 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-4
65  - Updated spec file to add requires for php-pear package names that match  - Patch to add more functionality to Kronolith for calendar reminders and daily agenda email
66    the naming convention in the SME8 repo.  - config setprop horde reminders enabled - default is enabled and this is set to run every 5 minutes.
67    - The above sends calendar email alarms/reminders.
68  * Sat May  5 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-8  - config setprop horde remindertime x - will change the frequency, value in minutes.
69  - Added Requires parameter for pear-http_request, pear-net_socket, and  - config setprop horde agendas enabled  - default is disabled set to run everyday at 5 am when enabled.
70    pear-net_url that kronolith needs.  - The above sends daily calendar agenda emails.
71    - config setprop horde agenda time x - will change the frequency, value needs to be 0 - 24.
 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  
 - Clean up spec so package can be built by koji/plague  
   
 * Wed Mar 28 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-7  
 - Update to kronolith specific registry.php template to add kronolith-alarms  
   per update of horde 3.1.4  
   
 * Thu Dec 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-6  
 - Patch that changes the example FreeBusy format to match Kronolith 2.1.x.  
   
 * Sat Dec 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-5  
 - Patch to change the kronolith mysql.init permissions to 0540  
   
 * Thu Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-4  
 - Patch to prefs.php templates to reflet changes in kronolith 2.1.3  
   
 * Mon Oct 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-3  
 - Removed the templates-custom section that checked for the freebusy db setting  
   and moved it to the e-smith-turba RPM that I am currently maintaining for  
   turba 2.1.x  
   
 * Fri Sep 15 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-2  
 - Patch to prefs.php templates to reflect changes in kronolith 2.1.2  
   
 * Thu Sep 14 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-1  
 - Patch to conf.php templates to reflect changes in kronolith 2.1.2  
   
 * Thu Sep 14 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.1-0  
 - Rolled to new dev stream to reflect work done for kronolith 2.1.2  
   
 * Wed Aug 30 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-19  
 - Manually changed the S24 to an S27 in smeserver-kronolith-1.0-11.adv-ldap-update.patch  
 - and smeserver-kronolith-1.0-15.ldap_user-create.patch so that the FreeBusy info will be  
   added after all of the user information is added.  
 - Modified the adv-ldap-update logic so that the error when adding a user is no longer  
   present.  The error was cosmetic as the system was trying to create a new ldap user  
   twice.  All I did was remove all of the ldap attribute lines except those pertaining  
   to free/busy info and remarked out some unneeded lines that could have been deleted,  
   but I chose to leave them.  
   
 * Mon Aug 21 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-18  
 - Added the ability to enable or disable the storing of freebusy information  
   for horde to the ldap database.  
   
 * Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-17  
 - Added Kronolith registry.php settings in horde/config/registry.  
   
 * Tue Jul 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-16  
 - Added a mysql.init event that will increase the permissons for the horde user on the horde  
   database so that other horde add-on modules will work correctly, namely Kronolith.  
   
 * Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-15  
 - Added an S24adv-ldap-update entry to the user-create event so that the freebusy  
   url will be saved to the ldap database when a user is initally created using the  
   advanced user management panel.  It is purposely running before S25ldap-update  
   so that the freebusy info will be saved when a new user is created otherwise there  
   is an error.  There is still an error with the S25 action as both actions are  
   trying to create a user, but the error has no effect.  The S24adv-ldap-update file  
   is a complete copy of the S25ldap-update with is symlinked to actions/ldap-update.  
   
 * Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-14  
 - Set the default DB entry for freebusy to enabled.    
   To disable config setprop horde freebusy disabled  
   
 * Mon Jul 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-13  
 - Changed the default free/busy address book search to the local ldap setting  
   
 * Sun Jul 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-12  
 - Added some verbage to show what the format of the free/busy url should be.  
   
 * Sun Jul 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-11  
 - Added server-manager panel for advanced user management.  This is a duplicate  
   of the SME Server's Users Panel but adds the ability to save Kronolith  
   Free/Busy information into the LDAP database.  
   
 * Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-10  
 - Removed 1.0-9 patch and fixed in source  
   
 * Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9  
 - Removed deprecated calls to esmith:db and esmith:config  
   
 * Mon Jun 05 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8  
 - Fixed typo on Patch 5  
   
 * Mon May 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7  
 - Started working on intergrating Free/Busy info into the main SME server LDAP database.  
   This should help a lot in setting up a company wide directory with Free/Busy information  
   already populated in the DB which should eliminate the need for each user to have to setup  
   a personal address book with everyone's name that they want to do free/busy against.    
 - To activate it - config setprop horde freebusy enabled.  Default is disabled.  
   
 * Sat May 6 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6  
 - modified the hordereminders crontab entry by adding a -q option which  
   runs the script in quiet-mode and suppresses the HTTP Header output.    
   Thanks to Greg Swallow for the hint.  Now the reminders script runs without  
   sending  an email to the admin every five minutes  
   
 * Sat Apr 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5      
 - Added back in the horde reminders php script.  It does work with the CGI version  
   of php.  There is a side-effect in that the script sends an email to the root user  
   every time it's executed.  Setting up a simple rule to remove that e-mail should be  
   sufficient until the CLI version of PHP is available.  The cron entry has also been  
   moved from /etc/cron.d to /etc/crontab  
   
 * Wed Mar 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4  
 - 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 <bennettj@johnbennettservices.com> 1.0-3  
 - Added the ability to enable or disable kronolith menu icon from showing up on the  
   main webmail screen.  To enable config set kronolith service MenuArray disabled|enabled  
 - e-smith-horde still needs to support this feature or manual intervention is  
   required.  
   
 * Fri Mar 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2  
 - Remarked out HordeReminders script as it currently won't work on SME 7 due  
   to the fact that the php version installed by default is the cgi version and  
   not the cli version.  Horde reminders requires the cli version of php to work.  
   
 * Wed Mar 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1  
 - Removed post and postun events  
 - Renamed to smeserver-kronolith to represent an addon product  
72    
73  * Sat Feb 25 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-0  * Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-3
74    - Patch to add forgotten changes from kronolith upgrade sql script
75    
76    * Fri Dec 05 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-2
77    - Updated templates to reflect Kronolith 2.3
78    
79    * Sun Jun 22 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1
80    - Initial production build
81    - Jump in package name to reflect new version of kronolith
82    
83    * Tue Jun 3 2008 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1
84  - Initial build  - Initial build
85    - Jump in package name to reflect new version of kronolith
86    
87  %description  %description
88  This package adds necessary templates and configuration items  This package adds necessary templates and configuration items
89  so that Kronolith will work properly.  so that Kronolith will work properly on SME Server
90    
91  %prep  %prep
92  %setup  %setup
93    
 %patch0 -p1  
94  %patch1 -p1  %patch1 -p1
95  %patch2 -p1  %patch2 -p1
96  %patch3 -p1  %patch3 -p1
# Line 196  so that Kronolith will work properly. Line 99  so that Kronolith will work properly.
99  %patch6 -p1  %patch6 -p1
100  %patch7 -p1  %patch7 -p1
101  %patch8 -p1  %patch8 -p1
102    %patch9 -p1
103    
104  %build  %build
   
105  perl createlinks  perl createlinks
106    
107  %install  %install
# Line 210  echo "%doc COPYING"          >> %{name}- Line 113  echo "%doc COPYING"          >> %{name}-
113  %clean  %clean
114  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
115    
 %pre  
   
116  %preun  %preun
117    if [ $1 = 0 ] ; then
118       /etc/e-smith/events/actions/ldap-delete-fburl ldap-update
119    fi
120    
121  %post  %post
122    /sbin/e-smith/expand-template /etc/openldap/slapd.conf
123    /etc/rc7.d/S80ldap restart
124    sleep 5
125    /etc/e-smith/events/actions/ldap-add-fburl ldap-update
126    
127  %postun  %postun
128    if [ $1 = 0 ] ; then
129       /sbin/e-smith/expand-template /etc/openldap/slapd.conf
130       /etc/rc7.d/S80ldap restart
131    fi
132    
133  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
134  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed