|
@@ -1,23 +1,33 @@
|
|
|
Name: font-manager
|
|
|
-Version: 0.5.7
|
|
|
-Release: 4%{?_dist_release}
|
|
|
+Version: 0.7.2
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Summary: A font management application for the GNOME desktop environment
|
|
|
Summary(ja): GNOME デスクトップ環境のフォント管理アプリケーション
|
|
|
#BuildArch: noarch
|
|
|
Group: Applications/Publishing
|
|
|
License: GPLv3+
|
|
|
-URL: http://code.google.com/p/font-manager
|
|
|
-Source0: http://font-manager.googlecode.com/files/%{name}-%{version}.tar.bz2
|
|
|
-Patch0: 1001-gcc47.patch
|
|
|
+URL: http://fontmanager.github.io/
|
|
|
+Source0: https://github.com/FontManager/master/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
|
|
+#Patch0: 1001-gcc47.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Requires: fontconfig libxml2-python pygtk2 pygobject gucharmap file-roller
|
|
|
-Requires: pycairo yelp sqlite3
|
|
|
+
|
|
|
+BuildRequires: cairo-devel
|
|
|
BuildRequires: desktop-file-utils
|
|
|
-BuildRequires: python-devel
|
|
|
+BuildRequires: file-roller
|
|
|
BuildRequires: fontconfig-devel
|
|
|
+BuildRequires: freetype2-devel
|
|
|
+BuildRequires: glib2-devel
|
|
|
+BuildRequires: gtk3-devel
|
|
|
+BuildRequires: gucharmap-devel
|
|
|
+BuildRequires: json-glib-devel
|
|
|
+BuildRequires: libgee-devel
|
|
|
+BuildRequires: libgee-vala
|
|
|
+BuildRequires: libxml2-devel
|
|
|
BuildRequires: pango-devel
|
|
|
BuildRequires: sqlite3-devel
|
|
|
+BuildRequires: vala
|
|
|
+BuildRequires: yelp-tools
|
|
|
|
|
|
%description
|
|
|
Font Manager is an application that allows users to easily manage fonts
|
|
@@ -37,31 +47,43 @@ GNOME デスクトップ環境を念頭において設計していますが、
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch0 -p1
|
|
|
+#%patch0 -p1
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
-make %{?_smp_mflags}
|
|
|
+%configure --disable-schemas-compile
|
|
|
+#make %{?_smp_mflags}
|
|
|
+make
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
-desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/font-manager.desktop
|
|
|
-desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/font-sampler.desktop
|
|
|
+
|
|
|
+%find_lang %{name}
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%files
|
|
|
+%posttrans
|
|
|
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
+
|
|
|
+%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc ChangeLog COPYING TODO README
|
|
|
-%{_bindir}/*
|
|
|
-%{_libdir}/font-manager/
|
|
|
-%{_datadir}/font-manager/
|
|
|
-%{_datadir}/applications/font-manager.desktop
|
|
|
-%{_datadir}/applications/font-sampler.desktop
|
|
|
+%doc COPYING README
|
|
|
+%{_bindir}/%{name}
|
|
|
+%{_datadir}/appdata/font-manager.appdata.xml
|
|
|
+%{_datadir}/applications/org.gnome.FontManager.desktop
|
|
|
+%{_datadir}/dbus-1/services/org.gnome.FontManager.service
|
|
|
+%{_datadir}/glib-2.0/schemas/org.gnome.FontManager.gschema.xml
|
|
|
+%{_datadir}/help/C/%{name}/*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 27 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1
|
|
|
+- new upstream release
|
|
|
+- changed URL, Source0
|
|
|
+- deleted Patch0
|
|
|
+- corrected BuildRequires
|
|
|
+- did not run %%{?_smp_flags} in %%build
|
|
|
+
|
|
|
* Sat May 31 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.7-4
|
|
|
- added Patch0 to fix build error from Debian
|
|
|
|