/[smecontribs]/rpms/dimp-h3/contribs7/dimp-h3.spec
ViewVC logotype

Annotation of /rpms/dimp-h3/contribs7/dimp-h3.spec

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 26 17:53:53 2008 UTC (15 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: dimp-h3-1_0-1_el4_sme
Changes since 1.1: +4 -0 lines
Update spec

1 slords 1.2 # $Id$
2     # Authority: mrjhb3
3     # Name: John H. Bennett III
4    
5 slords 1.1 %define apachedir /etc/httpd
6     %define apacheuser www
7     %define apachegroup www
8     %define contentdir /home/httpd
9    
10     Summary: The Dymanic Internet Messaging Program: webmail access to IMAP/POP3 accounts.
11     Name: dimp-h3
12     Version: 1.0
13     Release: 1%{?dist}
14     License: GPL
15     Group: Applications/Horde
16     Source: ftp://ftp.horde.org/pub/dimp/tarballs/dimp-h3-%{version}.tar.gz
17     URL: http://www.horde.org/
18     BuildArchitectures: noarch
19     BuildRoot: /tmp/dimp-root
20     Requires: php >= 4.3.0
21     Requires: php-imap >= 4.3.0
22     Requires: httpd >= 2.0.46
23     Requires: horde >= 3.2
24     Provides: dimp
25     Prereq: /usr/bin/perl
26    
27     %description
28     DIMP is a alternate presentation view of IMP using AJAX-ish
29     technologies to create a more dynamic user experience
30     (DIMP stands for Dynamic IMP).
31    
32     %prep
33     %setup -q -n %{name}-%{version}
34    
35     %build
36    
37     %install
38     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
39     mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
40     mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/dimp
41     cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/dimp
42     cd $RPM_BUILD_ROOT%{contentdir}/html/horde/dimp/config
43     for d in *.dist; do
44     d0=`basename $d .dist`
45     if [ ! -f "$d0" ]; then
46     cp -p $d $d0
47     fi
48     done
49    
50     %clean
51     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
52    
53     %files
54     %defattr(-,root,root)
55     # Include top level with %dir so not all files are sucked in
56     %dir %{contentdir}/html/horde/dimp
57     # Include top-level files by hand
58     %{contentdir}/html/horde/dimp/*.php
59     # Include these dirs so that all files _will_ get sucked in
60     %{contentdir}/html/horde/dimp/js
61     %{contentdir}/html/horde/dimp/lib
62     %{contentdir}/html/horde/dimp/locale
63     %{contentdir}/html/horde/dimp/po
64     #%{contentdir}/html/horde/dimp/scripts
65     %{contentdir}/html/horde/dimp/templates
66     %{contentdir}/html/horde/dimp/themes
67     # Mark documentation files with %doc and %docdir
68     %doc %{contentdir}/html/horde/dimp/COPYING
69     %doc %{contentdir}/html/horde/dimp/README
70     %docdir %{contentdir}/html/horde/dimp/docs
71     %{contentdir}/html/horde/dimp/docs
72     # Mark configuration files with %config and use secure permissions
73     # (note that .dist files are considered software; don't mark %config)
74     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/dimp/config
75     %defattr(640,root,%{apachegroup})
76     %{contentdir}/html/horde/dimp/config/.htaccess
77     %{contentdir}/html/horde/dimp/config/*.dist
78     %config %{contentdir}/html/horde/dimp/config/*.php
79     #%config %{contentdir}/html/horde/dimp/config/*.txt
80     %config %{contentdir}/html/horde/dimp/config/*.xml
81    
82     %changelog
83     * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1
84     - initial RPM roll for Dimp 1.0
85    

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