Shawn Iwinski eb0ce2e
%{?drupal7_find_provides_and_requires}
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%global module_name transliteration
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Name:          drupal7-%{module_name}
Peter Borsa 75629b6
Version:       3.2
Peter Borsa 75629b6
Release:       1%{?dist}
Shawn Iwinski eb0ce2e
Summary:       Converts non-Latin text to US-ASCII and sanitizes file names
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Group:         Applications/Publishing
Shawn Iwinski eb0ce2e
License:       GPLv2+
Shawn Iwinski eb0ce2e
URL:           http://drupal.org/project/%{module_name}
Shawn Iwinski eb0ce2e
Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
Shawn Iwinski eb0ce2e
Source1:       %{name}-RPM-README.txt
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
BuildArch:     noarch
Shawn Iwinski eb0ce2e
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Shawn Iwinski eb0ce2e
BuildRequires: drupal7-rpmbuild >= 7.22-5
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
# phpci
Shawn Iwinski eb0ce2e
Requires:      php-pcre
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%description
Shawn Iwinski eb0ce2e
Provides one-way string transliteration (romanization) and cleans file names
Shawn Iwinski eb0ce2e
during upload by replacing unwanted characters.
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Generally spoken, it takes Unicode text and tries to represent it in US-ASCII
Shawn Iwinski eb0ce2e
characters (universally displayable, unaccented characters) by attempting to
Shawn Iwinski eb0ce2e
transliterate the pronunciation expressed by the text in some other writing
Shawn Iwinski eb0ce2e
system to Roman letters.
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
This package provides the following Drupal module:
Shawn Iwinski eb0ce2e
* %{module_name}
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%prep
Shawn Iwinski eb0ce2e
%setup -q -n %{module_name}
Shawn Iwinski eb0ce2e
cp -p %{SOURCE1} .
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%build
Shawn Iwinski eb0ce2e
# Empty build section, nothing to build
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%install
Shawn Iwinski eb0ce2e
rm -rf %{buildroot}
Shawn Iwinski eb0ce2e
mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
Shawn Iwinski eb0ce2e
cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}/
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%clean
Shawn Iwinski eb0ce2e
rm -rf %{buildroot}
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%files
Shawn Iwinski eb0ce2e
%defattr(-,root,root,-)
Shawn Iwinski eb0ce2e
%doc *.txt
Shawn Iwinski eb0ce2e
%{drupal7_modules}/%{module_name}
Shawn Iwinski eb0ce2e
%exclude %{drupal7_modules}/%{module_name}/*.txt
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
%changelog
Peter Borsa 75629b6
* Sun May 11 2014 Peter Borsa <peter.borsa@gmail.com> - 3.2-1
Peter Borsa 75629b6
- Update to upstream 3.2 release for bug fixes
Peter Borsa 75629b6
- Upstream changelog for this release is available at https://drupal.org/node/2219695
Peter Borsa 75629b6
d65ab00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-3
d65ab00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d65ab00
Shawn Iwinski eb0ce2e
* Sun Jun 16 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 3.1-2
Shawn Iwinski eb0ce2e
- Updated for drupal7-rpmbuild 7.22-5
Shawn Iwinski eb0ce2e
Shawn Iwinski eb0ce2e
* Fri May 03 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 3.1-1
Shawn Iwinski eb0ce2e
- Initial package