/[smeserver]/rpms/e-smith-horde/sme7/e-smith-horde.spec
ViewVC logotype

Annotation of /rpms/e-smith-horde/sme7/e-smith-horde.spec

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


Revision 1.6 - (hide annotations) (download)
Thu Jun 26 04:25:02 2008 UTC (16 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-horde-3_2-2_el4_sme
Changes since 1.5: +12 -722 lines
* Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2
- Upgrade patch for Horde 3.2.1

1 slords 1.6 # $Id: e-smith-horde.spec,v 1.5 2008/04/09 13:51:47 slords Exp $
2 slords 1.5
3 slords 1.1 Summary: e-smith specific Horde configuration and templates.
4     %define name e-smith-horde
5     Name: %{name}
6 slords 1.6 %define version 3.2
7     %define release 2
8 slords 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.gz
13 slords 1.6 Patch1: e-smith-horde-3.2.1-header.patch
14 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15     BuildArchitectures: noarch
16     Requires: e-smith-base >= 4.9.44, horde >= 2.0, mysql
17     Requires: e-smith-lib >= 1.15.1-16
18     Requires: enscript
19     Requires: php-domxml
20     Requires: php-gd
21     Requires: php-mbstring
22     Requires: wv
23     Requires: xlhtml
24 slords 1.6 Requires: horde >= 3.2
25 slords 1.1 Requires: php-pear
26     %if "%{?rhel}" == "5"
27     Obsoletes: pear-date
28     Obsoletes: pear-db
29     Obsoletes: pear-file
30     Obsoletes: pear-log
31     Obsoletes: pear-mail
32     Obsoletes: pear-mail_mime
33     Requires: php-pear(Date)
34     Requires: php-pear(File)
35     Requires: php-pear(HTTP)
36     Requires: php-pear(Log)
37     Requires: php-pear(Services_Weather)
38     Requires: php-pecl(Fileinfo)
39     %else
40     Requires: pear-date
41     Requires: pear-db
42     Requires: pear-file
43     Requires: pear-log
44     Requires: pear-mail
45     Requires: pear-mail_mime
46     %endif
47     BuildRequires: e-smith-devtools >= 1.13.1-03
48     AutoReqProv: no
49     Obsoletes: dcb-e-smith-horde
50     Obsoletes: smeserver-horde-menuarray
51    
52     %changelog
53 slords 1.6 * Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2
54     - Upgrade patch for Horde 3.2.1
55 mrjhb3 1.4
56 slords 1.6 * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1
57     - Initial production build
58     - Jump in package name to reflect new version of horde
59 slords 1.1
60     %description
61 slords 1.6 This package adds necessary templates and configuration items
62     so that Horde will work properly on SME Server
63 slords 1.1
64     %prep
65     %setup
66     %patch1 -p1
67    
68     %build
69     for i in post-install post-upgrade
70     do
71     mkdir -p root/etc/e-smith/events/$i
72     done
73     perl createlinks
74    
75     %install
76     rm -rf $RPM_BUILD_ROOT
77     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
78     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
79     echo "%doc COPYING" >> %{name}-%{version}-filelist
80    
81     %clean
82     rm -rf $RPM_BUILD_ROOT
83    
84     %pre
85     %preun
86     %post
87     %postun
88    
89     %files -f %{name}-%{version}-filelist
90     %defattr(-,root,root)

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