diff --git a/.gitignore b/.gitignore index e69de29..92e3c82 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/translation_overview-7.x-2.0-beta1.tar.gz diff --git a/drupal7-translation_overview-RPM-README.txt b/drupal7-translation_overview-RPM-README.txt new file mode 100644 index 0000000..e15a506 --- /dev/null +++ b/drupal7-translation_overview-RPM-README.txt @@ -0,0 +1,5 @@ +After installation, you must enable this module from the Drupal administration +page. + +If upgrading this module separately from the core Drupal package, be sure to +run the http://hostname/drupal7/upgrade.php script after this RPM is upgraded. diff --git a/drupal7-translation_overview.spec b/drupal7-translation_overview.spec new file mode 100644 index 0000000..61b1dcb --- /dev/null +++ b/drupal7-translation_overview.spec @@ -0,0 +1,68 @@ +%{?drupal7_find_provides_and_requires} + +%global module_name translation_overview +%global pre_release beta1 + +Name: drupal7-%{module_name} +Version: 2.0 +Release: 0.2.%{pre_release}%{?dist} +Summary: Provides an overview of the translation status of site's content + +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(translation) +# phpci +Requires: php-pcre + +%description +The Translation Overview page provides a table listing the site's nodes and +showing what's been translated into each language. It also lets you assign +priorities for translating nodes into the various languages. + +For translations of taxonomy terms and menu items check out the Translation +table (http://drupal.org/project/translation_table) module. + +This package provides the following Drupal modules: +* %{module_name} + + +%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 +* Sun Jun 09 2013 Shawn Iwinski 2.0-0.2.beta1 +- Updated for drupal7-rpmbuild 7.22-5 + +* Fri May 03 2013 Shawn Iwinski 2.0-0.1.beta1 +- Initial package diff --git a/sources b/sources index e69de29..7426a96 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +630815f9472fb23c4bcce1db0e550bbd translation_overview-7.x-2.0-beta1.tar.gz