[php53-php-gettext/el5] Initial import of php53-php-gettext for EPEL 5

Robert Scheck robert at fedoraproject.org
Fri Nov 4 18:58:55 UTC 2011


commit c5d58f98c2feaa886cce000ccd908d0f3ceaa7e3
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Fri Nov 4 19:58:40 2011 +0100

    Initial import of php53-php-gettext for EPEL 5

 .gitignore             |    1 +
 php53-php-gettext.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6645359 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+php-gettext-1.0.11.tar.gz
diff --git a/php53-php-gettext.spec b/php53-php-gettext.spec
new file mode 100644
index 0000000..2c04a41
--- /dev/null
+++ b/php53-php-gettext.spec
@@ -0,0 +1,55 @@
+Summary:	Gettext emulation in PHP
+Name:		php53-php-gettext
+Version:	1.0.11
+Release:	3%{?dist}
+License:	GPLv2+
+Group:		Development/Libraries
+URL:		https://launchpad.net/php-gettext
+Source0:	http://launchpad.net/php-gettext/trunk/%{version}/+download/php-gettext-%{version}.tar.gz
+Requires:	php53-common, php53-mbstring
+Provides:	php-php-gettext = %{version}-%{release}
+BuildArch:	noarch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+This library provides PHP functions to read MO files even when gettext is 
+not compiled in or when appropriate locale is not present on the system.
+
+%prep
+%setup -q -n php-gettext-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/php/gettext/
+install -p -m 644 gettext.php streams.php gettext.inc $RPM_BUILD_ROOT%{_datadir}/php/gettext/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc README AUTHORS COPYING
+%{_datadir}/php/gettext/
+
+%changelog
+* Mon Sep 19 2011 Robert Scheck <robert at fedoraproject.org> 1.0.11-3
+- Renamed package from php-gettext to php53-php-gettext (#727000)
+
+* Mon Aug 01 2011 Robert Scheck <robert at fedoraproject.org> 1.0.11-2
+- Moved library data to /usr/share/php/gettext
+- Added runtime dependency to php-mbstring package
+
+* Sun Jul 31 2011 Robert Scheck <robert at fedoraproject.org> 1.0.11-1
+- Upgrade to 1.0.11
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 1.0.9-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Dec 06 2009 David Nalley <david at gnsa.us> 1.0.9-2
+- corrected license field 
+
+* Sun Dec 06 2009 David Nalley <david at gnsa.us> 1.0.9-1
+- Initial Packaging
diff --git a/sources b/sources
index e69de29..57bb029 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c085ef92974358adb0faf9350f7973ec  php-gettext-1.0.11.tar.gz


More information about the scm-commits mailing list