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

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

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


Revision 1.1 - (show annotations) (download)
Thu Feb 14 19:51:47 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: imp-h3-4_3_9-1_el6_sme, HEAD
Initial import

1 # $Id: imp-h3.spec,v 1.14 2010/11/08 03:59:37 mrjhb3 Exp $
2
3 %define apachedir /etc/httpd
4 %define apacheuser www
5 %define apachegroup www
6 %define contentdir /home/httpd
7
8 Summary: The Internet Messaging Program: webmail access to IMAP/POP3 accounts.
9 Name: imp-h3
10 Version: 4.3.9
11 Release: 1%{?dist}
12 License: GPL
13 Group: Applications/Horde
14 Source: ftp://ftp.horde.org/pub/imp/tarballs/imp-h3-%{version}.tar.gz
15 URL: http://www.horde.org/
16 BuildArchitectures: noarch
17 BuildRoot: /tmp/imp-root
18 Requires: php >= 4.3.0
19 Requires: php-imap >= 4.3.0
20 Requires: httpd >= 2.0.46
21 Requires: horde >= 3.3
22 Obsoletes: imp
23 Provides: imp
24 Prereq: /usr/bin/perl
25
26 %description
27 IMP is the Internet Messaging Program, one of the Horde applications.
28 It provides webmail access to IMAP and POP3 accounts.
29
30 The Horde Project writes web applications in PHP and releases them under
31 Open Source licenses. For more information (including help with IMP)
32 please visit http://www.horde.org/.
33
34 This package contains customizations for the Mitel Networks SME Server
35 and will probably not work properly on other Linux systems.
36
37 %prep
38 %setup -q -n %{name}-%{version}
39 #%setup -q -n imp-%{version}
40
41 %build
42
43 %install
44 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
45 mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
46 mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/imp
47 cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/imp
48 cd $RPM_BUILD_ROOT%{contentdir}/html/horde/imp/config
49 for d in *.dist; do
50 d0=`basename $d .dist`
51 if [ ! -f "$d0" ]; then
52 cp -p $d $d0
53 fi
54 done
55
56 %clean
57 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
58
59 %pre
60
61 %post
62
63 %postun
64
65 %files
66 %defattr(-,root,root)
67 # Apache imp.conf file
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 * Sun Nov 07 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.9-1
97 - Updated to imp 4.3.9 [SME: 6350]
98
99 * Mon May 10 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.7-1
100 - Updated to imp 4.3.7 [SME: 5938]
101
102 * Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.6-1
103 - Updated to imp 4.3.6 [SME: 5776]
104
105 * Tue Sep 22 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.5-1
106 - Updated to Imp 4.3.5 [SME: 5510]
107
108 * Sun Jun 21 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.4-1
109 - Updated to Imp 4.3.4 [SME: 5371]
110
111 * Sat Feb 21 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.3-1
112 - Updated to Imp 4.3.3 [SME: 4832]
113
114 * Fri Jan 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 4.3.2-1
115 - Updated to Imp 4.3.2 [SME: 4832]
116
117 * Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.3-1
118 - Updated to Imp 4.3 [SME: 4832]
119
120 * Mon Jun 23 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-1
121 - Re-rolled to released version
122
123 * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 4.2-01
124 - initial RPM roll for Imp 4.2
125

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