From 6f2473f00e13d9d204c62a06a005e640650a067e Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Nov 21 2012 04:08:21 +0000 Subject: clean up and improve the spec file. --- diff --git a/fonts-tweak-tool.spec b/fonts-tweak-tool.spec index 11dc7fe..a29f49c 100644 --- a/fonts-tweak-tool.spec +++ b/fonts-tweak-tool.spec @@ -1,6 +1,6 @@ Name: fonts-tweak-tool Version: 0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool for customizing fonts per language Group: User Interface/Desktops @@ -12,6 +12,7 @@ BuildArch: noarch BuildRequires: python-setuptools BuildRequires: desktop-file-utils BuildRequires: intltool +BuildRequires: python3-devel Requires: libeasyfc-gobject Requires: pygobject3 Requires: gtk3 @@ -30,20 +31,23 @@ using fontconfig. make %install -#rm -rf $RPM_BUILD_ROOT -#%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications fonts-tweak-tool.desktop -make install DESTDIR=${RPM_BUILD_ROOT} +make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="/usr/bin/install -p" -%files +%find_lang %{name} + +%files -f %{name}.lang %doc README COPYING AUTHORS -%{python_sitelib}/* -%{_bindir}/* -%{_datadir}/* -#%{_datadir}/%{name} -#%{_datadir}/applications +%{_bindir}/%{name} +%{python_sitelib}/*.egg-info +%{python_sitelib}/fontstweak +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop %changelog +* Wed Nov 21 2012 Akira TAGOH - 0.1.1-2 +- clean up and improve the spec file. + * Mon Oct 22 2012 Akira TAGOH - 0.1.1-1 - New upstream release. - Drop the unnecessary warnings (#859455)