-
Notifications
You must be signed in to change notification settings - Fork 0
/
kohana.spec
174 lines (131 loc) · 4.36 KB
/
kohana.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
Summary: KohanaPHP
Name: kohana3.1
Version: 3.1.3
Release: 3
Group: Web/Frameworks
License: BSD
URL: http://kohanaframework.org/
Source0: kohana-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: php >= 5.2.3, webserver
Packager: Kohana Team <[email protected]>
BuildArch: noarch
Requires: kohana3.1-core = %{version}-%{release}
Requires: kohana3.1-mod-auth = %{version}-%{release}
Requires: kohana3.1-mod-cache = %{version}-%{release}
Requires: kohana3.1-mod-codebench = %{version}-%{release}
Requires: kohana3.1-mod-database = %{version}-%{release}
Requires: kohana3.1-mod-image = %{version}-%{release}
Requires: kohana3.1-mod-orm = %{version}-%{release}
Requires: kohana3.1-mod-unittest = %{version}-%{release}
Requires: kohana3.1-mod-userguide = %{version}-%{release}
%description
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
%package core
Summary: Kohana Core
Group: Web/Frameworks
%description core
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Core Classes
%package mod-auth
Summary: Kohana Auth Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
%description mod-auth
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Auth Module
%package mod-cache
Summary: Kohana Cache Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
%description mod-cache
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Cache Module
%package mod-codebench
Summary: Kohana Codebench Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
%description mod-codebench
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Codebench Module
%package mod-database
Summary: Kohana Database Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
Requires: php-mysql
%description mod-database
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Database Module
%package mod-image
Summary: Kohana Image Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
Requires: php-gd
%description mod-image
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Image Module
%package mod-orm
Summary: Kohana ORM Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
Requires: kohana3.1-mod-database = %{version}-%{release}
%description mod-orm
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
ORM Module
%package mod-unittest
Summary: Kohana Unittest Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}
%description mod-unittest
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Unittest Module
%package mod-userguide
Summary: Kohana Userguide Module
Group: Web/Frameworks
Requires: kohana3.1-core = %{version}-%{release}, php-pear-PHPUnit
%description mod-userguide
Kohana is an elegant HMVC PHP5 framework that provides
a rich set of components for building web applications.
Userguide Module
%prep
%setup -q -n kohana-%{version}
%install
rm -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}/usr/share/php/kohana3.1
%{__install} -d -m0755 %{buildroot}/usr/share/php/kohana3.1/modules/
cp -R system %{buildroot}/usr/share/php/kohana3.1/system
cp -R modules/* %{buildroot}/usr/share/php/kohana3.1/modules/
%clean
rm -rf %{buildroot}
%files
%dir /usr/share/php/kohana3.1
%files core
/usr/share/php/kohana3.1/system
%files mod-auth
/usr/share/php/kohana3.1/modules/auth
%files mod-cache
/usr/share/php/kohana3.1/modules/cache
%files mod-codebench
/usr/share/php/kohana3.1/modules/codebench
%files mod-database
/usr/share/php/kohana3.1/modules/database
%files mod-image
/usr/share/php/kohana3.1/modules/image
%files mod-orm
/usr/share/php/kohana3.1/modules/orm
%files mod-unittest
/usr/share/php/kohana3.1/modules/unittest
%files mod-userguide
/usr/share/php/kohana3.1/modules/userguide
%changelog
* Thu Apr 28 2011 Kohana Team <[email protected]>
- First packaging