Accepting request 209716 from M17N

- Put documentation into a separate subpackage (forwarded request 206851 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/209716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontforge?expand=0&rev=32
This commit is contained in:
Stephan Kulow 2013-12-09 06:05:23 +00:00 committed by Git OBS Bridge
commit c45283315e
2 changed files with 35 additions and 6 deletions

View File

@ -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

View File

@ -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,7 @@ popd
%files -f FontForge.lang
%defattr(-,root,root)
%doc AUTHORS VERSION LICENSE README-unix docs/
%doc LICENSE
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_datadir}/fontforge/
@ -150,11 +169,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