General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

drupal5 spec file : Dries RPM Repository

Back to the drupal5 rpms

Current spec in pydar2:


# $Id: drupal5.spec 5946 2007-10-29 16:29:56Z dag $
# Authority: dag

%define real_name drupal

Summary: Drupal CMS
Name: drupal5
Version: 5.3
Release: 1
License: GPL
Group: Development/Languages
URL: http://drupal.org/

Source: http://ftp.drupal.org/files/projects/drupal-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: php >= 4.3.3
Requires: httpd, mysql, php >= 4.3.3
Requires: php-gd, php-mbstring, php-mysql

Obsoletes: drupal <= %{version}-%{release}
Provides: drupal = %{version}-%{release}

%description
Drupal is an open source content management platform. Drupal is equipped
with a powerful blend of features, Drupal can support a variety of
websites ranging from personal weblogs to large community-driven websites.

%prep
%setup -n %{real_name}-%{version}
%{__cat} <drupal5.httpd
### Drupal 5
Alias /drupal %{_localstatedir}/www/drupal-%{version}


    AllowOverride All

EOF

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0644 drupal5.httpd %{buildroot}%{_sysconfdir}/httpd/conf.d/drupal5.conf
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/www/drupal-%{version}/files/
%{__install} -Dp -m0644 .htaccess %{buildroot}%{_localstatedir}/www/drupal-%{version}/.htaccess
%{__cp} -av *.php %{buildroot}%{_localstatedir}/www/drupal-%{version}/
%{__cp} -av includes/ misc/ modules/ profiles/ scripts/ sites/ themes/ %{buildroot}%{_localstatedir}/www/drupal-%{version}/
%{__mkdir} %{buildroot}%{_localstatedir}/www/drupal-%{version}/files/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, apache, apache, 0755)
%doc CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt UPGRADE.txt
%config(noreplace) %{_localstatedir}/www/drupal-%{version}/sites/
%config(noreplace) %{_sysconfdir}/httpd/conf.d/drupal5.conf
%{_localstatedir}/www/drupal-%{version}/

%changelog
* Sun Oct 21 2007 Dag Wieers  - 5.3-1
- Updated to release 5.3.

* Fri Oct 05 2007 Dag Wieers  - 5.2-3
- Fixed typo in Requires. (Seán O Sullivan)

* Mon Oct 01 2007 Dag Wieers  - 5.2-2
- Added missing php-gd and php-mbtstring requirements.
- Added empty files/ directory.

* Sun Sep 30 2007 Dag Wieers  - 5.2-1
- Initial package. (using DAR)