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