1 |
|
# $Id: turba-h3.spec,v 1.8 2009/10/14 03:10:16 mrjhb3 Exp $ |
2 |
|
|
3 |
%define apachedir /etc/httpd |
%define apachedir /etc/httpd |
4 |
%define apacheuser www |
%define apacheuser www |
5 |
%define apachegroup www |
%define apachegroup www |
7 |
|
|
8 |
Summary: The Horde contact management application. |
Summary: The Horde contact management application. |
9 |
Name: turba-h3 |
Name: turba-h3 |
10 |
Version: 2.1.5 |
Version: 2.3.3 |
11 |
Release: 1%{?dist} |
Release: 1%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Applications/Horde |
Group: Applications/Horde |
14 |
Source: ftp://ftp.horde.org/pub/turba/tarballs/turba-h3-%{version}.tar.gz |
Source: ftp://ftp.horde.org/pub/turba/tarballs/turba-h3-%{version}.tar.gz |
|
Source1: turba.conf |
|
|
#Patch1: |
|
15 |
URL: http://www.horde.org/ |
URL: http://www.horde.org/ |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
BuildRoot: /tmp/turba-root |
BuildRoot: /tmp/turba-root |
18 |
AutoReq: no |
AutoReq: no |
19 |
Requires: php >= 4.3.0 |
Requires: php >= 4.3.0 |
20 |
Requires: httpd >= 2.0.46 |
Requires: httpd >= 2.0.46 |
21 |
Requires: horde >= 3.1 |
Requires: horde >= 3.2 |
22 |
Requires: mysql >= 3.23 |
Requires: mysql >= 3.23 |
23 |
Prereq: /usr/bin/perl |
Prereq: /usr/bin/perl |
24 |
Obsoletes: turba |
Obsoletes: turba |
37 |
%prep |
%prep |
38 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
39 |
|
|
|
#%patch1 -p1 |
|
|
|
|
40 |
%build |
%build |
41 |
|
|
42 |
%install |
%install |
43 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
44 |
mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf |
mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf |
|
cp -p $RPM_SOURCE_DIR/turba.conf $RPM_BUILD_ROOT%{apachedir}/conf |
|
45 |
mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
46 |
cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/turba |
47 |
cd $RPM_BUILD_ROOT%{contentdir}/html/horde/turba/config |
cd $RPM_BUILD_ROOT%{contentdir}/html/horde/turba/config |
55 |
%clean |
%clean |
56 |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
57 |
|
|
|
%pre |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|
|
|
|
58 |
%files |
%files |
59 |
%defattr(-,root,root) |
%defattr(-,root,root) |
|
# Apache turba.conf file |
|
|
%config %{apachedir}/conf/turba.conf |
|
60 |
# Include top level with %dir so not all files are sucked in |
# Include top level with %dir so not all files are sucked in |
61 |
%dir %{contentdir}/html/horde/turba |
%dir %{contentdir}/html/horde/turba |
62 |
# Include top-level files by hand |
# Include top-level files by hand |
68 |
%{contentdir}/html/horde/turba/scripts |
%{contentdir}/html/horde/turba/scripts |
69 |
%{contentdir}/html/horde/turba/templates |
%{contentdir}/html/horde/turba/templates |
70 |
%{contentdir}/html/horde/turba/themes |
%{contentdir}/html/horde/turba/themes |
71 |
|
%{contentdir}/html/horde/turba/js |
72 |
|
%{contentdir}/html/horde/turba/addressbooks |
73 |
# Mark documentation files with %doc and %docdir |
# Mark documentation files with %doc and %docdir |
74 |
%doc %{contentdir}/html/horde/turba/LICENSE |
%doc %{contentdir}/html/horde/turba/LICENSE |
75 |
%doc %{contentdir}/html/horde/turba/README |
%doc %{contentdir}/html/horde/turba/README |
85 |
%config %{contentdir}/html/horde/turba/config/*.xml |
%config %{contentdir}/html/horde/turba/config/*.xml |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
* Tue Nov 13 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.5-1 |
* Sat Feb 13 2010 John H. Bennett III <bennettj@johnbennettservices.com> 2.3.3-1 |
89 |
- Update to turba 2.1.5 [SME: 3570] |
- Updated to Turba 2.3.3 [SME: 5778] |
|
|
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
|
|
- Clean up spec so package can be built by koji/plague |
|
|
|
|
|
* Thu Mar 29 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-2 |
|
|
- Patch for horde bug 5144 - http://bugs.horde.org/ticket/?id=5144, which corrects |
|
|
an issue with not being able to create or add users to contact lists. [SME: 2786] |
|
|
|
|
|
* Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.4-1.el4 |
|
|
- Update to turba 2.1.4 [SME: 2786] |
|
|
|
|
|
* Sat Dec 09 2006 Shad L. Lords <slords@mail.com> |
|
|
- Update to new release naming. No functional changes. |
|
|
- Make Packager generic |
|
|
|
|
|
* Fri Nov 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.3-00sme01 |
|
|
- Update to turba 2.1.3 |
|
|
|
|
|
* Sat Sep 9 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.1.2-00sme01 |
|
|
- Update to turba 2.1.2 |
|
|
|
|
|
* Wed May 24 2006 John H. Bennett III <bennettj@johnbennettservices.com> 2.0.5-01sme01 |
|
|
- Update to turba 2.0.5 |
|
|
|
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 2.0.4-02sme01 |
|
|
- Adjust Release tag to our standard format [SME: 70] |
|
|
|
|
|
* Wed Nov 09 2005 Greg Swallow |
|
|
- Update to 2.0.4 |
|
|
|
|
|
* Thu Apr 21 2005 Charlie Brady <charlieb@e-smith.com> 2.0.2-7sme02 |
|
|
- Add "Provides: turba" header to satisfy "Requires: turba" packages. |
|
|
- Remove pre and post scripts, as they're not required for CDROM |
|
|
install/updates, and could be troublesome. |
|
|
|
|
|
* Thu Mar 31 2005 Greg Swallow <gregswallow@skynetonline.ca> |
|
|
- [2.0.2-7sme01] |
|
|
- renamed to turba-h3 |
|
|
- Update for turba-h3-2.0.2 on SME 7 |
|
|
|
|
|
* Tue Aug 31 2004 Shad L. Lords <slords@mail.com> |
|
|
- [1.2-2sme01] |
|
|
- Update specfile - change apache to httpd in requires |
|
|
|
|
|
* Thu May 6 2004 Michael Soulier <michael_soulier@mitel.com> |
|
|
- [1.2-1es01] |
|
|
- Patched to remove braindead String class reference. [MN00025049] |
|
|
|
|
|
* Wed Apr 23 2003 Gordon Rowell <gordon_rowell@mitel.com> |
|
|
- [1.2-1es00] |
|
|
- Rebuild [gordonr 7694] |
|
|
|
|
|
* Wed Mar 12 2003 Dan Brown <dan@familybrown.org> |
|
|
- [1.2-1es] |
|
|
- Rebuilding with Turba 1.2 |
|
|
|
|
|
* Wed May 22 2002 Charlie Brady <charlieb@e-smith.com> |
|
|
- [1.0-6es] |
|
|
- Rebuilding in-house. Change Vendor and Packager tags. no other change, |
|
|
|
|
|
* Fri Mar 8 2002 Dan Brown <dan@familybrown.org> 1.0-5es |
|
|
- changed Apache dependency to >= 1.3.19 |
|
|
|
|
|
* Tue Feb 12 2002 Dan Brown <dan@familybrown.org> |
|
|
- 1.0 release 4es |
|
|
- http://cvs.horde.org/diff.php/turba/lib/api.php?r1=1.14.2.3&r2=1.14.2.4&ty=u |
|
|
- patch to fix errors adding contacts |
|
|
|
|
|
* Mon Feb 11 2002 Dan Brown <dan@familybrown.org> |
|
|
- 1.0 release 3es |
|
|
- changed turba.sql to run CREATE TABLE IF NOT EXISTS |
|
90 |
|
|
91 |
* Sun Feb 10 2002 Dan Brown <dan@familybrown.org> |
* Tue Oct 13 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.3.2-1 |
92 |
- 1.0 release 2es |
- Updated to Turba 2.3.2 [SME: 5512] |
|
- removed httpd restart--it's giving errors on SME 5.1.2, and |
|
|
it's handled by the e-smith-horde RPM |
|
93 |
|
|
94 |
* Sat Feb 09 2002 Dan Brown <dan@familybrown.org> |
* Fri Jan 2 2009 John H. Bennett III <bennettj@johnbennettservices.com> 2.3.1-1 |
95 |
- 1.0 release 1es |
- Updated to Turba 2.3.1 [SME: 4833] |
|
- changed apache user, group, and content directory |
|
96 |
|
|
97 |
* Wed Jan 02 2002 Brent J. Nordquist <bjn@horde.org> |
* Sat Dec 06 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.3-1 |
98 |
- 1.0 release 1 |
- Updated to Turba 2.3 [SME: 4833] |
99 |
|
|
100 |
* Mon Dec 24 2001 Brent J. Nordquist <bjn@horde.org> |
* Wed Jun 18 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2.1-1 |
101 |
- 1.0-RC4 release 1 |
- Update to Turba 2.2.1 |
102 |
|
|
103 |
* Sun Dec 16 2001 Brent J. Nordquist <bjn@horde.org> |
* Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1 |
104 |
- initial RPM for Turba 1.0 |
- initial RPM roll for Turba 2.2 |
105 |
|
|