1 |
slords |
1.5 |
# $Id$ |
2 |
|
|
# Authority: mrjhb3 |
3 |
|
|
# Name: John H. Bennett III |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: PEAR Net_URL provides easy parsing of Urls |
6 |
|
|
%define name php-pear-Net-URL |
7 |
slords |
1.4 |
%define version 1.0.14 |
8 |
slords |
1.1 |
%define release 1 |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
slords |
1.2 |
Release: %{release}%{?dist} |
12 |
slords |
1.1 |
License: PHP License |
13 |
|
|
Group: Applications/Web |
14 |
|
|
Source0: php-pear-Net-URL-%{version}.tgz |
15 |
|
|
Url: http://pear.php.net/package/Net_URL |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-%(id -u -n)-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: php |
19 |
|
|
Obsoletes: pear-net_url |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
Provides easy parsing of URLs and their constituent parts |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup -q -n php-pear-Net-URL-%{version} |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
|
30 |
|
|
%clean |
31 |
|
|
rm -rf $RPM_BUILD_ROOT |
32 |
|
|
|
33 |
|
|
%install |
34 |
|
|
rm -rf $RPM_BUILD_ROOT |
35 |
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/Net |
36 |
|
|
cp -rp URL* $RPM_BUILD_ROOT/usr/share/pear-addons/Net/ |
37 |
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pear-addons/doc/Net_URL |
38 |
|
|
cp -rp docs $RPM_BUILD_ROOT/usr/share/pear-addons/doc/Net_URL/ |
39 |
|
|
|
40 |
|
|
%files |
41 |
|
|
%defattr(-,root,root) |
42 |
|
|
%dir /usr/share/pear-addons/ |
43 |
|
|
/usr/share/pear-addons/* |
44 |
|
|
|
45 |
|
|
%changelog |
46 |
|
|
* Sun Aug 26 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.14-1 |
47 |
|
|
- Updated package name to match what is in SME8 repo so upgrades from 7 to 8 will |
48 |
|
|
work without any issues. |
49 |
|
|
|
50 |
|
|
* Tue Oct 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0.14-00sme |
51 |
|
|
- Initial |