Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 800c022e767c60d6d1a06297e5ea0900 > files > 4

autohint-onoff-1.7-9.mga7.src.rpm

Name:           autohint-onoff
Version:        1.7
Release:        %mkrel 9
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
%autopatch -p1

%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 Sep 18 2018 umeabot <umeabot> 1.7-9.mga7
  (not released yet)
+ Revision: 1261853
- Mageia 7 Mass Rebuild

* Tue Sep 18 2018 umeabot <umeabot> 1.7-8.mga7
+ Revision: 1260026
- Mageia 7 Mass Rebuild

* Mon Jun 27 2016 akien <akien> 1.7-7.mga6
+ Revision: 1037822
- Rebuild in core/release

* Sat Jun 25 2016 akien <akien> 1.7-6.mga6
+ Revision: 1037525
- Rebuild for python-sip 4.18

* Tue Feb 09 2016 umeabot <umeabot> 1.7-5.mga6
+ Revision: 951673
- Mageia 6 Mass Rebuild

* 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