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

Annotation of /rpms/imp-h3/sme7/imp-h3.spec

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


Revision 1.2 - (hide annotations) (download)
Tue Nov 20 17:20:22 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: imp-h3-4_1_5-1_el4_sme
Changes since 1.1: +4 -1 lines
Import on branch sme7 of package imp-h3-4.1.5-1.el4.sme.src.rpm

1 slords 1.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 slords 1.2 Version: 4.1.5
9 slords 1.1 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 slords 1.2 * Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.5-1
97     - Updated to imp 4.1.5. [SME: 3569]
98    
99 slords 1.1 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
100     - Clean up spec so package can be built by koji/plague
101    
102     * Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.4-1.el4
103     - Updated to imp 4.1.4. [SME: 2784]
104    
105     * Sat Dec 09 2006 Shad L. Lords <slords@mail.com>
106     - Update to new release naming. No functional changes.
107     - Make Packager generic
108    
109     * Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 4.1.3-00sme01
110     - Updated to imp 4.1.3.
111    
112     * Mon Aug 28 2006 John H. Bennett III <bennettj@johnbennettservices.com> 4.0.5-01sme01
113     - Updated to 4.0.5
114    
115     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.0.4-02sme01
116     - Adjust Release tag to our standard format [SME: 70]
117    
118     * Wed Nov 09 2005 Greg Swallow 4.0.4-01.sme
119     - Update to 4.0.4
120    
121     * Fri May 06 2005 Charlie Brady <charlieb@e-smith.com> 4.0.3-1sme02
122     - Update to 4.0.3.
123    
124     * Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 4.0.3-rc1-1sme02
125     - Add "Provides: imp" header.
126     - Remove pre and post scripts, as they're not relevant (and potentially
127     troublesome) during install from CD.
128    
129     * Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca>
130     - [4.0.3-rc1-1sme01]
131     - changed name to imp-h3
132     - Update for IMP 4 on SME7
133    
134     * Tue Aug 10 2004 Shad L. Lords <slords@mail.com>
135     - [3.2.1-3sme01]
136     - Update specfile - change apache to httpd in requires
137    
138     * Thu Apr 24 2003 Gordon Rowell <gordon_rowell@mitel.com>
139     - [3.2.1-2es01]
140     - Check name of "imp" registry item, rather than "horde" so that we display
141     "Welcome to webmail" [gordonr 7694]
142    
143     * Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com>
144     - [3.2.1-2es00]
145     - Rebuild [gordonr 7694]
146    
147     * Tue Mar 25 2003 Dan Brown <dan@familybrown.org>
148     - 3.2.1-2es
149     - Fixed .spec file to include imp/download/ directory
150    
151     * Wed Mar 12 2003 Dan Brown <dan@familybrown.org>
152     - 3.2.1-1es
153     - Rebuild with IMP 3.2.1
154    
155     * Tue Feb 25 2003 Dan Brown <dan@familybrown.org>
156     - 3.2-1es
157     - Rebuilt with IMP 3.2
158    
159     * Tue Jun 18 2002 Dan Brown <dan@familybrown.org>
160     - 3.1-2es
161     - Added Obsoletes: tag for 3.1-01rc3; hopefully this will
162     resolve dependency problems.
163    
164     * Sun Jun 16 2002 Dan Brown <dan@familybrown.org>
165     - 3.1-1es
166     - rebuilt for 3.1 final
167    
168     * Sun Jun 2 2002 Dan Brown <dan@familybrown.org>
169     - 3.1rc3 release 1es
170     - rebuilt for 3.1rc3
171    
172     * Fri Mar 8 2002 Dan Brown <dan@familybrown.org> 3.0-3es
173     - changed Apache dependency to >= 1.3.19
174    
175     * Sun Feb 10 2002 Dan Brown <dan@familybrown.org>
176     - 3.0 release 2es
177     - removed httpd restart--it's giving errors on SME 5.1.2, and
178     it's handled by the e-smith-horde RPM
179    
180     * Sat Feb 09 2002 Dan Brown <dan@familybrown.org>
181     - 3.0 release 1es
182     - changed apache user, group, and content directory
183    
184     * Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org>
185     - 3.0 release 1
186    
187     * Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org>
188     - 3.0-RC4 release 1
189    
190     * Sat Dec 15 2001 Brent J. Nordquist <bjn@horde.org>
191     - rewritten for IMP 3.0
192    
193     * Wed Nov 14 2001 Brent J. Nordquist <bjn@horde.org>
194     - 2.2.7 release 1rh7
195    
196     * Sat Jul 21 2001 Brent J. Nordquist <bjn@horde.org>
197     - 2.2.6 release 1rh7
198    
199     * Tue Feb 06 2001 Brent J. Nordquist <bjn@horde.org>
200     - 2.2.4 release 1rh7
201    

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