1 |
# $Id$ |
2 |
|
3 |
%define apachedir /etc/httpd |
4 |
%define apacheuser www |
5 |
%define apachegroup www |
6 |
%define contentdir /home/httpd |
7 |
|
8 |
Summary: The Horde contact management application. |
9 |
Name: turba-h3 |
10 |
Version: 2.1.7 |
11 |
Release: 1%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/Horde |
14 |
Source: ftp://ftp.horde.org/pub/turba/tarballs/turba-h3-%{version}.tar.gz |
15 |
Source1: turba.conf |
16 |
#Patch1: |
17 |
URL: http://www.horde.org/ |
18 |
BuildArchitectures: noarch |
19 |
BuildRoot: /tmp/turba-root |
20 |
AutoReq: no |
21 |
Requires: php >= 4.3.0 |
22 |
Requires: httpd >= 2.0.46 |
23 |
Requires: horde >= 3.1 |
24 |
Requires: mysql >= 3.23 |
25 |
Prereq: /usr/bin/perl |
26 |
Obsoletes: turba |
27 |
Provides: turba |
28 |
|
29 |
%description |
30 |
Turba is the Horde contact management application, which allows access |
31 |
to and storage of personal contacts (including name, email address, |
32 |
phone number, and other easily customizable fields). Turba integrates |
33 |
with IMP (Horde's webmail application) as its address book. |
34 |
|
35 |
The Horde Project writes web applications in PHP and releases them under |
36 |
Open Source licenses. For more information (including help with Turba) |
37 |
please visit http://www.horde.org/. |
38 |
|
39 |
%prep |
40 |
%setup -q -n %{name}-%{version} |
41 |
|
42 |
#%patch1 -p1 |
43 |
|
44 |
%build |
45 |
|
46 |
%install |
47 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
48 |
mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf |
49 |
cp -p $RPM_SOURCE_DIR/turba.conf $RPM_BUILD_ROOT%{apachedir}/conf |
50 |
mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
51 |
cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
52 |
cd $RPM_BUILD_ROOT%{contentdir}/html/horde/turba/config |
53 |
for d in *.dist; do |
54 |
d0=`basename $d .dist` |
55 |
if [ ! -f "$d0" ]; then |
56 |
cp -p $d $d0 |
57 |
fi |
58 |
done |
59 |
|
60 |
%clean |
61 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
62 |
|
63 |
%pre |
64 |
|
65 |
%post |
66 |
|
67 |
%postun |
68 |
|
69 |
%files |
70 |
%defattr(-,root,root) |
71 |
# Apache turba.conf file |
72 |
%config %{apachedir}/conf/turba.conf |
73 |
# Include top level with %dir so not all files are sucked in |
74 |
%dir %{contentdir}/html/horde/turba |
75 |
# Include top-level files by hand |
76 |
%{contentdir}/html/horde/turba/*.php |
77 |
# Include these dirs so that all files _will_ get sucked in |
78 |
%{contentdir}/html/horde/turba/lib |
79 |
%{contentdir}/html/horde/turba/locale |
80 |
%{contentdir}/html/horde/turba/po |
81 |
%{contentdir}/html/horde/turba/scripts |
82 |
%{contentdir}/html/horde/turba/templates |
83 |
%{contentdir}/html/horde/turba/themes |
84 |
# Mark documentation files with %doc and %docdir |
85 |
%doc %{contentdir}/html/horde/turba/LICENSE |
86 |
%doc %{contentdir}/html/horde/turba/README |
87 |
%docdir %{contentdir}/html/horde/turba/docs |
88 |
%{contentdir}/html/horde/turba/docs |
89 |
# Mark configuration files with %config and use secure permissions |
90 |
# (note that .dist files are considered software; don't mark %config) |
91 |
%attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/turba/config |
92 |
%defattr(640,root,%{apachegroup}) |
93 |
%{contentdir}/html/horde/turba/config/.htaccess |
94 |
%{contentdir}/html/horde/turba/config/*.dist |
95 |
%config %{contentdir}/html/horde/turba/config/*.php |
96 |
%config %{contentdir}/html/horde/turba/config/*.xml |
97 |
|
98 |
%changelog |
99 |
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 2.1.7-1 |
100 |
- Update to turba 2.1.7 [SME: 4093] |
101 |
|
102 |
* Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.5-1 |
103 |
- Update to turba 2.1.5 [SME: 3570] |
104 |
|
105 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
106 |
- Clean up spec so package can be built by koji/plague |
107 |
|
108 |
* Thu Mar 29 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-2 |
109 |
- Patch for horde bug 5144 - http://bugs.horde.org/ticket/?id=5144, which corrects |
110 |
an issue with not being able to create or add users to contact lists. [SME: 2786] |
111 |
|
112 |
* Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-1.el4 |
113 |
- Update to turba 2.1.4 [SME: 2786] |
114 |
|
115 |
* Sat Dec 09 2006 Shad L. Lords <slords@mail.com> |
116 |
- Update to new release naming. No functional changes. |
117 |
- Make Packager generic |
118 |
|
119 |
* Fri Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.3-00sme01 |
120 |
- Update to turba 2.1.3 |
121 |
|
122 |
* Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.2-00sme01 |
123 |
- Update to turba 2.1.2 |
124 |
|
125 |
* Wed May 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.0.5-01sme01 |
126 |
- Update to turba 2.0.5 |
127 |
|
128 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 2.0.4-02sme01 |
129 |
- Adjust Release tag to our standard format [SME: 70] |
130 |
|
131 |
* Wed Nov 09 2005 Greg Swallow |
132 |
- Update to 2.0.4 |
133 |
|
134 |
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 2.0.2-7sme02 |
135 |
- Add "Provides: turba" header to satisfy "Requires: turba" packages. |
136 |
- Remove pre and post scripts, as they're not required for CDROM |
137 |
install/updates, and could be troublesome. |
138 |
|
139 |
* Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca> |
140 |
- [2.0.2-7sme01] |
141 |
- renamed to turba-h3 |
142 |
- Update for turba-h3-2.0.2 on SME 7 |
143 |
|
144 |
* Tue Aug 31 2004 Shad L. Lords <slords@mail.com> |
145 |
- [1.2-2sme01] |
146 |
- Update specfile - change apache to httpd in requires |
147 |
|
148 |
* Thu May 6 2004 Michael Soulier <michael_soulier@mitel.com> |
149 |
- [1.2-1es01] |
150 |
- Patched to remove braindead String class reference. [MN00025049] |
151 |
|
152 |
* Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com> |
153 |
- [1.2-1es00] |
154 |
- Rebuild [gordonr 7694] |
155 |
|
156 |
* Wed Mar 12 2003 Dan Brown <dan@familybrown.org> |
157 |
- [1.2-1es] |
158 |
- Rebuilding with Turba 1.2 |
159 |
|
160 |
* Wed May 22 2002 Charlie Brady <charlieb@e-smith.com> |
161 |
- [1.0-6es] |
162 |
- Rebuilding in-house. Change Vendor and Packager tags. no other change, |
163 |
|
164 |
* Fri Mar 8 2002 Dan Brown <dan@familybrown.org> 1.0-5es |
165 |
- changed Apache dependency to >= 1.3.19 |
166 |
|
167 |
* Tue Feb 12 2002 Dan Brown <dan@familybrown.org> |
168 |
- 1.0 release 4es |
169 |
- http://cvs.horde.org/diff.php/turba/lib/api.php?r1=1.14.2.3&r2=1.14.2.4&ty=u |
170 |
- patch to fix errors adding contacts |
171 |
|
172 |
* Mon Feb 11 2002 Dan Brown <dan@familybrown.org> |
173 |
- 1.0 release 3es |
174 |
- changed turba.sql to run CREATE TABLE IF NOT EXISTS |
175 |
|
176 |
* Sun Feb 10 2002 Dan Brown <dan@familybrown.org> |
177 |
- 1.0 release 2es |
178 |
- removed httpd restart--it's giving errors on SME 5.1.2, and |
179 |
it's handled by the e-smith-horde RPM |
180 |
|
181 |
* Sat Feb 09 2002 Dan Brown <dan@familybrown.org> |
182 |
- 1.0 release 1es |
183 |
- changed apache user, group, and content directory |
184 |
|
185 |
* Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org> |
186 |
- 1.0 release 1 |
187 |
|
188 |
* Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org> |
189 |
- 1.0-RC4 release 1 |
190 |
|
191 |
* Sun Dec 16 2001 Brent J. Nordquist <bjn@horde.org> |
192 |
- initial RPM for Turba 1.0 |
193 |
|