/[smecontribs]/rpms/php-pear-Net-SMTP/contribs9/php-pear-Net-SMTP.spec
ViewVC logotype

Contents of /rpms/php-pear-Net-SMTP/contribs9/php-pear-Net-SMTP.spec

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


Revision 1.1 - (show annotations) (download)
Thu Sep 17 16:01:28 2015 UTC (9 years, 2 months ago) by stephdl
Branch: MAIN
CVS Tags: php-pear-Net-SMTP-1_6_3-100_el6_sme, HEAD
* Thu Sep 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.3-100.sme
- Initial release to contribs9

1 # remirepo/fedora spec file for php-pear-Net-SMTP
2 #
3 # Copyright (c) 2006-2015 Remi Collet
4 # License: CC-BY-SA
5 # http://creativecommons.org/licenses/by-sa/4.0/
6 #
7 # Please, preserve the changelog entries
8 #
9 %{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
10 %{!?__pear: %global __pear %{_bindir}/pear}
11 %global pear_name Net_SMTP
12
13 Name: php-pear-Net-SMTP
14 Version: 1.6.3
15 Release: 100%{?dist}
16 Summary: Provides an implementation of the SMTP protocol
17 Summary(fr): Fournit une mise en œuvre du protocole SMTP
18
19 Group: Development/Libraries
20 License: PHP
21 URL: http://pear.php.net/package/Net_SMTP
22 Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
23 # https://github.com/pear/Net_SMTP/issues/18 - license clarification
24 # https://github.com/pear/Net_SMTP/pull/17 - missing License
25 Source1: https://raw.githubusercontent.com/pear/Net_SMTP/master/LICENSE
26
27 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
28 BuildArch: noarch
29 BuildRequires: php-pear
30 BuildRequires: php-xml
31
32 Requires(post): %{__pear}
33 Requires(postun): %{__pear}
34 Requires: php-pcre
35 Requires: php-openssl
36 Requires: php-pear(PEAR)
37 Requires: php-pear(Net_Socket)
38 Requires: php-pear(Auth_SASL)
39
40 Provides: php-pear(%{pear_name}) = %{version}
41 Provides: php-composer(pear/net_smtp) = %{version}
42
43
44 %description
45 Provides an implementation of the SMTP protocol using PEAR's Net_Socket class.
46
47 php-pear-Net-SMTP can optionally use package "php-pear-Auth-SASL".
48
49 %description -l fr
50 Fournit une mise en œuvre du protocole SMTP utilisant la classe Net_Socket.
51
52 php-pear-Net-SMTP peut optionnellement utiliser
53 l'extension "php-pear-Auth-SASL".
54
55
56 %prep
57 %setup -q -c
58 cd %{pear_name}-%{version}
59 # package.xml is V2
60 mv ../package.xml %{name}.xml
61
62
63 %build
64 cd %{pear_name}-%{version}
65 # Empty build section, most likely nothing required.
66
67
68 %install
69 rm -rf %{buildroot}
70 cd %{pear_name}-%{version}
71
72 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
73
74 # Clean up unnecessary files
75 rm -rf %{buildroot}%{pear_metadir}/.??*
76
77 # Install XML package description
78 install -Dpm 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
79
80 install -pm 644 %{SOURCE1} %{buildroot}%{pear_docdir}/%{pear_name}/LICENSE
81
82
83 %check
84 # Sanity check
85 lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
86 [ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;
87
88 # For documentation purpose only
89 # After install, as root :
90 # cd /usr/share/pear/test/Net_SMTP/tests
91 # cp config.php.dist config.php
92 # vi config.php # you should use a working mail account
93 # pear run-tests -p Net_SMTP
94 # Should return
95 # 3 PASSED TESTS
96 # 0 SKIPPED TESTS
97
98
99 %clean
100 rm -rf %{buildroot}
101
102
103 %post
104 %{__pear} install --nodeps --soft --force --register-only \
105 %{pear_xmldir}/%{name}.xml >/dev/null || :
106
107
108 %postun
109 if [ $1 -eq 0 ] ; then
110 %{__pear} uninstall --nodeps --ignore-errors --register-only \
111 %{pear_name} >/dev/null || :
112 fi
113
114
115 %files
116 %defattr(-,root,root,-)
117 %doc %{pear_docdir}/%{pear_name}
118 %{pear_phpdir}/Net/*
119 %{pear_testdir}/%{pear_name}
120 %{pear_xmldir}/%{name}.xml
121
122
123 %changelog
124 * Thu Sep 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6.3-100.sme
125 - Initial release to contribs9
126
127 * Mon Aug 3 2015 Remi Collet <remi@fedoraproject.org> - 1.6.3-1
128 - Version 1.6.3 (stable) - API 1.2.0 (stable)
129 - add composer provide
130 - add spec file license
131 - add LICENSE file from upstream git repo
132 - drop generated changelog
133 - open https://github.com/pear/Net_SMTP/issues/18 - license clarification
134 - open https://github.com/pear/Net_SMTP/pull/17 - missing License
135
136 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-4
137 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
138
139 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
140 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
141
142 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
143 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
144
145 * Fri Jul 5 2013 Remi Collet <remi@fedoraproject.org> - 1.6.2-1
146 - Version 1.6.2 (stable) - API 1.2.0 (stable)
147
148 * Tue Feb 19 2013 Remi Collet <remi@fedoraproject.org> - 1.6.1-6
149 - fix metadata location
150
151 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-5
152 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
153
154 * Tue Aug 14 2012 Remi Collet <remi@fedoraproject.org> - 1.6.1-4
155 - rebuilt for new pear_testdir
156
157 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-3
158 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
159
160 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
161 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
162
163 * Tue Aug 16 2011 Remi Collet <Fedora@FamilleCollet.com> 1.6.1-1
164 - Version 1.6.1 (stable) - API 1.2.0 (stable)
165
166 * Fri Jun 10 2011 Remi Collet <Fedora@FamilleCollet.com> 1.6.0-1
167 - Version 1.6.0 (stable) - API 1.2.0 (stable)
168
169 * Sun Apr 17 2011 Remi Collet <Fedora@FamilleCollet.com> 1.5.2-1
170 - Version 1.5.2 (stable) - API 1.1.3 (stable)
171
172 * Fri Mar 11 2011 Remi Collet <Fedora@FamilleCollet.com> 1.5.1-1
173 - Version 1.5.1 (stable) - API 1.1.3 (stable)
174 - keep doc in pear_docdir
175
176 * Sun Feb 13 2011 Remi Collet <Fedora@FamilleCollet.com> 1.5.0-1
177 - Version 1.5.0 (stable) - API 1.1.3 (stable)
178
179 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.4-2
180 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
181
182 * Mon Oct 11 2010 Remi Collet <Fedora@FamilleCollet.com> 1.4.4-1
183 - Version 1.4.4 (stable) - API 1.1.3 (stable)
184
185 * Mon Oct 11 2010 Remi Collet <Fedora@FamilleCollet.com> 1.4.3-1
186 - Version 1.4.3 (stable) - API 1.1.3 (stable)
187 - set timezone during build
188
189 * Tue Mar 09 2010 Remi Collet <Fedora@FamilleCollet.com> 1.4.2-1
190 - update to 1.4.2
191
192 * Mon Jan 25 2010 Remi Collet <Fedora@FamilleCollet.com> 1.4.1-1
193 - update to 1.4.1
194
195 * Sun Jan 24 2010 Remi Collet <Fedora@FamilleCollet.com> 1.4.0-1
196 - update to 1.4.0
197 - add examples to %%doc
198
199 * Sun Nov 29 2009 Remi Collet <Fedora@FamilleCollet.com> 1.3.4-1
200 - update to 1.3.4
201
202 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
203 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
204
205 * Tue Jul 14 2009 Remi Collet <Fedora@FamilleCollet.com> 1.3.3-1
206 - update to 1.3.3
207 - rename Net_SMTP.xml to php-pear-Net-SMTP.xml
208
209 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
210 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
211
212 * Sun Dec 21 2008 Remi Collet <Fedora@FamilleCollet.com> 1.3.2-1
213 - update to 1.3.2
214
215 * Tue Jun 10 2008 Remi Collet <Fedora@FamilleCollet.com> 1.3.1-1
216 - update to 1.3.1
217 - add Comment on howto to run test suite
218
219 * Sun Apr 27 2008 Remi Collet <Fedora@FamilleCollet.com> 1.3.0-1
220 - update to 1.3.0
221
222 * Fri Feb 15 2008 Remi Collet <Fedora@FamilleCollet.com> 1.2.11-1
223 - update to 1.2.11
224 - fix License
225
226 * Sat Mar 31 2007 Remi Collet <Fedora@FamilleCollet.com> 1.2.10-1
227 - remove PEAR from sumnary
228 - update to 1.2.10
229 - requires Net_Socket >= 1.0.7
230 - spec cleanup
231 - add generated CHANGELOG
232 - don't own /usr/share/pear/Net (already own by Net_Socket)
233
234 * Fri Sep 08 2006 Remi Collet <Fedora@FamilleCollet.com> 1.2.8-5
235 - last template.spec
236
237 * Sun Sep 03 2006 Remi Collet <Fedora@FamilleCollet.com> 1.2.8-4
238 - new and simpler %%prep and %%install
239
240 * Sat Sep 02 2006 Remi Collet <Fedora@FamilleCollet.com> 1.2.8-3
241 - install Licence in prep
242 - use new macros from /etc/rpm/macros.pear
243 - own /usr/share/pear/Net
244 - require php >= 4.0.5
245
246 * Sat May 20 2006 Remi Collet <Fedora@FamilleCollet.com> 1.2.8-2
247 - Require pear >= 1.4.9
248 - bundle the v3.01 PHP LICENSE file
249 - use --packagingroot (instead of -R)
250 - check from install to check (as in php-pear)
251 - Remove Auth_SASL from Requires (optional)
252
253 * Sat May 06 2006 Remi Collet <Fedora@FamilleCollet.com> 1.2.8-1
254 - spec for extras
255 - workaround for buggy pear 1.4.6 installer
256 - use %%{_datadir}/pear/.pkgxml for XML (Bug #190252)
257
258 * Thu Apr 06 2006 Remi Collet <rpms@FamilleCollet.com> 1.2.8-3.fc{3,4,5}.remi
259 - change /var/lib/pear to %%{_libdir}/php/pear for XML (as in extras for FC5)
260 - spec cleanning
261
262 * Sat Mar 04 2006 Remi Collet <RPMS@FamilleCollet.com> 1.2.8-2.fc{3,4}.remi
263 - add Requires: php-pear(Auth_SASL)
264
265 * Sat Feb 25 2006 Remi Collet <RPMS@FamilleCollet.com> 1.2.8-1.fc{3,4}.remi
266 - update to 1.2.8
267
268 * Sat Jan 7 2006 Remi Collet <remi.collet@univ-reims.fr> 1.2.7-1.fc{3,4}.remi
269 - initial RPM

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