#global _internal_version 6091a38 %global _trans_version 2014.05.25 %global debug_package %{nil} Name: cinnamon-translations Version: 2.4.0 Release: 1%{?dist} Summary: Translations for Cinnamon and Nemo License: GPLv2+ URL: http://cinnamon.linuxmint.com # wget https://github.com/linuxmint/cinnamon-translations/tarball/%%{_internal_version} -O cinnamon-translations-%%{version}.git%%{_internal_version}.tar.gz Source0: http://leigh123linux.fedorapeople.org/pub/%{name}/source/%{name}-%{version}.tar.gz Source1: http://packages.linuxmint.com/pool/main/m/mint-translations/mint-translations_%{_trans_version}.tar.gz BuildArch: noarch %description Translations for Cinnamon, Nemo and Mintlocale %prep %setup -q tar -xf %{SOURCE1} %build make %install # install mint translations for mintlocale find mint-translations-%{_trans_version}/ -not -name 'mintlocale.mo' -type f -exec rm -f {} ';' cp -r mint-translations-%{_trans_version}/%{_datadir}/linuxmint/locale/* usr/share/locale/ install -m 0755 -d $RPM_BUILD_ROOT%{_datadir}/cinnamon/locale/ cp -Rp usr/share/locale/* $RPM_BUILD_ROOT%{_datadir}/cinnamon/locale/ rm $RPM_BUILD_ROOT%{_datadir}/cinnamon/locale/*/LC_MESSAGES/cinnamon-bluetooth.mo %find_lang cinnamon %find_lang mintlocale %find_lang nemo %find_lang cinnamon-control-center %find_lang cinnamon-screensaver %find_lang cinnamon-session %files -f cinnamon.lang -f nemo.lang -f cinnamon-control-center.lang -f cinnamon-screensaver.lang -f cinnamon-session.lang -f mintlocale.lang %doc COPYING %dir %{_datadir}/cinnamon/ %dir %{_datadir}/cinnamon/locale/ %changelog * Fri Oct 31 2014 Leigh Scott - 2.4.0-1 - update to 2.4.0 * Sat Jun 07 2014 Fedora Release Engineering - 2.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Leigh Scott - 2.2.3-2 - move mintlocale translations * Tue May 27 2014 Leigh Scott - 2.2.3-1 - update to 2.2.3 - add mintlocale translations * Tue May 20 2014 Leigh Scott - 2.2.2-1 - update to 2.2.2 * Wed May 07 2014 Leigh Scott - 2.2.1-1 - update to 2.2.1 * Mon Apr 14 2014 Leigh Scott - 2.2.0-1 - update to 2.2.0 * Sun Nov 10 2013 Leigh Scott - 2.0.2-1 - update to 2.0.2 * Thu Oct 17 2013 Leigh Scott - 2.0.1-2 - co-own cinnamon locale directories - remove requires cinnamon * Wed Oct 09 2013 Leigh Scott - 2.0.1-1 - update to 2.0.1 * Wed Oct 02 2013 Leigh Scott - 2.0.0-1 - update to 2.0.0 * Sun Sep 15 2013 Leigh Scott - 1.9.2-0.4.git6091a38 - update to latest git * Sat Aug 24 2013 Leigh Scott - 1.9.2-0.3.git444eac5 - add cinnamon-control-center files * Fri Aug 23 2013 Leigh Scott - 1.9.2-0.2.git9c15ee5 - update to latest git * Fri Aug 23 2013 Leigh Scott - 1.9.2-0.1.git28b56a7 - Initial build