/[smeserver]/rpms/horde/sme7/horde3.spec
ViewVC logotype

Contents of /rpms/horde/sme7/horde3.spec

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


Revision 1.2 - (show annotations) (download)
Tue Nov 20 17:18:33 2007 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: horde-3_1_5-1_el4_sme
Changes since 1.1: +4 -1 lines
Import on branch sme7 of package horde-3.1.5-1.el4.sme.src.rpm

1 %define apachedir /etc/httpd
2 %define apacheuser www
3 %define apachegroup www
4 %define contentdir /home/httpd
5 %define phpini /etc/php.ini
6
7 Summary: The common Horde Framework for all Horde modules.
8 Name: horde
9 Version: 3.1.5
10 Release: 1%{?dist}
11 License: LGPL
12 Group: Applications/Horde
13 Source: ftp://ftp.horde.org/pub/horde/tarballs/horde-%{version}.tar.gz
14 URL: http://www.horde.org/
15 BuildArchitectures: noarch
16 BuildRoot: /tmp/horde-root
17 AutoReq: no
18 Requires: php >= 4.3.0
19 Requires: httpd >= 2.0.46
20 Prereq: /usr/bin/perl
21
22 %description
23 The Horde Framework provides a common structure and interface for Horde
24 applications (such as IMP, a web-based mail program). This RPM is
25 required for all other Horde module RPMs.
26
27 The Horde Project writes web applications in PHP and releases them under
28 Open Source licenses. For more information (including help with Horde
29 and its modules) please visit http://www.horde.org/.
30
31 %prep
32 %setup -q -n %{name}-%{version}
33
34 %build
35
36 %install
37 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
38 mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
39 #cp -p $RPM_SOURCE_DIR/horde.conf $RPM_BUILD_ROOT%{apachedir}/conf
40 mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde
41 cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde
42 chmod go-rwx $RPM_BUILD_ROOT%{contentdir}/html/horde/test.php
43 cd $RPM_BUILD_ROOT%{contentdir}/html/horde/config
44 mv hooks.php.dist hooks.php.dist1
45 #rm -rf hooks.php.dist
46 for d in *.dist; do
47 d0=`basename $d .dist`
48 if [ ! -f "$d0" ]; then
49 cp -p $d $d0
50 fi
51 done
52 mv hooks.php.dist1 hooks.php.dist
53
54 %clean
55 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
56
57 %post
58
59 %postun
60
61 %files
62 %defattr(-,root,root)
63 # Apache horde.conf file
64 #%config %{apachedir}/conf/horde.conf
65 # Include top level with %dir so not all files are sucked in
66 %dir %{contentdir}/html/horde
67 # Include top-level files by hand
68 %{contentdir}/html/horde/*.php
69 # Include these dirs so that all files _will_ get sucked in
70 %{contentdir}/html/horde/admin
71 %{contentdir}/html/horde/js
72 %{contentdir}/html/horde/lib
73 %{contentdir}/html/horde/locale
74 %{contentdir}/html/horde/po
75 %{contentdir}/html/horde/scripts
76 %{contentdir}/html/horde/services
77 %{contentdir}/html/horde/templates
78 %{contentdir}/html/horde/themes
79 %{contentdir}/html/horde/util
80 # Mark documentation files with %doc and %docdir
81 %doc %{contentdir}/html/horde/COPYING
82 %doc %{contentdir}/html/horde/README
83 %docdir %{contentdir}/html/horde/docs
84 %{contentdir}/html/horde/docs
85 # Mark configuration files with %config and use secure permissions
86 # (note that .dist files are considered software; don't mark %config)
87 %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/config
88 %defattr(640,root,%{apachegroup})
89 %{contentdir}/html/horde/config/.htaccess
90 %{contentdir}/html/horde/config/*.dist
91 %config %{contentdir}/html/horde/config/*.php
92 %config %{contentdir}/html/horde/config/*.xml
93
94 %changelog
95 * Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 3.1.5-1
96 - Update to horde 3.1.5 [SME: 3568]
97
98 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
99 - Clean up spec so package can be built by koji/plague
100
101 * Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 3.1.4-1.el4
102 - Update to horde 3.1.4 [SME: 2782]
103
104 * Sat Dec 09 2006 Shad L. Lords <slords@mail.com>
105 - Update to new release naming. No functional changes.
106 - Make Packager generic
107
108 * Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 3.1.3-00sme01
109 - Updated to Horde 3.1.3
110
111 * Mon Aug 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.12-01sme01
112 - Updated to Horde 3.0.12
113
114 * Thu Jul 06 2006 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.11-01sme01
115 - Patch to upgrade Horde 3.0.10 to 3.0.11 maintaing the go.php patch
116 - http://lists.horde.org/archives/announce/2006/000287.html [SME: 1710]
117
118 * Fri Apr 7 2006 Gordon Rowell <gordonr@gormand.com.au> 3.0.10-01sme01
119 - Rename to 3.0.10, maintaining the go.php patch [SME: 1157]
120
121 * Wed Apr 05 2006 John H. Bennett III <bennettj@johnbennettservices.com> 3.0.9-02sme02
122 - Patch to upgrade Horde 3.0.9 to 3.0.10 [SME: 1157]
123
124 * Thu Mar 16 2006 Charlie Brady <charlie_brady@mitel.com> 3.0.9-02sme01
125 - Include go.php from php 3.1 - security patch to fix
126 http://www.securityfocus.com/bid/17117/info [SME: 1061]
127 - Replace deprecated Copyright: header with License: header.
128
129 * Sun Mar 5 2006 Gordon Rowell <gordonr@gormand.com.au> 3.0.9-01sme02
130 - Rebuild and sign [SME: 940]
131
132 * Thu Feb 16 2006 John H. Bennett III <bennettj@thebennetthome.com> 3.0.9-01sme01
133 - Updated to Horde 3.09
134
135 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 3.0.7-02sme01
136 - Adjust Release tag to our standard format [SME: 70]
137
138 * Tue Nov 22 2005 Greg Swallow
139 - Updated to Horde 3.0.7
140
141 * Wed Nov 09 2005 Greg Swallow
142 - Updated to Horde 3.0.6
143
144 * Thu Aug 25 2005 Greg Swallow
145 - Updated to Horde 3.0.5
146
147 * Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca>
148 - 3.0.4-1sme01
149 - Update for Horde 3.0.4 on SME7
150
151 * Tue Aug 10 2004 Shad L. Lords <slords@mail.com>
152 - 2.2.1-2sme01
153 - Update specfile - change apache to httpd in requires
154
155 * Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com>
156 - 2.2.1-1es00
157 - Rebuild [gordonr 7694]
158
159 * Tue Feb 25 2003 Dan Brown <dan@familybrown.org>
160 - 2.2.1-1es
161 - Rebuilt with horde 2.2.1
162
163 * Mon Jul 1 2002 Dan Brown <dan@familybrown.org>
164 - 2.1 release 1es
165 - changed apache user and web root to comply with SME Server
166 - removed horde.conf file, as this information is in e-smith-horde RPM
167
168 * Tue Jun 25 2002 Brent J. Nordquist <bjn@horde.org>
169 - 2.1 release 3
170
171 * Mon Jun 24 2002 Brent J. Nordquist <bjn@horde.org>
172 - 2.1 release 2 (private beta)
173
174 * Thu Jun 13 2002 Brent J. Nordquist <bjn@horde.org>
175 - 2.1 release 1 (private beta)
176
177 * Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org>
178 - 2.0 release 1
179
180 * Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org>
181 - 2.0-RC4 release 1
182
183 * Sat Dec 15 2001 Brent J. Nordquist <bjn@horde.org>
184 - rewritten for Horde 2.0
185
186 * Wed Nov 14 2001 Brent J. Nordquist <bjn@horde.org>
187 - 1.2.7 release 1rh7
188
189 * Sat Jul 21 2001 Brent J. Nordquist <bjn@horde.org>
190 - 1.2.6 release 1rh7
191
192 * Tue Feb 06 2001 Brent J. Nordquist <bjn@horde.org>
193 - 1.2.4 release 1rh7
194

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