/[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.4 - (hide annotations) (download)
Wed Apr 2 15:03:55 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.3: +4 -0 lines
Add Id, Authority, Name

1 slords 1.4 # $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 notes and memos application for Horde.
11     Name: mnemo-h3
12 slords 1.2 Version: 2.1.2
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     Requires: horde >= 3.1
22     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     # Mark documentation files with %doc and %docdir
79     %doc %{contentdir}/html/horde/mnemo/LICENSE
80     %doc %{contentdir}/html/horde/mnemo/README
81     %docdir %{contentdir}/html/horde/mnemo/docs
82     %{contentdir}/html/horde/mnemo/docs
83     # Mark configuration files with %config and use secure permissions
84     # (note that .dist files are considered software; don't mark %config)
85     %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/mnemo/config
86     %defattr(640,root,%{apachegroup})
87     %{contentdir}/html/horde/mnemo/config/.htaccess
88     %{contentdir}/html/horde/mnemo/config/*.dist
89     %config %{contentdir}/html/horde/mnemo/config/*.php
90     %config %{contentdir}/html/horde/mnemo/config/*.xml
91    
92     %changelog
93 slords 1.3 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 2.1.2-1
94 slords 1.2 - Updated to mnemo 2.1.2
95    
96 slords 1.1 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
97     - Clean up spec so package can be built by koji/plague
98    
99     * Fri Nov 24 2006 John H. Bennett III 2.1.1-00sme01
100     - Updated to mnemo 2.1.1
101    
102     * Sat Sep 9 2006 John H. Bennett III 2.1-00sme01
103     - Updated to mnemo 2.1
104    
105     * Wed Feb 15 2006 John H. Bennett III 2.0.3-1sme01
106     - Initial Release of Mnemo 2.0.3 building on Greg's work
107    
108     * Thu Sep 01 2005 Greg Swallow
109     - [1.0-1sme01]
110     - Initial Release

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