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

Annotation of /rpms/e-smith-horde/sme8/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:27:31 2008 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.5: +13 -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: horde-3.2.1_upgrade.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 slords 1.6 Obsoletes: e-smith-horde <= 2.0
52 slords 1.1
53     %changelog
54 slords 1.6 * Tue Jun 24 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-2
55     - Upgrade patch for Horde 3.2.1
56 slords 1.4
57 slords 1.6 * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 3.2-1
58     - Initial production build
59     - Jump in package name to reflect new version of horde
60 slords 1.1
61     %description
62 slords 1.6 This package adds necessary templates and configuration items
63     so that Horde will work properly on SME Server
64 slords 1.1
65     %prep
66     %setup
67     %patch1 -p1
68    
69     %build
70     for i in post-install post-upgrade
71     do
72     mkdir -p root/etc/e-smith/events/$i
73     done
74     perl createlinks
75    
76     %install
77     rm -rf $RPM_BUILD_ROOT
78     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
79     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
80     echo "%doc COPYING" >> %{name}-%{version}-filelist
81    
82     %clean
83     rm -rf $RPM_BUILD_ROOT
84    
85     %pre
86     %preun
87     %post
88     %postun
89    
90     %files -f %{name}-%{version}-filelist
91     %defattr(-,root,root)

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