LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File joomla.spec of Package joomla (Project home:onielsen)

#
# spec file for package joomla
#
# Copyright (c) 2010 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/
#

# norootforbuild
%define		apache_serverroot /srv/www/htdocs/%{name}

Name:           joomla
Version:        3.4.1
Release:        1
Summary:        Web Content management system (CMS)
Group:		Productivity/Publishing/HTML/Tools
License:        GPL-2.0
URL:            http://www.joomla.org/
Source0:        http://joomlacode.org/gf/download/frsrelease/20021/162257/Joomla_3.4.1-Stable-Full_Package.tar.bz2
BuildArch:      noarch
BuildRequires:	fdupes
Requires:	php5-mysql php5-gd php5-mbstring php5-json php5-zlib
Recommends:	apache2 apache2-mod_php5
Suggests:	mysql

%description
Joomla is an award-winning content management system (CMS), which enables
you to build Web sites and powerful online applications. Many aspects,
including its ease-of-use and extensibility, have made Joomla the most
popular Web site software available. Best of all, Joomla is an open
source solution that is freely available to everyone.



%prep
%setup -q -c


%build


%install
%{__mkdir} -p ${RPM_BUILD_ROOT}%{apache_serverroot}
%{__cp} -r * ${RPM_BUILD_ROOT}%{apache_serverroot}/

# Hardlink duplicate files
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root)
%dir %{apache_serverroot}
%{apache_serverroot}/*


%changelog