/[smeserver]/rpms/imp-h3/sme8/imp-h3.spec
ViewVC logotype

Contents of /rpms/imp-h3/sme8/imp-h3.spec

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


Revision 1.3 - (show annotations) (download)
Tue Mar 25 16:06:26 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: imp-h3-4_1_6-1_el5_sme
Changes since 1.2: +4 -1 lines
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com>  4.1.6-1
- Updated to imp 4.1.6. [SME: 4098]

1 %define apachedir /etc/httpd
2 %define apacheuser www
3 %define apachegroup www
4 %define contentdir /home/httpd
5
6 Summary: The Internet Messaging Program: webmail access to IMAP/POP3 accounts.
7 Name: imp-h3
8 Version: 4.1.6
9 Release: 1%{?dist}
10 License: GPL
11 Group: Applications/Horde
12 Source: ftp://ftp.horde.org/pub/imp/tarballs/imp-h3-%{version}.tar.gz
13 Source1: imp.conf
14 URL: http://www.horde.org/
15 BuildArchitectures: noarch
16 BuildRoot: /tmp/imp-root
17 Requires: php >= 4.3.0
18 Requires: php-imap >= 4.3.0
19 Requires: httpd >= 2.0.46
20 Requires: horde >= 3.1
21 Obsoletes: imp
22 Provides: imp
23 Prereq: /usr/bin/perl
24
25 %description
26 IMP is the Internet Messaging Program, one of the Horde applications.
27 It provides webmail access to IMAP and POP3 accounts.
28
29 The Horde Project writes web applications in PHP and releases them under
30 Open Source licenses. For more information (including help with IMP)
31 please visit http://www.horde.org/.
32
33 This package contains customizations for the Mitel Networks SME Server
34 and will probably not work properly on other Linux systems.
35
36 %prep
37 %setup -q -n %{name}-%{version}
38
39 %build
40
41 %install
42 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
43 mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
44 cp -p $RPM_SOURCE_DIR/imp.conf $RPM_BUILD_ROOT%{apachedir}/conf
45 mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/imp
46 cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/imp
47 cd $RPM_BUILD_ROOT%{contentdir}/html/horde/imp/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 %pre
59
60 %post
61
62 %postun
63
64 %files
65 %defattr(-,root,root)
66 # Apache imp.conf file
67 %config %{apachedir}/conf/imp.conf
68 # Include top level with %dir so not all files are sucked in
69 %dir %{contentdir}/html/horde/imp
70 # Include top-level files by hand
71 %{contentdir}/html/horde/imp/*.php
72 # Include these dirs so that all files _will_ get sucked in
73 %{contentdir}/html/horde/imp/js
74 %{contentdir}/html/horde/imp/lib
75 %{contentdir}/html/horde/imp/locale
76 %{contentdir}/html/horde/imp/po
77 %{contentdir}/html/horde/imp/scripts
78 %{contentdir}/html/horde/imp/templates
79 %{contentdir}/html/horde/imp/themes
80 # Mark documentation files with %doc and %docdir
81 %doc %{contentdir}/html/horde/imp/COPYING
82 %doc %{contentdir}/html/horde/imp/README
83 %docdir %{contentdir}/html/horde/imp/docs
84 %{contentdir}/html/horde/imp/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/imp/config
88 %defattr(640,root,%{apachegroup})
89 %{contentdir}/html/horde/imp/config/.htaccess
90 %{contentdir}/html/horde/imp/config/*.dist
91 %config %{contentdir}/html/horde/imp/config/*.php
92 %config %{contentdir}/html/horde/imp/config/*.txt
93 %config %{contentdir}/html/horde/imp/config/*.xml
94
95 %changelog
96 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 4.1.6-1
97 - Updated to imp 4.1.6. [SME: 4098]
98
99 * Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.5-1
100 - Updated to imp 4.1.5. [SME: 3569]
101
102 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
103 - Clean up spec so package can be built by koji/plague
104
105 * Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.4-1.el4
106 - Updated to imp 4.1.4. [SME: 2784]
107
108 * Sat Dec 09 2006 Shad L. Lords <slords@mail.com>
109 - Update to new release naming. No functional changes.
110 - Make Packager generic
111
112 * Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.3-00sme01
113 - Updated to imp 4.1.3.
114
115 * Mon Aug 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.5-01sme01
116 - Updated to 4.0.5
117
118 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.0.4-02sme01
119 - Adjust Release tag to our standard format [SME: 70]
120
121 * Wed Nov 09 2005 Greg Swallow 4.0.4-01.sme
122 - Update to 4.0.4
123
124 * Fri May 06 2005 Charlie Brady <charlieb@e-smith.com> 4.0.3-1sme02
125 - Update to 4.0.3.
126
127 * Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 4.0.3-rc1-1sme02
128 - Add "Provides: imp" header.
129 - Remove pre and post scripts, as they're not relevant (and potentially
130 troublesome) during install from CD.
131
132 * Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca>
133 - [4.0.3-rc1-1sme01]
134 - changed name to imp-h3
135 - Update for IMP 4 on SME7
136
137 * Tue Aug 10 2004 Shad L. Lords <slords@mail.com>
138 - [3.2.1-3sme01]
139 - Update specfile - change apache to httpd in requires
140
141 * Thu Apr 24 2003 Gordon Rowell <gordon_rowell@mitel.com>
142 - [3.2.1-2es01]
143 - Check name of "imp" registry item, rather than "horde" so that we display
144 "Welcome to webmail" [gordonr 7694]
145
146 * Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com>
147 - [3.2.1-2es00]
148 - Rebuild [gordonr 7694]
149
150 * Tue Mar 25 2003 Dan Brown <dan@familybrown.org>
151 - 3.2.1-2es
152 - Fixed .spec file to include imp/download/ directory
153
154 * Wed Mar 12 2003 Dan Brown <dan@familybrown.org>
155 - 3.2.1-1es
156 - Rebuild with IMP 3.2.1
157
158 * Tue Feb 25 2003 Dan Brown <dan@familybrown.org>
159 - 3.2-1es
160 - Rebuilt with IMP 3.2
161
162 * Tue Jun 18 2002 Dan Brown <dan@familybrown.org>
163 - 3.1-2es
164 - Added Obsoletes: tag for 3.1-01rc3; hopefully this will
165 resolve dependency problems.
166
167 * Sun Jun 16 2002 Dan Brown <dan@familybrown.org>
168 - 3.1-1es
169 - rebuilt for 3.1 final
170
171 * Sun Jun 2 2002 Dan Brown <dan@familybrown.org>
172 - 3.1rc3 release 1es
173 - rebuilt for 3.1rc3
174
175 * Fri Mar 8 2002 Dan Brown <dan@familybrown.org> 3.0-3es
176 - changed Apache dependency to >= 1.3.19
177
178 * Sun Feb 10 2002 Dan Brown <dan@familybrown.org>
179 - 3.0 release 2es
180 - removed httpd restart--it's giving errors on SME 5.1.2, and
181 it's handled by the e-smith-horde RPM
182
183 * Sat Feb 09 2002 Dan Brown <dan@familybrown.org>
184 - 3.0 release 1es
185 - changed apache user, group, and content directory
186
187 * Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org>
188 - 3.0 release 1
189
190 * Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org>
191 - 3.0-RC4 release 1
192
193 * Sat Dec 15 2001 Brent J. Nordquist <bjn@horde.org>
194 - rewritten for IMP 3.0
195
196 * Wed Nov 14 2001 Brent J. Nordquist <bjn@horde.org>
197 - 2.2.7 release 1rh7
198
199 * Sat Jul 21 2001 Brent J. Nordquist <bjn@horde.org>
200 - 2.2.6 release 1rh7
201
202 * Tue Feb 06 2001 Brent J. Nordquist <bjn@horde.org>
203 - 2.2.4 release 1rh7
204

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