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

Annotation of /rpms/kronolith-h3/contribs7/kronolith-h3.spec

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


Revision 1.4 - (hide annotations) (download)
Tue Apr 29 01:50:56 2008 UTC (16 years, 7 months ago) by mrjhb3
Branch: MAIN
CVS Tags: kronolith-h3-2_1_8-1_el4_sme
Changes since 1.3: +5 -2 lines
kronolith update to 2.1.8

1 mrjhb3 1.4 # $Id: kronolith-h3.spec,v 1.3 2008/04/02 15:03:55 slords Exp $
2 slords 1.3 # Authority: mrjhb3
3     # Name: John H. Bennett III
4    
5 slords 1.1 %define apachedir /etc/httpd
6     %define apacheuser www
7     %define apachegroup www
8     %define contentdir /home/httpd
9    
10     Summary: The web-based calendar system for Horde.
11     Name: kronolith-h3
12 mrjhb3 1.4 Version: 2.1.8
13 slords 1.1 Release: 1%{?dist}
14     License: LGPL
15     Group: Applications/Horde
16     Source: ftp://ftp.horde.org/pub/kronolith/tarballs/kronolith-h3-%{version}.tar.gz
17     URL: http://www.horde.org/
18     BuildArchitectures: noarch
19     BuildRoot: /tmp/horde-root
20     AutoReq: no
21     Requires: horde >= 3.1
22     Requires: php >= 4.3.0
23     Requires: httpd >= 2.0.46
24     Prereq: /usr/bin/perl
25    
26     %description
27     Kronolith is a web-based calendar system written in PHP and utilizing the
28     Horde Application Framework.
29    
30     The Horde Project writes web applications in PHP and releases them under
31     Open Source licenses. For more information (including help with Horde
32     and its modules) please visit http://www.horde.org/.
33    
34     This package contains customizations for SME Server
35     and will probably not work properly on other Linux systems.
36    
37     %prep
38     %setup -q -n %{name}-%{version}
39    
40     %build
41    
42     %install
43     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
44     mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
45     mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/kronolith
46     cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/kronolith
47     cd $RPM_BUILD_ROOT%{contentdir}/html/horde/kronolith/config
48     for d in *.dist; do
49     d0=`basename $d .dist`
50     if [ ! -f "$d0" ]; then
51     cp -p $d $d0
52     fi
53     done
54    
55     %clean
56     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
57    
58     %post
59    
60     %postun
61    
62     %files
63     %defattr(-,root,root)
64     # Include top level with %dir so not all files are sucked in
65     %dir %{contentdir}/html/horde/kronolith
66     # Include top-level files by hand
67     %{contentdir}/html/horde/kronolith/*.php
68     # Include these dirs so that all files _will_ get sucked in
69     %{contentdir}/html/horde/kronolith/js
70     %{contentdir}/html/horde/kronolith/lib
71     %{contentdir}/html/horde/kronolith/locale
72     %{contentdir}/html/horde/kronolith/po
73     %{contentdir}/html/horde/kronolith/scripts
74     %{contentdir}/html/horde/kronolith/templates
75     %{contentdir}/html/horde/kronolith/themes
76     # Mark documentation files with %doc and %docdir
77     %doc %{contentdir}/html/horde/kronolith/COPYING
78     %doc %{contentdir}/html/horde/kronolith/README
79     %docdir %{contentdir}/html/horde/kronolith/docs
80     %{contentdir}/html/horde/kronolith/docs
81     # Mark configuration files with %config and use secure permissions
82     # (note that .dist files are considered software; don't mark %config)
83     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/kronolith/config
84     %defattr(640,root,%{apachegroup})
85     %{contentdir}/html/horde/kronolith/config/.htaccess
86     %{contentdir}/html/horde/kronolith/config/*.dist
87     %config %{contentdir}/html/horde/kronolith/config/*.php
88     %config %{contentdir}/html/horde/kronolith/config/*.xml
89    
90     %changelog
91 mrjhb3 1.4 * Mon Apr 28 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.8-1
92     - Updated to kronolith 2.1.8
93    
94 slords 1.2 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 2.1.7-1
95     - Updated to kronolith 2.1.7
96    
97 slords 1.1 * Mon Nov 11 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.6-1
98     - Updated to kronolith 2.1.6
99    
100     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
101     - Clean up spec so package can be built by koji/plague
102    
103     * Fri Mar 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.5-1
104     - Updated to kronolith 2.1.5
105    
106     * Mon Dec 4 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-00sme01
107     - Updated to kronolith 2.1.4
108    
109     * Fri Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.3-00sme01
110     - Updated to kronolith 2.1.3
111    
112     * Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.2-00sme01
113     - Updated to kronolith 2.1.2
114    
115     * Wed Mar 1 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.0.6-1sme02
116     - Removed post and postun events
117     - Renamed to smeserver-kronolith to represent an addon product
118    
119     * Wed Feb 15 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.0.6-1sme01
120     - Initial Release of Kronolith 2.0.6 building on Greg's work
121    
122     * Thu Sep 01 2005 Greg Swallow
123     - [1.0-1sme01]
124     - Initial Release
125    
126    

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