From 39381fdee9d01afeac01b3236d264f7e93e84eb3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:59:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0.11-1mamba;Mon May 05 2014] --- README.md | 2 ++ php-gettext.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 php-gettext.spec diff --git a/README.md b/README.md index c282592..26b9c59 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # php-gettext +PHP-gettext is a simple reader for GNU gettext MO files. + diff --git a/php-gettext.spec b/php-gettext.spec new file mode 100644 index 0000000..a4ac914 --- /dev/null +++ b/php-gettext.spec @@ -0,0 +1,44 @@ +Name: php-gettext +Version: 1.0.11 +Release: 1mamba +Summary: A simple reader for GNU gettext MO files +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://launchpad.net/php-gettext/ +Source: https://launchpad.net/php-gettext/trunk/%{version}/+download/php-gettext-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 php-gettext' to get the list of build requirements. +## AUTOBUILDREQ-END +Requires: php +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PHP-gettext is a simple reader for GNU gettext MO files. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_datadir}/php/php-gettext +cp gettext.php streams.php gettext.inc %{buildroot}%{_datadir}/php/php-gettext/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_datadir}/php/php-gettext +%{_datadir}/php/php-gettext/gettext.inc +%{_datadir}/php/php-gettext/gettext.php +%{_datadir}/php/php-gettext/streams.php +%doc AUTHORS COPYING + +%changelog +* Mon May 05 2014 Silvan Calarco 1.0.11-1mamba +- package created using the webbuild interface