rpms/php-pear-Net-IPv4/devel import.log, NONE, 1.1 php-pear-Net-IPv4.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Moix (moixs) fedora-extras-commits at redhat.com
Tue Jul 15 11:00:27 UTC 2008


Author: moixs

Update of /cvs/pkgs/rpms/php-pear-Net-IPv4/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18653/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-pear-Net-IPv4.spec 
Log Message:
* Thu Jul 15 2008 Steven Moix <steven.moix at axianet.ch> 1.3.0-2
- Corrected the spec file thanks to Remi Collet



--- NEW FILE import.log ---
php-pear-Net-IPv4-1_3_0-2_fc9:HEAD:php-pear-Net-IPv4-1.3.0-2.fc9.src.rpm:1216119442


--- NEW FILE php-pear-Net-IPv4.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Net_IPv4

Name:           php-pear-Net-IPv4
Version:        1.3.0
Release:        2%{?dist}
Summary:        IPv4 network calculations and validation

Group:          Development/Libraries
License:        PHP
URL:            http://pear.php.net/package/Net_IPv4
Source:         http://pear.php.net/get/%{pear_name}-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  php-pear >= 1:1.4.9-1.2
BuildArch:      noarch
Requires:       php-pear(PEAR)
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides:       php-pear(%{pear_name}) = %{version}

%description
Class used for calculating IPv4 (AF_INET family) address information
such as network as network address, broadcast address, and IP address
validity.


%prep
%setup -qc
%{__pear} convert package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}


%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.


%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml

# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*

# Install XML package description
install -d $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}


%clean
rm -rf $RPM_BUILD_ROOT


%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_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{pear_name}.xml
%dir %{pear_phpdir}/Net
%{pear_phpdir}/Net/IPv4.php


%changelog
* Thu Jul 3 2008 Steven Moix <steven.moix at axianet.ch> 1.3.0-2
- Corrected the spec file thanks to Remi Collet

* Sat May 24 2008 Steven Moix <steven.moix at axianet.ch> 1.3.0-1
- Initial Release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-Net-IPv4/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jul 2008 16:06:43 -0000	1.1
+++ .cvsignore	15 Jul 2008 10:59:43 -0000	1.2
@@ -0,0 +1 @@
+Net_IPv4-1.3.0.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-Net-IPv4/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jul 2008 16:06:43 -0000	1.1
+++ sources	15 Jul 2008 10:59:43 -0000	1.2
@@ -0,0 +1 @@
+35ee77683b4fd34d7a9aa77c199b2eda  Net_IPv4-1.3.0.tgz




More information about the fedora-extras-commits mailing list