diff options
-rw-r--r-- | php-gettext.spec | 49 | ||||
-rw-r--r-- | php-php-gettext.spec | 59 |
2 files changed, 59 insertions, 49 deletions
diff --git a/php-gettext.spec b/php-gettext.spec deleted file mode 100644 index d02ef58..0000000 --- a/php-gettext.spec +++ /dev/null @@ -1,49 +0,0 @@ -Name: php-gettext -Version: 1.0.11 -Release: 1%{?dist} -License: GPLv2+ -Summary: Gettext emulation in PHP -Group: Development/Libraries -URL: https://launchpad.net/php-gettext -Source: http://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: php-common -BuildArch: noarch - -%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 -chmod -x *.php -%build -%install -rm -rf %{buildroot} - -mkdir -p %{buildroot}%{_datadir}/php/%{name} -cp -a *.php gettext.inc %{buildroot}%{_datadir}/php/%{name} - -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%doc README AUTHORS COPYING -%{_datadir}/php/%{name} - -%changelog -* Sun Aug 21 2011 Remi Collet <RPMS@FamilleCollet.com> 1.0.11-1 -- rebuild for remi repository - -* Sun Jul 31 2011 Robert Scheck <robert@fedoraproject.org> 1.0.11-1 -- Upgrade to 1.0.11 - -* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sun Dec 06 2009 David Nalley <david@gnsa.us> 1.0.9-2 -- corrected license field - -* Sun Dec 06 2009 David Nalley <david@gnsa.us> 1.0.9-1 -- Initial Packaging diff --git a/php-php-gettext.spec b/php-php-gettext.spec new file mode 100644 index 0000000..6c10085 --- /dev/null +++ b/php-php-gettext.spec @@ -0,0 +1,59 @@ +Summary: Gettext emulation in PHP +Name: php-php-gettext +Version: 1.0.11 +Release: 4%{?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: php-common, php-mbstring +Obsoletes: php-gettext < 1.0.11-3 +Obsoletes: php53-php-gettext +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 3 2012 Remi Collet <RPMS@FamilleCollet.com> 1.0.11-4 +- obsoletes php53-php-gettext + +* Mon Sep 19 2011 Robert Scheck <robert@fedoraproject.org> 1.0.11-3 +- Renamed package from php-gettext to php-php-gettext (#727000) + +* Mon Aug 01 2011 Robert Scheck <robert@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@fedoraproject.org> 1.0.11-1 +- Upgrade to 1.0.11 + +* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.0.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Dec 06 2009 David Nalley <david@gnsa.us> 1.0.9-2 +- corrected license field + +* Sun Dec 06 2009 David Nalley <david@gnsa.us> 1.0.9-1 +- Initial Packaging |