Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
php5-smarty3
php5-smarty3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-smarty3.spec of Package php5-smarty3
# # spec file for package php5-smarty3 # # Copyright (c) 2018 SUSE LINUX 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-smarty3 Version: 3.1.33 Release: 0 Summary: Template/Presentation Framework for PHP License: LGPL-3.0-or-later Group: Productivity/Networking/Web/Servers Url: http://www.smarty.net Source0: https://github.com/smarty-php/smarty/archive/v%{version}.tar.gz#/smarty-%{version}.tar.gz BuildArch: noarch BuildRequires: php >= 5.2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: php >= 5.2 Requires(post): update-alternatives Requires(postun): update-alternatives # When a version is requried explicitly Provides: Smarty3 = %{version} Provides: php-Smarty3 = %{version} Provides: php-smarty3 = %{version} Provides: php5-Smarty3 = %{version} # When any Smarty fulfills the requirements Provides: Smarty = %{version} Provides: php-Smarty = %{version} Provides: php-smarty = %{version} Provides: php5-Smarty = %{version} Provides: php5-smarty = %{version} %description Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation Framework." That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application. I stress the word Framework because Smarty is not a simple tag-replacing template engine. Although it can be used for such a simple purpose, its focus is on quick and painless development and deployment of your application, while maintaining high-performance, scalability, security and future growth. %package doc Summary: Docs for Smarty Group: Productivity/Networking/Web/Servers %description doc Documentation for Smarty. Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation Framework." That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application. I stress the word Framework because Smarty is not a simple tag-replacing template engine. Although it can be used for such a simple purpose, its focus is on quick and painless development and deployment of your application, while maintaining high-performance, scalability, security and future growth. %prep %setup -qn smarty-%{version} iconv -f iso8859-1 -t utf-8 NEWS > NEWS.conv && mv -f NEWS.conv NEWS iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog %build %install install -d %{buildroot}%{_datadir}/php5/Smarty3 cp -a libs/* %{buildroot}%{_datadir}/php5/Smarty3/ # create a dummy target for /etc/alternatives/Smarty install -d %{buildroot}%{_sysconfdir}/alternatives touch %{buildroot}%{_sysconfdir}/alternatives/Smarty ln -sf %{_sysconfdir}/alternatives/Smarty %{buildroot}%{_datadir}/php5/Smarty %post %{_sbindir}/update-alternatives --install %{_datadir}/php5/Smarty Smarty %{_datadir}/php5/Smarty3 3 %postun if [ "$1" = 0 ]; then %{_sbindir}/update-alternatives --remove Smarty %{_datadir}/php5/Smarty3 fi %files %defattr(-,root,root,-) %doc LICENSE %dir %{_datadir}/php5/Smarty3 %{_datadir}/php5/Smarty3/* # update-alternatives %ghost %{_sysconfdir}/alternatives/Smarty %{_datadir}/php5/Smarty %files doc %defattr(-,root,root,-) %doc change_log.txt demo/ README %doc SMARTY_2_BC_NOTES.txt SMARTY_3.0_BC_NOTES.txt SMARTY_3.1_NOTES.txt %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