%define drupaldir %{_datadir}/drupal7 Name: drupal7-i18n Version: 1.1 Release: 1%{?dist} Summary: Collection of modules to extend Drupal core multilingual capabilities Group: Applications/Publishing License: GPLv2+ URL: http://drupal.org/project/i18n Source0: http://ftp.drupal.org/files/projects/i18n-7.x-%{version}.tar.gz Source1: %{name}-fedora-README.txt Source2: LICENSE.txt BuildArch: noarch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: drupal7, drupal7-variable %description This is a collection of modules to extend Drupal core multilingual capabilities and be able to build real life multilingual sites. %prep %setup -qn i18n install -p -m 0644 %{SOURCE1} . %build cp %{SOURCE2} . %install rm -rf %{buildroot} install -d %{buildroot}%{drupaldir}/modules/i18n cp -pr * %{buildroot}%{drupaldir}/modules/i18n %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE.txt README.txt %{name}-fedora-README.txt %{drupaldir}/modules/i18n %changelog * Sun Nov 6 2011 Scott Dodson <sdodson@redhat.com> - 1.1-1 - Update to 1.1 * Wed Aug 31 2011 Scott Dodson <sdodson@redhat.com> - 1.0-1 - Initial Packaging