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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Dec 24 18:31:02 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: gollem-h3-1_0_3-1_el4_sme
Import on branch contribs7 of package gollem-h3-1.0.3-1.el4.sme.src.rpm

1 slords 1.1 %define apachedir /etc/httpd
2     %define apacheuser www
3     %define apachegroup www
4     %define contentdir /home/httpd
5    
6     Summary: The web-based file manager for Horde.
7     Name: gollem-h3
8     Version: 1.0.3
9     Release: 1%{?dist}
10     License: LGPL
11     Group: Applications/Horde
12     Source: ftp://ftp.horde.org/pub/gollem/tarballs/gollem-h3-%{version}.tar.gz
13     URL: http://www.horde.org/
14     BuildArchitectures: noarch
15     BuildRoot: /tmp/horde-root
16     AutoReq: no
17     Requires: horde >= 3.0
18     Requires: php >= 4.3.0
19     Requires: httpd >= 2.0.46
20     Prereq: /usr/bin/perl
21    
22     %description
23     Gollem is a web-based file manager, providing the ability to fully
24     manage a hierarchical file system stored in a variety of backends such as a
25     SQL database, as part of a real filesystem, or on an FTP server.
26    
27     The Horde Project writes web applications in PHP and releases them under
28     Open Source licenses. For more information (including help with Horde
29     and its modules) please visit http://www.horde.org/.
30    
31     This package contains customizations for SME Server
32     and will probably not work properly on other Linux systems.
33    
34     %prep
35     %setup -q -n %{name}-%{version}
36    
37     %build
38    
39     %install
40     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
41     mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
42     mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/gollem
43     cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/gollem
44     chmod go-rwx $RPM_BUILD_ROOT%{contentdir}/html/horde/gollem/test.php
45     cd $RPM_BUILD_ROOT%{contentdir}/html/horde/gollem/config
46     for d in *.dist; do
47     d0=`basename $d .dist`
48     if [ ! -f "$d0" ]; then
49     cp -p $d $d0
50     fi
51     done
52    
53     %clean
54     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
55    
56     %post
57    
58     %postun
59    
60     %files
61     %defattr(-,root,root)
62     # Include top level with %dir so not all files are sucked in
63     %dir %{contentdir}/html/horde/gollem
64     # Include top-level files by hand
65     %{contentdir}/html/horde/gollem/*.php
66     # Include these dirs so that all files _will_ get sucked in
67     %{contentdir}/html/horde/gollem/lib
68     %{contentdir}/html/horde/gollem/locale
69     %{contentdir}/html/horde/gollem/po
70     %{contentdir}/html/horde/gollem/templates
71     %{contentdir}/html/horde/gollem/themes
72     %{contentdir}/html/horde/gollem/js
73     # Mark documentation files with %doc and %docdir
74     %doc %{contentdir}/html/horde/gollem/COPYING
75     %doc %{contentdir}/html/horde/gollem/README
76     %docdir %{contentdir}/html/horde/gollem/docs
77     %{contentdir}/html/horde/gollem/docs
78     # Mark configuration files with %config and use secure permissions
79     # (note that .dist files are considered software; don't mark %config)
80     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/gollem/config
81     %defattr(640,root,%{apachegroup})
82     #%{contentdir}/html/horde/gollem/config/.htaccess
83     %{contentdir}/html/horde/gollem/config/*.dist
84     %config %{contentdir}/html/horde/gollem/config/*.php
85     %config %{contentdir}/html/horde/gollem/config/*.xml
86    
87     %changelog
88     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
89     - Clean up spec so package can be built by koji/plague
90    
91     * Fri Mar 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.3-1
92     - Updated to gollem 1.0.3
93    
94     * Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com>
95     - Re-rolled with Gollem 1.0.2 previous was RC1
96    
97     * Thu Mar 2 2006 John H. Bennett III <bennettj@johnbennettservices.com>
98     - Re-rolled with Gollem 1.0.2
99    
100     * Thu Sep 01 2005 Greg Swallow
101     - [1.0-1sme01]
102     - Initial Release
103    

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