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

Contents of /rpms/turba-h3/sme7/turba-h3.spec

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


Revision 1.2 - (show annotations) (download)
Tue Nov 20 17:22:27 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: turba-h3-2_1_5-1_el4_sme
Changes since 1.1: +7 -4 lines
Import on branch sme7 of package turba-h3-2.1.5-1.el4.sme.src.rpm

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 Version: 2.1.5
9 Release: 1%{?dist}
10 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 #Patch1:
15 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 #%patch1 -p1
41
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 * Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.5-1
98 - Update to turba 2.1.5 [SME: 3570]
99
100 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
101 - Clean up spec so package can be built by koji/plague
102
103 * Thu Mar 29 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-2
104 - Patch for horde bug 5144 - http://bugs.horde.org/ticket/?id=5144, which corrects
105 an issue with not being able to create or add users to contact lists. [SME: 2786]
106
107 * Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-1.el4
108 - Update to turba 2.1.4 [SME: 2786]
109
110 * Sat Dec 09 2006 Shad L. Lords <slords@mail.com>
111 - Update to new release naming. No functional changes.
112 - Make Packager generic
113
114 * Fri Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.3-00sme01
115 - Update to turba 2.1.3
116
117 * Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.2-00sme01
118 - Update to turba 2.1.2
119
120 * Wed May 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.0.5-01sme01
121 - Update to turba 2.0.5
122
123 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 2.0.4-02sme01
124 - Adjust Release tag to our standard format [SME: 70]
125
126 * Wed Nov 09 2005 Greg Swallow
127 - Update to 2.0.4
128
129 * Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 2.0.2-7sme02
130 - Add "Provides: turba" header to satisfy "Requires: turba" packages.
131 - Remove pre and post scripts, as they're not required for CDROM
132 install/updates, and could be troublesome.
133
134 * Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca>
135 - [2.0.2-7sme01]
136 - renamed to turba-h3
137 - Update for turba-h3-2.0.2 on SME 7
138
139 * Tue Aug 31 2004 Shad L. Lords <slords@mail.com>
140 - [1.2-2sme01]
141 - Update specfile - change apache to httpd in requires
142
143 * Thu May 6 2004 Michael Soulier <michael_soulier@mitel.com>
144 - [1.2-1es01]
145 - Patched to remove braindead String class reference. [MN00025049]
146
147 * Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com>
148 - [1.2-1es00]
149 - Rebuild [gordonr 7694]
150
151 * Wed Mar 12 2003 Dan Brown <dan@familybrown.org>
152 - [1.2-1es]
153 - Rebuilding with Turba 1.2
154
155 * Wed May 22 2002 Charlie Brady <charlieb@e-smith.com>
156 - [1.0-6es]
157 - Rebuilding in-house. Change Vendor and Packager tags. no other change,
158
159 * Fri Mar 8 2002 Dan Brown <dan@familybrown.org> 1.0-5es
160 - changed Apache dependency to >= 1.3.19
161
162 * Tue Feb 12 2002 Dan Brown <dan@familybrown.org>
163 - 1.0 release 4es
164 - http://cvs.horde.org/diff.php/turba/lib/api.php?r1=1.14.2.3&r2=1.14.2.4&ty=u
165 - patch to fix errors adding contacts
166
167 * Mon Feb 11 2002 Dan Brown <dan@familybrown.org>
168 - 1.0 release 3es
169 - changed turba.sql to run CREATE TABLE IF NOT EXISTS
170
171 * Sun Feb 10 2002 Dan Brown <dan@familybrown.org>
172 - 1.0 release 2es
173 - removed httpd restart--it's giving errors on SME 5.1.2, and
174 it's handled by the e-smith-horde RPM
175
176 * Sat Feb 09 2002 Dan Brown <dan@familybrown.org>
177 - 1.0 release 1es
178 - changed apache user, group, and content directory
179
180 * Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org>
181 - 1.0 release 1
182
183 * Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org>
184 - 1.0-RC4 release 1
185
186 * Sun Dec 16 2001 Brent J. Nordquist <bjn@horde.org>
187 - initial RPM for Turba 1.0
188

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