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

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

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


Revision 1.7 - (hide annotations) (download)
Sun Nov 23 04:57:52 2008 UTC (16 years ago) by slords
Branch: MAIN
Changes since 1.6: +1 -1 lines
FILE REMOVED
Part of epel

1 slords 1.7 # $Id: mnemo-h3.spec,v 1.6 2008/09/17 02:21:01 mrjhb3 Exp $
2 slords 1.4 # 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 notes and memos application for Horde.
11     Name: mnemo-h3
12 mrjhb3 1.6 Version: 2.2.1
13 slords 1.1 Release: 1%{?dist}
14     License: LGPL
15     Group: Applications/Horde
16     Source: ftp://ftp.horde.org/pub/mnemo/tarballs/mnemo-h3-%{version}.tar.gz
17     URL: http://www.horde.org/
18     BuildArchitectures: noarch
19     BuildRoot: /tmp/horde-root
20     AutoReq: no
21 slords 1.5 Requires: horde >= 3.2
22 slords 1.1 Requires: php >= 4.3.0
23     Requires: httpd >= 2.0.46
24     Prereq: /usr/bin/perl
25    
26     %description
27     Mnemo is the Horde notes and memos application. It lets users keep free-text
28     notes and other bits of information which doesn't fit as a contact, a todo
29     item, an event, etc. It is very similar in functionality to the Palm Memo
30     application.
31    
32     The Horde Project writes web applications in PHP and releases them under
33     Open Source licenses. For more information (including help with Horde
34     and its modules) please visit http://www.horde.org/.
35    
36     This package contains customizations for SME Server
37     and will probably not work properly on other Linux systems.
38    
39     %prep
40     %setup -q -n %{name}-%{version}
41    
42     %build
43    
44     %install
45     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
46     mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
47     mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/mnemo
48     cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/mnemo
49     cd $RPM_BUILD_ROOT%{contentdir}/html/horde/mnemo/config
50     for d in *.dist; do
51     d0=`basename $d .dist`
52     if [ ! -f "$d0" ]; then
53     cp -p $d $d0
54     fi
55     done
56    
57     %clean
58     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
59    
60     %post
61    
62     %postun
63    
64     %files
65     %defattr(-,root,root)
66     # Include top level with %dir so not all files are sucked in
67     %dir %{contentdir}/html/horde/mnemo
68     # Include top-level files by hand
69     %{contentdir}/html/horde/mnemo/*.php
70     # Include these dirs so that all files _will_ get sucked in
71     %{contentdir}/html/horde/mnemo/js
72     %{contentdir}/html/horde/mnemo/lib
73     %{contentdir}/html/horde/mnemo/locale
74     %{contentdir}/html/horde/mnemo/po
75     %{contentdir}/html/horde/mnemo/scripts
76     %{contentdir}/html/horde/mnemo/templates
77     %{contentdir}/html/horde/mnemo/themes
78 slords 1.5 %{contentdir}/html/horde/mnemo/note
79     %{contentdir}/html/horde/mnemo/notepads
80 slords 1.1 # Mark documentation files with %doc and %docdir
81     %doc %{contentdir}/html/horde/mnemo/LICENSE
82     %doc %{contentdir}/html/horde/mnemo/README
83     %docdir %{contentdir}/html/horde/mnemo/docs
84     %{contentdir}/html/horde/mnemo/docs
85     # Mark configuration files with %config and use secure permissions
86     # (note that .dist files are considered software; don't mark %config)
87     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/mnemo/config
88     %defattr(640,root,%{apachegroup})
89     %{contentdir}/html/horde/mnemo/config/.htaccess
90     %{contentdir}/html/horde/mnemo/config/*.dist
91     %config %{contentdir}/html/horde/mnemo/config/*.php
92     %config %{contentdir}/html/horde/mnemo/config/*.xml
93    
94     %changelog
95 mrjhb3 1.6 * Tue Sep 16 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2.1-1
96     - Update to Mnemo 2.2.1 [SME:
97    
98 slords 1.5 * Mon Jun 2 2008 John H. Bennett III <bennettj@johnbennettservices.com> 2.2-1
99     - initial RPM roll for Mnemo 2.2

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