From 30c05c7441017b986940d696bd6b719b91cb3e497ef01617c88ec5a3fc635688 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Thu, 14 Nov 2013 09:08:28 +0000 Subject: [PATCH 1/2] Accepting request 206851 from home:jengelh:branches:M17N - Put documentation into a separate subpackage OBS-URL: https://build.opensuse.org/request/show/206851 OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=29 --- fontforge.changes | 7 +++++++ fontforge.spec | 33 +++++++++++++++++++++++++++------ 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/fontforge.changes b/fontforge.changes index e058400..4da8fd4 100644 --- a/fontforge.changes +++ b/fontforge.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 14 06:59:13 UTC 2013 - jengelh@inai.de + +- Put documentation into a separate subpackage +- Spruce of description of fontforge-devel a bit +- File list simplification/exactness + ------------------------------------------------------------------- Mon Sep 9 08:48:04 UTC 2013 - coolo@suse.com diff --git a/fontforge.spec b/fontforge.spec index 1975d85..f5650a5 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -24,6 +24,7 @@ Summary: A Font Editor License: BSD-3-Clause Group: Productivity/Graphics/Vector Editors Url: http://fontforge.org/ + Source0: http://downloads.sourceforge.net/%{name}/%{name}_full-%{src_version}.tar.bz2 Source1: http://downloads.sourceforge.net/%{name}/%{name}_htdocs-%{src_version}.tar.bz2 # PATCH-FIX-OPENSUSE -- set path to documentation @@ -64,14 +65,32 @@ create new fonts or modify old ones. It also converts font formats and can convert among PostScript (ASCII & binary Type 1, some Type 3s, and some Type 0s), TrueType, OpenType (Type2), and CID-keyed fonts. +%package doc +Summary: Documentation for FontForge +Group: Documentation/HTML +%if 0%{?suse_version} >= 1230 +BuildArch: noarch +%endif + +%description doc +FontForge allows editing of outline and bitmap fonts. With it, you can +create new fonts or modify old ones. It also converts font formats and +can convert among PostScript, TrueType, OpenType, and CID-keyed fonts. + +This subpackage contains the documentation to FontForge. + %package devel Summary: Include Files and Libraries mandatory for Development -Group: Development/Libraries/Other +Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: freetype2-devel %description devel -This package contains all necessary include files and libraries needed +FontForge allows editing of outline and bitmap fonts. With it, you can +create new fonts or modify old ones. It also converts font formats and +can convert among PostScript, TrueType, OpenType, and CID-keyed fonts. + +This subpackage contains all necessary include files and libraries needed to develop applications that use FontForge libraries. %prep @@ -141,7 +160,6 @@ popd %files -f FontForge.lang %defattr(-,root,root) -%doc AUTHORS VERSION LICENSE README-unix docs/ %{_bindir}/* %{_libdir}/lib*.so.* %{_datadir}/fontforge/ @@ -150,11 +168,14 @@ popd %{_datadir}/pixmaps/%{name}.png %py_sitedir/* +%files doc +%defattr(-,root,root) +%doc AUTHORS VERSION LICENSE README-unix docs/ + %files devel %defattr(-, root, root) -%dir %{_includedir}/fontforge/ -%{_includedir}/fontforge/* -%{_libdir}/pkgconfig/* +%{_includedir}/fontforge/ +%{_libdir}/pkgconfig/*.pc %{_libdir}/lib*.so %changelog From 974f6caae114487ad02594e4de5696475ba796e5d4d61909e0445bbd8a63b90c Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Sat, 7 Dec 2013 06:41:27 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/M17N/fontforge?expand=0&rev=30 --- fontforge.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/fontforge.spec b/fontforge.spec index f5650a5..24849c5 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -160,6 +160,7 @@ popd %files -f FontForge.lang %defattr(-,root,root) +%doc LICENSE %{_bindir}/* %{_libdir}/lib*.so.* %{_datadir}/fontforge/