45 lines
1.3 KiB
RPMSpec
45 lines
1.3 KiB
RPMSpec
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
|