package created using the webbuild interface [release 1.0.11-1mamba;Mon May 05 2014]
This commit is contained in:
parent
4714db4f79
commit
39381fdee9
@ -1,2 +1,4 @@
|
||||
# php-gettext
|
||||
|
||||
PHP-gettext is a simple reader for GNU gettext MO files.
|
||||
|
||||
|
44
php-gettext.spec
Normal file
44
php-gettext.spec
Normal file
@ -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 <silvan.calarco@mambasoft.it>
|
||||
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 <silvan.calarco@mambasoft.it> 1.0.11-1mamba
|
||||
- package created using the webbuild interface
|
Reference in New Issue
Block a user