James Ni 60ff03
Name: fonts-tweak-tool
Akira TAGOH 16385b
Version: 0.3.2
Dennis Gilmore b95544
Release: 9%{?dist}
James Ni 60ff03
Summary: Tool for customizing fonts per language
James Ni 60ff03
James Ni 60ff03
Group: User Interface/Desktops
James Ni 60ff03
License: LGPLv3+
Akira TAGOH 0d46db
URL: https://bitbucket.org/tagoh/%{name}/
Akira TAGOH 0d46db
Source0: https://bitbucket.org/tagoh/%{name}/downloads/%{name}-%{version}.tar.bz2
James Ni 60ff03
James Ni 60ff03
BuildRequires: desktop-file-utils
James Ni 52191e
BuildRequires: intltool
Akira TAGOH 23fcf0
BuildRequires: python-devel
Akira TAGOH 2636bb
BuildRequires: gobject-introspection-devel glib2-devel
Akira TAGOH 2636bb
Requires: libeasyfc-gobject >= 0.12.1
James Ni 60ff03
Requires: pygobject3
James Ni 60ff03
Requires: gtk3
James Ni 60ff03
Requires: hicolor-icon-theme
James Ni 60ff03
Akira TAGOH 188143
Patch0: %{name}-sitearchdir.patch
Akira TAGOH 756a82
Patch1: %{name}-fix-deprecation.patch
Akira TAGOH 48c0ab
James Ni 60ff03
%description
James Ni 60ff03
fonts-tweak-tool is a GUI tool for customizing fonts per language on desktops
Akira TAGOH 7f5749
using fontconfig.
James Ni 60ff03
James Ni 60ff03
%prep
James Ni 60ff03
%setup -q
Akira TAGOH 48c0ab
%patch0 -p1 -b .0-sitearch
Akira TAGOH 756a82
%patch1 -p1 -b .1-deprecation
Akira TAGOH 48c0ab
Akira TAGOH 48c0ab
autoreconf -f -i
Akira TAGOH 7f5749
%configure --disable-static
James Ni 60ff03
James Ni 60ff03
%build
Akira TAGOH 7f5749
make %{?_smp_mflags}
James Ni 60ff03
James Ni 60ff03
%install
jamesni 07bb33
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications fonts-tweak-tool.desktop
Akira TAGOH 6f2473
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="/usr/bin/install -p"
James Ni 60ff03
Richard Hughes 98412f
# Register as an application to be visible in the software center
Richard Hughes 98412f
#
Richard Hughes 98412f
# NOTE: It would be *awesome* if this file was maintained by the upstream
Richard Hughes 98412f
# project, translated and installed into the right place during `make install`.
Richard Hughes 98412f
#
Richard Hughes 98412f
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
Richard Hughes 98412f
#
Richard Hughes 98412f
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
Richard Hughes 98412f
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
Richard Hughes 98412f
Richard Hughes 98412f
Richard Hughes 98412f
Richard Hughes 98412f
BugReportURL: https://bitbucket.org/tagoh/fonts-tweak-tool/issue/2
Richard Hughes 98412f
SentUpstream: 2014-09-17
Richard Hughes 98412f
-->
Richard Hughes 98412f
<application>
Richard Hughes 98412f
  <id type="desktop">fonts-tweak-tool.desktop</id>
Richard Hughes 98412f
  <metadata_license>CC0-1.0</metadata_license>
Richard Hughes 98412f
  <summary>Advanced settings for font display on the desktop</summary>
Richard Hughes 98412f
  <description>
Richard Hughes 98412f
    

Richard Hughes 98412f
      The Fonts Tweak Tool is a utility application that allows you to further change the
Richard Hughes 98412f
      font configuration on your system. GNOME Tweak Tool allows you to configure and change
Richard Hughes 98412f
      the default font on your system, but the Fonts Tweak Tool goes further. It allows you to
Richard Hughes 98412f
      set specific default fonts for different lanugaues, set hinting and font rendering options
Richard Hughes 98412f
      on a per-font basis, and specify global font substitutions.
Richard Hughes 98412f
    

Richard Hughes 98412f
  </description>
Richard Hughes 98412f
  <url type="homepage">https://bitbucket.org/tagoh/fonts-tweak-tool/</url>
Richard Hughes 98412f
  <screenshots>
Richard Hughes 98412f
    <screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/fonts-tweak-tool/a.png</screenshot>
Richard Hughes 98412f
    <screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/fonts-tweak-tool/b.png</screenshot>
Richard Hughes 98412f
  </screenshots>
Richard Hughes 98412f
</application>
Richard Hughes 98412f
EOF
Richard Hughes 98412f
Akira TAGOH 7f5749
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
Akira TAGOH 7f5749
rm -f $RPM_BUILD_ROOT%{_datadir}/gir-*/FontsTweak-*.gir
Akira TAGOH 7f5749
Akira TAGOH 6f2473
%find_lang %{name}
Akira TAGOH 6f2473
Akira TAGOH 7f5749
%post -p /sbin/ldconfig
Akira TAGOH 7f5749
%postun -p /sbin/ldconfig
Akira TAGOH 7f5749
Akira TAGOH 6f2473
%files -f %{name}.lang
Akira TAGOH 7f5749
%doc README COPYING AUTHORS NEWS
Akira TAGOH 6f2473
%{_bindir}/%{name}
Akira TAGOH 0df415
%{python_sitearch}/fontstweak
Akira TAGOH 6f2473
%{_datadir}/%{name}
Richard Hughes 98412f
%{_datadir}/appdata/%{name}.appdata.xml
Akira TAGOH 6f2473
%{_datadir}/applications/%{name}.desktop
Akira TAGOH 7f5749
%{_libdir}/libfontstweak-resources.so.0*
Akira TAGOH 7f5749
%{_libdir}/girepository-*/FontsTweak-*.typelib
James Ni 60ff03
James Ni 60ff03
%changelog
Dennis Gilmore b95544
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-9
Dennis Gilmore b95544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Dennis Gilmore b95544
Dennis Gilmore 3e0767
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-8
Dennis Gilmore 3e0767
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Dennis Gilmore 3e0767
Richard Hughes 98412f
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.3.2-7
Richard Hughes 98412f
- Add an AppData file for the software center
Richard Hughes 98412f
Akira TAGOH 756a82
* Thu Sep  4 2014 Akira TAGOH <tagoh@redhat.com> - 0.3.2-6
Akira TAGOH 756a82
- Fix PyGTKDeprecationWarnings. (#1136177)
Akira TAGOH 756a82
Peter Robinson 52b1a4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-5
Peter Robinson 52b1a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson 52b1a4
Kalev Lember 5bbcd8
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.3.2-4
Kalev Lember 5bbcd8
- Rebuilt for gobject-introspection 1.41.4
Kalev Lember 5bbcd8
Dennis Gilmore e05a26
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3
Dennis Gilmore e05a26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Dennis Gilmore e05a26
Akira TAGOH 48c0ab
* Fri Feb  7 2014 Akira TAGOH <tagoh@redhat.com> - 0.3.2-2
Akira TAGOH 48c0ab
- Fix the installation path for python scripts (#1062560)
Akira TAGOH 48c0ab
Akira TAGOH 16385b
* Wed Jul 31 2013 Akira TAGOH <tagoh@redhat.com> - 0.3.2-1
Akira TAGOH 16385b
- New upstream release.
Akira TAGOH 16385b
Akira TAGOH a68f7e
* Thu Apr 18 2013 Akira TAGOH <tagoh@redhat.com> - 0.3.1-1
Akira TAGOH a68f7e
- New upstream release.
Akira TAGOH a68f7e
  - Fix a crash. (#952983)
Akira TAGOH a68f7e
Akira TAGOH 2636bb
* Fri Mar 29 2013 Akira TAGOH <tagoh@redhat.com> - 0.3.0-1
Akira TAGOH 2636bb
- New upstream release.
Akira TAGOH 2636bb
Akira TAGOH 7f5749
* Tue Feb 26 2013 Akira TAGOH <tagoh@redhat.com> - 0.2.0-1
Akira TAGOH 7f5749
- New upstream release.
Akira TAGOH 7f5749
  - Improve UI (#909769)
Akira TAGOH 7f5749
Dennis Gilmore 2ce396
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-2
Dennis Gilmore 2ce396
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore 2ce396
Akira TAGOH 2867d2
* Tue Jan 22 2013 Akira TAGOH <tagoh@redhat.com> - 0.1.5-1
Akira TAGOH 2867d2
- New upstream release.
Akira TAGOH 2867d2
  - Updated translations (#816378)
Akira TAGOH 2867d2
Akira TAGOH 0d46db
* Tue Dec 18 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.4-1
Akira TAGOH 0d46db
- New upstream release.
Akira TAGOH 0d46db
  - Fix file writing issue when the classification filter is turned off.
Akira TAGOH 0d46db
    (#886330)
Akira TAGOH 0d46db
Akira TAGOH 119ea6
* Sat Nov 24 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.2-1
Akira TAGOH 119ea6
- New upstream release
Akira TAGOH 119ea6
  - Fix broken icons issue on non-GNOME desktops (#879140)
Akira TAGOH 119ea6
Akira TAGOH 23fcf0
* Wed Nov 21 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.1-3
Akira TAGOH 23fcf0
- Fix a typo
Akira TAGOH 23fcf0
Akira TAGOH 6f2473
* Wed Nov 21 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.1-2
Akira TAGOH 6f2473
- clean up and improve the spec file.
Akira TAGOH 6f2473
Akira TAGOH 06b89d
* Mon Oct 22 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.1-1
Akira TAGOH 06b89d
- New upstream release.
Akira TAGOH 06b89d
  - Drop the unnecessary warnings (#859455)
Akira TAGOH 06b89d
Akira TAGOH 135458
* Wed Sep 19 2012 Akira TAGOH <tagoh@redhat.com> - 0.1.0-1
Akira TAGOH 135458
- New upstream release.
Akira TAGOH 135458
jamesni 752ce8
* Mon Aug 06 2012 James Ni <kent.neo@gmail.com> - 0.0.8-1
jamesni 752ce8
- Apply pull request from tagoh
jamesni 752ce8
James Ni f0e1c4
* Tue Jul 24 2012 James Ni <kent.neo@gmail.com> - 0.0.7-1
James Ni f0e1c4
- Fixed rhbz#838871, Apply button is always clickable
James Ni f0e1c4
- Fixed rhbz#838854, existing settings in .i18n isn't reflected to initial value
James Ni f0e1c4
- Fixed rhbz#838865, Unable to remove language in GTK Language Order tab
James Ni f0e1c4
- Fixed rhbz#838850 - empty language added to .i18n
James Ni f0e1c4
Dennis Gilmore db7053
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
Dennis Gilmore db7053
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore db7053
James Ni 684d68
* Wed Jun 27 2012 James Ni <jni@redhat.com> - 0.0.6-1
James Ni 684d68
- Implement pango_language feature and bug fix
James Ni 684d68
James Ni 29d2c4
* Tue Mar 20 2012 James Ni <jni@redhat.com> - 0.0.5-1
James Ni 29d2c4
- Fix issue of 'UnicodeWarning: Unicode equal comparison failed'
James Ni 29d2c4
James Ni 6162c3
* Mon Mar 19 2012 James Ni <jni@redhat.com> - 0.0.4-1
James Ni 6162c3
- Bug fix and feature enhancement
James Ni 6162c3
James Ni 52191e
* Thu Feb 23 2012 James Ni <jni@redhat.com> - 0.0.3-1
James Ni 52191e
- Fix the issue of spec file
James Ni 52191e
James Ni 60ff03
* Fri Feb 17 2012 James Ni <jni@redhat.com> - 0.0.2-3
James Ni 60ff03
- Fix the issue of spec file
James Ni 60ff03
James Ni 60ff03
* Wed Feb 08 2012 James Ni <jni@redhat.com> - 0.0.2-2
James Ni 60ff03
- Fix the issue of spec file
James Ni 60ff03
James Ni 60ff03
* Tue Feb 07 2012 James Ni <jni@redhat.com> - 0.0.2-1
James Ni 60ff03
- Update the licenses file and modify the spec file
James Ni 60ff03
James Ni 60ff03
* Mon Feb 06 2012 James Ni <jni@redhat.com> - 0.0.1-1
James Ni 60ff03
- initial package