]> git.pld-linux.org Git - projects/template-specs.git/blame - horde.spec
- version uneccessary for apache1-base
[projects/template-specs.git] / horde.spec
CommitLineData
5f6950b4
ER
1# TODO
2# - lighttpd support
ab8465a6
ER
3%define _hordeapp skeleton
4#define _snap 2005-08-01
02bce657 5#define _rc rc1
eeb8a3ce 6%define _rel 1
02bce657
ER
7
8# REPLACE words 'SKELETON', 'Skeleton', 'skeleton' with your application
9# GET THE Summary from here: http://www.horde.org/source/modules.php
10# FIND .htaccess FILES AND MAKE SURE APACHE CONF DISABLES ACCESS TO
11# THOSE DIRS: find -name '.??*' IS EASY TO LOCATE.
12
13%include /usr/lib/rpm/macros.php
14Summary: Template for horde projects
1cf1698b 15Name: horde-%{_hordeapp}
02bce657 16Version: 0.1
ab8465a6 17Release: %{?_rc:0.%{_rc}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
29fed2f2 18License: GPL v2 (CHECK IT FIRST, could be ASL)
02bce657 19Group: Applications/WWW
ab8465a6 20# due builder limitations can't have complrex macros in Source0
29fed2f2 21#Source0: ftp://ftp.horde.org/pub/skeleton/%{_hordeapp}-h3-%{version}.tar.gz
ab8465a6 22#Source0: ftp://ftp.horde.org/pub/skeleton/%{_hordeapp}-h3-%{version}-%{_rc}.tar.gz
29fed2f2 23#Source0: ftp://ftp.horde.org/pub/snaps/%{_snap}/%{_hordeapp}-HEAD-%{_snap}.tar.gz
eeb8a3ce 24# Source0-md5: -
02bce657
ER
25# COPY IN SOURCES ../SOURCES/ingo.conf AS SOURCE1 HERE:
26# cp ../SOURCES/{ingo,skeleton}.conf
27# DON'T FORGET TO :%s#ingo#skeleton#g in that file
ab8465a6
ER
28Source1: %{_hordeapp}.conf
29Patch0: %{_hordeapp}-prefs.patch
02bce657 30URL: http://www.horde.org/skeleton/
29fed2f2 31BuildRequires: rpm-php-pearprov >= 4.0.2-98
5f6950b4 32BuildRequires: rpmbuild(macros) >= 1.264
29fed2f2 33BuildRequires: tar >= 1:1.15.1
02bce657
ER
34Requires: apache(mod_access)
35Requires: horde >= 3.0
5f6950b4 36Requires: webapps
02bce657
ER
37BuildArch: noarch
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40# horde accesses it directly in help->about
41%define _noautocompressdoc CREDITS
eeb8a3ce 42%define _noautoreq 'pear(Horde.*)'
02bce657 43
29fed2f2 44%define hordedir /usr/share/horde
29fed2f2 45%define _appdir %{hordedir}/%{_hordeapp}
5f6950b4
ER
46%define _webapps /etc/webapps
47%define _webapp horde-%{_hordeapp}
48%define _sysconfdir %{_webapps}/%{_webapp}
02bce657
ER
49
50# GET DESCRIPTION FROM PROJECT URL
51%description
52SKELETON
53
54The Horde Project writes web applications in PHP and releases them
55under the GNU Public License. For more information (including help
56with Skeleton) please visit <http://www.horde.org/>.
57
f01e19b1
JB
58%description -l pl
59SKELETON
60
61Projekt Horde tworzy aplikacje WWW w PHP i wydaje je na licencji GNU
62