diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-06-10 07:14:25 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-06-10 07:14:25 +0200 |
commit | 7d8892907cbc39f3af8fadce026a80eedaf53c4e (patch) | |
tree | dd8d23f90cdf26b19afab2c425c5f5b482c6f388 |
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | domxml-php4-php5-1.21.1.tar.gz | bin | 0 -> 5645 bytes | |||
-rw-r--r-- | php-domxml-php4-php5.spec | 61 |
4 files changed, 72 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e65467 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../common/Makefile + @@ -0,0 +1,7 @@ +php-domxml-php4-php5 +-------------------- + +Review https://bugzilla.redhat.com/590777 + +Package approved, look in rawhide for latest spec file + diff --git a/domxml-php4-php5-1.21.1.tar.gz b/domxml-php4-php5-1.21.1.tar.gz Binary files differnew file mode 100644 index 0000000..4b6f6b4 --- /dev/null +++ b/domxml-php4-php5-1.21.1.tar.gz diff --git a/php-domxml-php4-php5.spec b/php-domxml-php4-php5.spec new file mode 100644 index 0000000..e7465f8 --- /dev/null +++ b/php-domxml-php4-php5.spec @@ -0,0 +1,61 @@ +%global libname domxml-php4-php5 + +Name: php-%{libname} +Version: 1.21.1 +Release: 2%{?dist} +Summary: XML transition from PHP4 domxml to PHP5 dom module +Summary(fr): Transition du XML de PHP4 domxml à PHP5 dom + +Group: Development/Libraries +License: LGPLv3+ +URL: http://alexandre.alapetite.fr/doc-alex/domxml-php4-php5 +# wget -N http://alexandre.alapetite.fr/doc-alex/domxml-php4-php5/domxml-php4-to-php5.php.txt -O domxml-php4-to-php5.php +# grep Version domxml-php4-to-php5.php +# tar czf domxml-php4-php5-1.21.1.tar.gz domxml-php4-to-php5.php +Source0: %{libname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: php-xml >= 5.1 + +%description +XML transition from PHP4 domxml to PHP5 dom module. + +%description -l fr +Transition du XML de PHP4 domxml à PHP5 dom. + + +%prep +%setup -qc + +sed -i -e 's/\r//' *.php + + +%build +# nothing to build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__install} -d $RPM_BUILD_ROOT%{_datadir}/php/%{libname} +%{__install} -pm 0644 *.php $RPM_BUILD_ROOT%{_datadir}/php/%{libname} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_datadir}/php/%{libname} + + +%changelog +* Sat May 15 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.21.1-2 +- fix License (review #590777) + +* Sun Mar 14 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.21.1-1 +- rename to php-domxml-php4-php5 + +* Mon Dec 21 2009 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 1.21.1-1 +- Initial package. |