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