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