Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:php:applications
php5-smarty-gettext
php5-smarty-gettext.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-smarty-gettext.spec of Package php5-smarty-gettext
# # spec file for package php5-smarty-gettext # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: php5-smarty-gettext Version: 1.1.1 Release: 0 Summary: Gettext support for Smarty License: LGPL-2.0 Group: Development/Libraries/PHP Url: http://www.smarty.net/ Source: https://github.com/smarty-gettext/smarty-gettext/archive/%{version}.tar.gz Patch0: 01_shebang_fix.patch BuildArch: noarch BuildRequires: php5-smarty2 BuildRequires: php5-smarty3 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: php5-smarty Recommends: php5-smarty3-gettext %description Smarty gettext plug-in provides an internationalization support for the PHP template engine Smarty. %package -n php5-smarty2-gettext Summary: Gettext support for Smarty2 Group: Development/Libraries/PHP Requires: php5-smarty2 %description -n php5-smarty2-gettext Smarty2 gettext plug-in provides an internationalization support for the PHP template engine Smarty. %package -n php5-smarty3-gettext Summary: Gettext support for Smarty3 Group: Development/Libraries/PHP Requires: php5-smarty3 %description -n php5-smarty3-gettext Smarty3 gettext plug-in provides an internationalization support for the PHP template engine Smarty. %prep %setup -q -n smarty-gettext-%{version} %patch0 -p1 %build %install # Clean buildroot before install rm -rf %{buildroot} # Install the Smarty2 Plugin install -d -m 0755 %{buildroot}%{_datadir}/php5/Smarty2/plugins install -p -m 0644 block.t.php %{buildroot}%{_datadir}/php5/Smarty2/plugins # Install the Smarty3 Plugin install -d -m 0755 %{buildroot}%{_datadir}/php5/Smarty3/plugins install -p -m 0644 block.t.php %{buildroot}%{_datadir}/php5/Smarty3/plugins # Install the command line utility install -d %{buildroot}%{_bindir} install -p -m 0755 tsmarty2c.php %{buildroot}%{_bindir}/tsmarty2c %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README.md COPYING ChangeLog.md %{_bindir}/tsmarty2c %files -n php5-smarty2-gettext %defattr(-,root,root,-) %dir %{_datadir}/php5/Smarty2/plugins/ %{_datadir}/php5/Smarty2/plugins/block.t.php %files -n php5-smarty3-gettext %defattr(-,root,root,-) %dir %{_datadir}/php5/Smarty3/plugins/ %{_datadir}/php5/Smarty3/plugins/block.t.php %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor