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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
|
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name phing
%global pear_channel pear.phing.info
Summary: A project build system based on Apache Ant
Name: php-pear-phing
Version: 2.5.0
Release: 3%{?dist}
License: LGPLv2
Group: Development/Tools
# remove non-free stuff
# pear download phing/phing
# ./strip.sh %{version}
Source0: %{pear_name}-%{version}-strip.tgz
Source1: strip.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://phing.info/trac/
BuildArch: noarch
BuildRequires: php(language) >= 5.2.0
BuildRequires: php-pear(PEAR) >= 1.8.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: dos2unix
Requires: php(language) >= 5.2.0
Requires: php-cli
Requires: php-pear(PEAR) >= 1.8.0
Requires: php-channel(%{pear_channel})
# Optional
Requires: php-pear(pear.phpunit.de/PHPUnit) >= 3.6.0
Requires: php-pear(pear.phpunit.de/PHP_CodeCoverage) >= 1.1.0
Requires: php-pear(pear.phpunit.de/phpcpd) >= 1.3.3
Requires: php-pear(pear.phpunit.de/phploc) >= 1.6.4
Requires: php-pear(Archive_Tar) >= 1.3.0
Requires: php-pear(HTTP_Request2) >= 0.5.2
Requires: php-pear(PHP_CodeSniffer) >= 1.3.0
Requires: php-pear(pear.pdepend.org/PHP_Depend) >= 0.10.0
Requires: php-pear(pear.phpmd.org/PHP_PMD) >= 1.1.0
# TODO
# pear.phing.info/phingdocs >= 2.4.13
# VersionControl_SVN >= 0.4.0
# VersionControl_Git >= 0.4.3
# PEAR_PackageFileManager >= 1.5.2
# Services_Amazon_S3 >= 0.3.1
# pear.phpdoc.org/phpDocumentor >= 2.0.0a10
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
%description
PHing Is Not GNU make; it's a project build system based on Apache Ant.
You can do anything with it that you could do with a traditional build
system like GNU make, and its use of simple XML build files and extensible
PHP "task" classes make it an easy-to-use and highly flexible build
framework. Features include file transformations (e.g. token replacement,
XSLT transformation, Smarty template transformations), file system operations,
interactive build support, SQL execution, CVS operations, tools for creating
PEAR packages, and much more.
%prep
%setup -qc
cd %{pear_name}-%{version}
mv ../package.xml %{pear_name}.xml
%build
cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{pear_name}.xml
rm -rf %{buildroot}%{pear_metadir}/.??*
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir}
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{pear_name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
%{__pear} uninstall --nodeps --ignore-errors --register-only \
%{pear_channel}/%{pear_name} >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%{_bindir}/phing
%doc %{pear_docdir}/%{pear_name}
%{pear_datadir}/%{pear_name}
%{pear_phpdir}/%{pear_name}
%{pear_phpdir}/%{pear_name}.php
%{pear_xmldir}/%{pear_name}.xml
%changelog
* Wed May 1 2013 Remi Collet <remi@fedoraproject.org> - 2.5.0-3
- clean more non-free stuff
* Sat Apr 20 2013 Christof Damian <christof@damian.net> - 2.5.0-2
- remove more mentions of non-free stuff
* Thu Mar 28 2013 Remi Collet <remi@fedoraproject.org> - 2.5.0-2
- remove jsmin from task/defaults.properties
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 2.5.0-1
- Update to 2.5.0
* Tue Jan 15 2013 Collet <RPMS@FamilleCollet.com> - 2.4.14-1.1
- sync with rawhide, drop non free stuff
* Mon Jan 14 2013 Christof Damian <christof@damian.net> - 2.4.14-1
- upstream 2.4.14
- remove non-free stuff
- remove optional xdebug requirement
- use pear_metadir
* Fri Nov 30 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.4.14-1
- upstream 2.4.14, for remi repo
* Tue Nov 20 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.4.13-1
- upstream 2.4.13, for remi repo
- add more requires (optional deps)
* Thu Apr 11 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.4.12-1
- upstream 2.4.13, backport for remi repo
* Wed Apr 11 2012 Christof Damian <christof@damian.net> - 2.4.12-1
- upstream 2.4.12
* Tue Jan 24 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.4.9-1
- upstream 2.4.9
* Fri Nov 04 2011 Remi Collet <RPMS@FamilleCollet.com> - 2.4.8-1
- upstream 2.4.8, rebuild for remi repository
- doc in /usr/share/doc/pear
* Thu Nov 3 2011 Christof Damian <christof@damian.net> - 2.4.8-1
- upstream 2.4.8
* Sat Jul 17 2011 Remi Collet <RPMS@FamilleCollet.com> - 2.4.6-1
- rebuild for remi repository
* Fri Jul 15 2011 Christof Damian <christof@damian.net> - 2.4.6-1
- upstream 2.4.6
* Sat Mar 5 2011 Christof Damian <christof@damian.net> - 2.4.5-1
- remove requires hint
* Fri Mar 4 2011 Christof Damian <christof@damian.net> - 2.4.5-1
- upstream 2.4.5
* Sun Dec 12 2010 Remi Collet <RPMS@FamilleCollet.com> - 2.4.4-1
- rebuild for remi repository
* Wed Dec 8 2010 Christof Damian <christof@damian.net> - 2.4.4-1
- upstream 2.4.4
* Thu Nov 25 2010 Remi Collet <RPMS@FamilleCollet.com> - 2.4.3-1
- rebuild for remi repository
* Tue Nov 23 2010 Christof Damian <christof@damian.net> - 2.4.3-1
- upstream 2.4.3
* Fri Aug 05 2010 Remi Collet <RPMS@FamilleCollet.com> - 2.4.2-1
- rebuild for remi repository
* Sat Jul 31 2010 Christof Damian <christof@damian.net> - 2.4.2-1
- upstream 2.4.2
* Wed Jun 23 2010 Remi Collet <RPMS@FamilleCollet.com> - 2.4.1-1
- rebuild for remi repository
* Thu May 27 2010 Christof Damian <christof@damian.net> - 2.4.1-1
- upstream 2.4.1
- taking over package
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Jul 19 2009 Remi Collet <RPMS@FamilleCollet.com> - 2.3.0-2
- rebuild for remi repository
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Nov 6 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-1
- stable version
* Tue Oct 30 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-0.1.RC2
- new release candidate version
* Tue Oct 16 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-0.1.RC1
- new release candidate version
- consequently adapted macros for all shell operations
- sanitized requires
- switched build root macro style
- additional s/\r\n/\n/g fixes
* Mon Sep 3 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-0.6.beta1
- name change (lowercase)
- changed pear datadir macro
* Fri Aug 24 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-0.5.beta1
- Fixed dos line terminators.
* Wed Aug 22 2007 Alexander Kahl <akahl@iconmobile.com> - 2.3.0-0.4.beta1
- New beta version.
* Tue Aug 21 2007 Alexander Kahl <akahl@iconmobile.com> - 2.2.0-3
- Adapted new Fedora layout.
* Tue Aug 21 2007 Alexander Kahl <akahl@iconmobile.com> - 2.2.0-2
- Updated PHPUnit dependency.
* Fri May 25 2007 Alexander Kahl <akahl@iconmobile.com> - 2.2.0-1
- Removed ant dependency.
- Added channel dependency.
* Wed May 23 2007 Alexander Kahl <akahl@iconmobile.com> 2.2.0-0
- Initial RPM release.
|