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

Annotation of /rpms/turba-h3/sme8/turba-h3.spec

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


Revision 1.5 - (hide annotations) (download)
Thu Jun 26 05:05:58 2008 UTC (16 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: turba-h3-2_2_1-1_el5_sme
Changes since 1.4: +10 -109 lines
* Wed Jun 18 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2.1-1
- Update to Turba 2.2.1

1 slords 1.5 # $Id: turba-h3.spec,v 1.5 2008/06/26 05:05:15 slords Exp $
2 slords 1.4
3 slords 1.1 %define apachedir /etc/httpd
4     %define apacheuser www
5     %define apachegroup www
6     %define contentdir /home/httpd
7    
8     Summary: The Horde contact management application.
9     Name: turba-h3
10 slords 1.5 Version: 2.2.1
11 slords 1.2 Release: 1%{?dist}
12 slords 1.1 License: GPL
13     Group: Applications/Horde
14     Source: ftp://ftp.horde.org/pub/turba/tarballs/turba-h3-%{version}.tar.gz
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 slords 1.5 Requires: horde >= 3.2
22 slords 1.1 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     %build
41    
42     %install
43     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
44     mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
45     mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/turba
46     cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/turba
47     cd $RPM_BUILD_ROOT%{contentdir}/html/horde/turba/config
48     for d in *.dist; do
49     d0=`basename $d .dist`
50     if [ ! -f "$d0" ]; then
51     cp -p $d $d0
52     fi
53     done
54    
55     %clean
56     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
57    
58     %files
59     %defattr(-,root,root)
60     # Include top level with %dir so not all files are sucked in
61     %dir %{contentdir}/html/horde/turba
62     # Include top-level files by hand
63     %{contentdir}/html/horde/turba/*.php
64     # Include these dirs so that all files _will_ get sucked in
65     %{contentdir}/html/horde/turba/lib
66     %{contentdir}/html/horde/turba/locale
67     %{contentdir}/html/horde/turba/po
68     %{contentdir}/html/horde/turba/scripts
69     %{contentdir}/html/horde/turba/templates
70     %{contentdir}/html/horde/turba/themes
71 slords 1.5 %{contentdir}/html/horde/turba/js
72     %{contentdir}/html/horde/turba/addressbooks
73     %{contentdir}/html/horde/turba/bug5476.phpt
74 slords 1.1 # Mark documentation files with %doc and %docdir
75     %doc %{contentdir}/html/horde/turba/LICENSE
76     %doc %{contentdir}/html/horde/turba/README
77     %docdir %{contentdir}/html/horde/turba/docs
78     %{contentdir}/html/horde/turba/docs
79     # Mark configuration files with %config and use secure permissions
80     # (note that .dist files are considered software; don't mark %config)
81     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/turba/config
82     %defattr(640,root,%{apachegroup})
83     %{contentdir}/html/horde/turba/config/.htaccess
84     %{contentdir}/html/horde/turba/config/*.dist
85     %config %{contentdir}/html/horde/turba/config/*.php
86     %config %{contentdir}/html/horde/turba/config/*.xml
87    
88     %changelog
89 slords 1.5 * Wed Jun 18 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2.1-1
90     - Update to Turba 2.2.1
91 slords 1.1
92 slords 1.5 * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1
93     - initial RPM roll for Turba 2.2
94 slords 1.1

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