]> git.pld-linux.org Git - packages/egroupware.git/blob - egroupware.spec
- pl for new subpackages
[packages/egroupware.git] / egroupware.spec
1 # TODO
2 # - subpackages
3 # - everything
4 Summary:        eGroupWare - a web-based groupware suite written in PHP
5 Summary(pl):    eGroupWAre - oparte na WWW oprogramowanie do pracy grupowej napisane w PHP
6 Name:           egroupware
7 Version:        1.0.0.009
8 Release:        0.12
9 Epoch:          0
10 License:        GPL
11 Group:          Applications/WWW
12 Source0:        http://dl.sourceforge.net/egroupware/eGroupWare-%{version}.tar.bz2
13 # Source0-md5:  2ed2f3041ab4ff235f56ed23dfa7274b
14 Source1:        %{name}.conf
15 URL:            http://www.egroupware.org/
16 Requires:       %{name}(DB_Driver)
17 Requires:       php >= 3:4.1.2
18 Requires:       php-gd
19 Requires:       php-mbstring
20 Requires:       php-pcre
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _appdir %{_datadir}/%{name}
25 %define         _sysconfdir /etc/%{name}
26
27 %description
28 eGroupWare is a multi-user, web-based groupware suite developed on a
29 custom set of PHP-based APIs. Currently available modules include:
30 email, addressbook, calendar, infolog (notes, to-do's, phone calls),
31 content management, forum, bookmarks, wiki.
32
33 %description -l pl
34 eGroupWare to wielou¿ytkownikowe, oparte na WWW oprogramowanie do
35 pracy grupowej stworzone na w³asnym zestawie API opartych na PHP.
36 Aktualnie dostêpne modu³y obejmuj±: pocztê elektroniczn±, ksi±¿kê
37 adresow±, kalendarz, infolog (notatki, rzeczy do zrobienia, rozmowy
38 telefoniczne), zarz±dzanie tre¶ci±, forum, zak³adki, wiki.
39
40 %package db-mysql
41 Summary:        eGroupware DB Driver for MySQL
42 Summary(pl):    Sterownik bazy danych eGroupware dla MySQL-a
43 Group:          Applications/WWW
44 Requires:       php-mysql
45 Provides:       %{name}(DB_Driver) = %{version}-%{release}
46
47 %description db-mysql
48 This virtual package provides MySQL database backend for eGroupware.
49
50 %description db-mysql -l pl
51 Ten wirtualny pakiet dostarcza backend bazy danych MySQL dla
52 eGroupware.
53
54 %package db-pgsql
55 Summary:        eGroupware DB Driver for PostgreSQL
56 Summary(pl):    Sterownik bazy danych eGroupware dla PostgreSQL-a
57 Group:          Applications/WWW
58 Requires:       php-pgsql
59 Provides:       %{name}(DB_Driver) = %{version}-%{release}
60
61 %description db-pgsql
62 This virtual package provides PostgreSQL database backend for
63 eGroupware.
64
65 %description db-pgsql -l pl
66 Ten wirtualny pakiet dostarcza backend bazy danych PostgreSQL dla
67 eGroupware.
68
69 %package db-mssql
70 Summary:        eGroupware DB Driver for MS SQL
71 Summary(pl):    Sterownik bazy danych eGroupware dla MS SQL-a
72 Group:          Applications/WWW
73 Requires:       php-mssql
74 Provides:       %{name}(DB_Driver) = %{version}-%{release}
75
76 %description db-mssql
77 This virtual package provides MS SQL database backend for eGroupware.
78
79 %description db-mssql -l pl
80 Ten wirtualny pakiet dostarcza backend bazy danych MS SQL dla
81 eGroupware.
82
83 %prep
84 %setup -q -n %{name}
85
86 # remove CVS control files
87 find -name CVS -print0 | xargs -0 rm -rf
88
89 # GPL
90 rm -f doc/LICENSE
91
92 # no need.
93 rm -rf doc/rpm-build
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97 install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir}}
98
99 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
100 cp -a addressbook admin backup bookmarks calendar comic developer_tools \
101 email emailadmin etemplate felamimail filemanager forum ftp fudforum headlines \
102 infolog jinn manual messenger news_admin phpbrain phpgwapi phpldapadmin \
103 phpsysinfo polls preferences projects registration setup sitemgr stocks tts \
104 wiki $RPM_BUILD_ROOT%{_appdir}
105
106 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
107
108 %clean
109 rm -rf $RPM_BUILD_ROOT
110
111 %triggerin -- apache1 >= 1.3.33-2
112 %apache_config_install -v 1 -c %{_sysconfdir}/apache.conf
113
114 %triggerun -- apache1 >= 1.3.33-2
115 %apache_config_uninstall -v 1
116
117 %triggerin -- apache >= 2.0.0
118 %apache_config_install -v 2 -c %{_sysconfdir}/apache.conf
119
120 %triggerun -- apache >= 2.0.0
121 %apache_config_uninstall -v 2
122
123 %files
124 %defattr(644,root,root,755)
125 %attr(710,root,http) %dir %{_sysconfdir}
126 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
127 %doc doc/*
128 %dir %{_appdir}
129 %{_appdir}/*.php
130 %{_appdir}/addressbook
131 %{_appdir}/admin
132 %{_appdir}/backup
133 %{_appdir}/bookmarks
134 %{_appdir}/calendar
135 %{_appdir}/comic
136 %{_appdir}/developer_tools
137 %{_appdir}/email
138 %{_appdir}/emailadmin
139 %{_appdir}/etemplate
140 %{_appdir}/felamimail
141 %{_appdir}/filemanager
142 %{_appdir}/forum
143 %{_appdir}/ftp
144 %{_appdir}/headlines
145 %{_appdir}/infolog
146 %{_appdir}/jinn
147 %{_appdir}/manual
148 %{_appdir}/messenger
149 %{_appdir}/news_admin
150 %{_appdir}/phpbrain
151 %{_appdir}/phpldapadmin
152 %{_appdir}/phpsysinfo
153 %{_appdir}/polls
154 %{_appdir}/preferences
155 %{_appdir}/projects
156 %{_appdir}/registration
157 %{_appdir}/setup
158 %{_appdir}/sitemgr
159 %{_appdir}/stocks
160 %{_appdir}/tts
161 %{_appdir}/wiki
162
163 %dir %{_appdir}/phpgwapi
164 %{_appdir}/phpgwapi/*.php
165 %{_appdir}/phpgwapi/cron
166 %{_appdir}/phpgwapi/doc
167 %{_appdir}/phpgwapi/inc
168 %{_appdir}/phpgwapi/js
169 %{_appdir}/phpgwapi/setup
170 %{_appdir}/phpgwapi/templates
171 %{_appdir}/phpgwapi/themes
172 %dir %attr(775,root,http) %{_appdir}/phpgwapi/images
173 %{_appdir}/phpgwapi/images/*
174
175 %dir %attr(775,root,http) %{_appdir}/fudforum
176 %{_appdir}/fudforum/*.php
177 %{_appdir}/fudforum/inc
178 %{_appdir}/fudforum/setup
179 %{_appdir}/fudforum/templates
180
181 %files db-mysql
182 %defattr(644,root,root,755)
183
184 %files db-pgsql
185 %defattr(644,root,root,755)
186
187 %files db-mssql
188 %defattr(644,root,root,755)
This page took 0.227619 seconds and 3 git commands to generate.