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

Contents of /rpms/mimp-h3/contribs7/mimp-h3.spec

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


Revision 1.2 - (show annotations) (download)
Wed Apr 2 15:03:55 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
Changes since 1.1: +4 -0 lines
Add Id, Authority, Name

1 # $Id$
2 # Authority: mrjhb3
3 # Name: John H. Bennett III
4
5 %define apachedir /etc/httpd
6 %define apacheuser www
7 %define apachegroup www
8 %define contentdir /home/httpd
9
10 Summary: A version of IMP for mobile phones.
11 Name: mimp-h3
12 Version: 1.0.2
13 Release: 1%{?dist}
14 License: LGPL
15 Group: Applications/Horde
16 Source: ftp://ftp.horde.org/pub/mimp/tarballs/mimp-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.0
22 Requires: php >= 4.3.0
23 Requires: httpd >= 2.0.46
24 Prereq: /usr/bin/perl
25
26 %description
27 MIMP is a version of `IMP`_ intended for mobile phones/PDAs, written in PHP
28 and utilizing the Horde Application Framework.
29
30 The Horde Project writes web applications in PHP and releases them under
31 Open Source licenses. For more information (including help with Horde
32 and its modules) please visit http://www.horde.org/.
33
34 This package contains customizations for SME Server
35 and will probably not work properly on other Linux systems.
36
37 %prep
38
39 %setup -q -n %{name}-%{version}
40
41 %build
42
43 %install
44 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
45 mkdir -p $RPM_BUILD_ROOT%{apachedir}/conf
46 mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/horde/mimp
47 cp -pR * $RPM_BUILD_ROOT%{contentdir}/html/horde/mimp
48 cd $RPM_BUILD_ROOT%{contentdir}/html/horde/mimp/config
49
50
51 for d in *.dist; do
52 d0=`basename $d .dist`
53 if [ ! -f "$d0" ]; then
54 cp -p $d $d0
55 fi
56 done
57
58 %clean
59 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
60
61 %post
62
63 %postun
64
65 %files
66 %defattr(-,root,root)
67 # Include top level with %dir so not all files are sucked in
68 %dir %{contentdir}/html/horde/mimp
69 # Include top-level files by hand
70 %{contentdir}/html/horde/mimp/*.php
71 # Include these dirs so that all files _will_ get sucked in
72 %{contentdir}/html/horde/mimp/lib
73 %{contentdir}/html/horde/mimp/locale
74 %{contentdir}/html/horde/mimp/po
75 %{contentdir}/html/horde/mimp/templates
76 %{contentdir}/html/horde/mimp/themes
77 # Mark documentation files with %doc and %docdir
78 %doc %{contentdir}/html/horde/mimp/COPYING
79 %doc %{contentdir}/html/horde/mimp/README
80 %docdir %{contentdir}/html/horde/mimp/docs
81 %{contentdir}/html/horde/mimp/docs
82 # Mark configuration files with %config and use secure permissions
83 # (note that .dist files are considered software; don't mark %config)
84 %attr(750,root,%{apachegroup}) %dir %{contentdir}/html/horde/mimp/config
85 %defattr(640,root,%{apachegroup})
86 %{contentdir}/html/horde/mimp/config/.htaccess
87 %{contentdir}/html/horde/mimp/config/*.dist
88 %config %{contentdir}/html/horde/mimp/config/*.php
89 %config %{contentdir}/html/horde/mimp/config/*.xml
90 %config %{contentdir}/html/horde/mimp/config/*.txt
91
92 %changelog
93 * Mon Nov 12 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.2-1
94 - Updated to mimp 1.0.2
95
96 * 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 Mar 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.1-1
100 - Updated to mimp 1.0.1-1
101
102 * Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com>
103 - Re-rolled using released version of mimp 1.0
104
105 * Sun May 28 2006 John H. Bennett III <bennettj@johnbennettservices.com>
106 - Upgraded to mimp1.0.RC2 [1.0-0.1]
107
108 * Fri Mar 7 2006 John H. Bennett III <bennettj@johnbennettservices.com>
109 - Dropped rc1 from RPM name [1.0-0]
110
111 * Fri Mar 2 2006 John H. Bennett III <bennettj@johnbennettservices.com>
112 - Re-rolled using mimp-h3-1.0-rc1 [1.0-RC1]
113
114 * Thu Sep 01 2005 Greg Swallow
115 - [0.0.1-1sme01]
116 - Initial Release from CVS 2005-09-03
117

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