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