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
This commit is contained in:
Marguerite Su 2013-11-14 09:08:28 +00:00 committed by Git OBS Bridge
parent 7ab0d51489
commit 30c05c7441
2 changed files with 34 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 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 License: BSD-3-Clause
Group: Productivity/Graphics/Vector Editors Group: Productivity/Graphics/Vector Editors
Url: http://fontforge.org/ Url: http://fontforge.org/
Source0: http://downloads.sourceforge.net/%{name}/%{name}_full-%{src_version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{name}/%{name}_full-%{src_version}.tar.bz2
Source1: http://downloads.sourceforge.net/%{name}/%{name}_htdocs-%{src_version}.tar.bz2 Source1: http://downloads.sourceforge.net/%{name}/%{name}_htdocs-%{src_version}.tar.bz2
# PATCH-FIX-OPENSUSE -- set path to documentation # 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 can convert among PostScript (ASCII & binary Type 1, some Type 3s, and
some Type 0s), TrueType, OpenType (Type2), and CID-keyed fonts. 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 %package devel
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/Other Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: freetype2-devel Requires: freetype2-devel
%description 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. to develop applications that use FontForge libraries.
%prep %prep
@ -141,7 +160,6 @@ popd
%files -f FontForge.lang %files -f FontForge.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS VERSION LICENSE README-unix docs/
%{_bindir}/* %{_bindir}/*
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{_datadir}/fontforge/ %{_datadir}/fontforge/
@ -150,11 +168,14 @@ popd
%{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}.png
%py_sitedir/* %py_sitedir/*
%files doc
%defattr(-,root,root)
%doc AUTHORS VERSION LICENSE README-unix docs/
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%dir %{_includedir}/fontforge/ %{_includedir}/fontforge/
%{_includedir}/fontforge/* %{_libdir}/pkgconfig/*.pc
%{_libdir}/pkgconfig/*
%{_libdir}/lib*.so %{_libdir}/lib*.so
%changelog %changelog