Projects
Kolab:3.4
php-Smarty
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
php-Smarty.spec
Changed
@@ -9,6 +9,9 @@ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +%if 0%{?suse_version} +BuildRequires: php >= 5.2 +%endif BuildArch: noarch %if 0%{?rhel} @@ -17,6 +20,13 @@ Requires: php >= 5.2.0-9 %endif +%if 0%{?suse_version} +%define phpdir php5 +%else +%define phpdir php +%endif + + %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 @@ -42,8 +52,8 @@ rm -rf $RPM_BUILD_ROOT # install smarty libs -install -d $RPM_BUILD_ROOT%{_datadir}/php/Smarty -cp -a libs/* $RPM_BUILD_ROOT%{_datadir}/php/Smarty/ +install -d $RPM_BUILD_ROOT%{_datadir}/%{phpdir}/Smarty +cp -a libs/* $RPM_BUILD_ROOT%{_datadir}/%{phpdir}/Smarty/ %clean @@ -54,7 +64,7 @@ %defattr(-,root,root,-) %doc change_log.txt COPYING.lib demo README %doc SMARTY_2_BC_NOTES.txt SMARTY_3.0_BC_NOTES.txt SMARTY_3.1_NOTES.txt -%{_datadir}/php/Smarty +%{_datadir}/%{phpdir}/Smarty %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.