%{?drupal7_find_provides_and_requires}
%global module_name entity_translation
%global pre_release beta3
Name: drupal7-%{module_name}
Version: 1.0
Release: 0.4.%{pre_release}%{?dist}
Summary: Allows entities to be translated into different languages
Group: Applications/Publishing
License: GPLv2+
URL: http://drupal.org/project/%{module_name}
Source0: http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}-%{pre_release}.tar.gz
Source1: %{name}-RPM-README.txt
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: drupal7-rpmbuild >= 7.22-5
Requires: drupal7-i18n
#Requires: drupal7(i18n)
#Requires: drupal7(i18n_menu)
Requires: drupal7(locale)
# phpci
Requires: php-date
Requires: php-pcre
Requires: php-pdo
Requires: php-spl
%description
Allows (fieldable) entities to be translated into different languages,
by introducing entity/field translation for the new translatable fields
capability in Drupal 7. Maintained by the Drupal core i18n team.
This project does not replace the Internationalization
(http://drupal.org/project/i18n) project, which focuses on enabling a full
multilingual workflow for site admins/builders. Some features, e.g. content
language negotiation or taxonomy translation, might overlap but most of them
are unrelated.
This package provides the following Drupal modules:
* %{module_name}
* %{module_name}_i18n_menu
* %{module_name}_upgrade
%prep
%setup -q -n %{module_name}
cp -p %{SOURCE1} .
%build
# Empty build section, nothing to build
%install
rm -rf %{buildroot}
mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc *.txt
%{drupal7_modules}/%{module_name}
%exclude %{drupal7_modules}/%{module_name}/*.txt
%changelog
* Thu Aug 08 2013 Peter Borsa <peter.borsa@gmail.com> - 1.0-0.4.beta3
- Update to upstream 1.0-beta3 release for bug fixes
- Upstream changelog for this release is available at https://drupal.org/node/2048665
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.beta2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Jun 16 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.0-0.2.beta2
- Updated for drupal7-rpmbuild 7.22-5
* Fri May 03 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.0-0.1.beta2
- Initial package