Name: autohint-onoff Version: 1.7 Release: %mkrel 4 Group: System/Configuration Summary: A Qt dialog to disable/enable autohint License: GPLv3 URL: http://glenbox.free.fr/autohint-onoff/ Source0: %{name}-%{version}.tar.gz Patch0: autohint-onoff-1.6-mga-translations-path.patch Patch1: autohint-onoff-1.7-mga-desktop-file.patch BuildArch: noarch BuildRequires: pkgconfig(QtCore) BuildRequires: python-qt4-devel BuildRequires: python3 Requires: python3-qt4 Requires: qt4-common Requires: python3-sip Requires: python3-lxml Recommends: oxygen-icon-theme %description This tool helps to enable/disable the autohint for the fonts %prep %setup -q %apply_patches %build %__python3 setup.py %install chmod +x autohint-onoff.py %__mkdir -p %{buildroot}/%{_datadir}/%{name}/translations/ %__install -D autohint-onoff.py %{buildroot}%{_bindir}/%{name} %__install -D -m 644 autohint-onoff.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %__install -D translations/*.qm %{buildroot}/%{_datadir}/%{name}/translations/ # Add translations tags (cd %{buildroot} && find . -name '*.qm') | sed -e 's|^.||' | sed -e \ 's:\(.*/translations/\)\([a-z-]\+_\)\([a-zA-Z]\+\)\(\.qm\):%lang(\3) \1\2\3\4:' >> %{name}.lang %files -f %{name}.lang %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %changelog * Tue Jan 06 2015 alexl <alexl> 1.7-4.mga5 + Revision: 808830 - updated desktop file (merged with lxde-ctrl-center) * Wed Oct 15 2014 umeabot <umeabot> 1.7-3.mga5 + Revision: 747606 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.7-2.mga5 + Revision: 678060 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Thu May 01 2014 dglent <dglent> 1.7-1.mga5 + Revision: 619243 - New version 1.7 - Enable the doubleclic in the list * Sun Apr 20 2014 dglent <dglent> 1.6-1.mga5 + Revision: 617112 - Version 1.6 - Patch for translations path when file is in /usr/bin - Change path in desktop file * Fri Apr 18 2014 dglent <dglent> 1.5-1.mga5 + Revision: 616262 - Version 1.5 - Fix path of qt translations * Fri Apr 18 2014 dglent <dglent> 1.4.1-1.mga5 + Revision: 616040 - New version 1.4.1 - Add Ukrainian qt translation * Fri Apr 18 2014 dglent <dglent> 1.4-1.mga5 + Revision: 616019 - New version 1.4 - Translations for Russian and Ukrainian - imported package autohint-onoff * Thu Apr 17 2014 Dimitrios Glentadakis <dglent@free.fr> 1.3-1mgr5 - Add translations support * Wed Apr 16 2014 Dimitrios Glentadakis <dglent@free.fr> 1.2-1mgr5 - Handle the case of missing 'fontconfig' folder ending in a freeze of dialog * Sun Apr 13 2014 Dimitrios Glentadakis <dglent@free.fr> 1.1-1mgr5 - Handle the case of missing 'fontconfig' folder ending in a freeze of dialog * Sat Apr 12 2014 Dimitrios Glentadakis <dglent@free.fr> 1.0-2mgr5 - Add missing dependancy python3-lxml * Fri Apr 11 2014 Dimitrios Glentadakis <dglent@free.fr> 1.0-1mgr5 - First version of the program