forked from pool/gettext-runtime
Accepting request 204017 from home:jengelh:branches:Base:System
- Split extra documentation in /usr/share/doc into separate subpackage (over 1000 files) OBS-URL: https://build.opensuse.org/request/show/204017 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=87
This commit is contained in:
parent
14c05257d5
commit
ce1c28c4b0
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 20 11:01:11 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Split extra documentation in /usr/share/doc into separate
|
||||
subpackage
|
||||
- Substitute %_prefix/share => %_datadir and
|
||||
%_defaultdocdir/%name => %_docdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 08:56:35 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -100,6 +100,16 @@ in editing these catalogs (called PO files, for portable object) and
|
||||
add translations. A special compiler will turn these PO files into
|
||||
binary catalogs.
|
||||
|
||||
%package tools-doc
|
||||
Summary: HTML documentation and examples for gettext-runtime
|
||||
License: GPL-3.0+ and LGPL-2.0+
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description tools-doc
|
||||
This subpackage contains the HTML version of the gettext documentation
|
||||
as well as project examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pacname}-%{version}
|
||||
%patch
|
||||
@ -193,17 +203,17 @@ rm -rf %{buildroot}
|
||||
|
||||
%files -f gettext-runtime.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %_prefix/share/gettext
|
||||
%doc %dir %_defaultdocdir/%name
|
||||
%doc %_defaultdocdir/%name/gettext.1.html
|
||||
%doc %_defaultdocdir/%name/ngettext.1.html
|
||||
%doc %_defaultdocdir/%name/envsubst.1.html
|
||||
%doc %_defaultdocdir/%name/*.3.html
|
||||
%doc %_defaultdocdir/%name/AUTHORS
|
||||
%doc %_defaultdocdir/%name/COPYING
|
||||
%doc %_defaultdocdir/%name/NEWS
|
||||
%doc %_defaultdocdir/%name/README
|
||||
%doc %_defaultdocdir/%name/FAQ.html
|
||||
%dir %_datadir/gettext
|
||||
%doc %dir %_docdir/%name/
|
||||
%doc %_docdir/%name/gettext.1.html
|
||||
%doc %_docdir/%name/ngettext.1.html
|
||||
%doc %_docdir/%name/envsubst.1.html
|
||||
%doc %_docdir/%name/*.3.html
|
||||
%doc %_docdir/%name/AUTHORS
|
||||
%doc %_docdir/%name/COPYING
|
||||
%doc %_docdir/%name/NEWS
|
||||
%doc %_docdir/%name/README
|
||||
%doc %_docdir/%name/FAQ.html
|
||||
%_bindir/gettext
|
||||
%_bindir/ngettext
|
||||
%_bindir/envsubst
|
||||
@ -218,23 +228,15 @@ rm -rf %{buildroot}
|
||||
%doc %_mandir/man1/msgfmt.1.gz
|
||||
%doc %_mandir/man3/*
|
||||
%_datadir/gettext/ABOUT-NLS
|
||||
%dir %_prefix/share/emacs
|
||||
%dir %_prefix/share/emacs/site-lisp
|
||||
%_prefix/share/emacs/site-lisp/po-compat.*
|
||||
%_prefix/share/emacs/site-lisp/po-mode.*
|
||||
%_prefix/share/emacs/site-lisp/start-po.*
|
||||
%_prefix/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
%dir %_datadir/emacs
|
||||
%dir %_datadir/emacs/site-lisp
|
||||
%_datadir/emacs/site-lisp/po-compat.*
|
||||
%_datadir/emacs/site-lisp/po-mode.*
|
||||
%_datadir/emacs/site-lisp/start-po.*
|
||||
%_datadir/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name/examples
|
||||
%doc %_defaultdocdir/%name/auto*.html
|
||||
%doc %_defaultdocdir/%name/gettext_*.html
|
||||
%doc %_defaultdocdir/%name/gettextize*.html
|
||||
%doc %_defaultdocdir/%name/msg*.html
|
||||
%doc %_defaultdocdir/%name/tutorial*.html
|
||||
%doc %_defaultdocdir/%name/xgettext*.html
|
||||
%doc %_defaultdocdir/%name/recode-sr-latin.1.html
|
||||
%_bindir/msg[a-eg-u]*
|
||||
%_bindir/msgfilter
|
||||
%_bindir/xgettext
|
||||
@ -269,4 +271,16 @@ rm -rf %{buildroot}
|
||||
%_datadir/%pacname/archive.dir.tar.xz
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%files tools-doc
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %_docdir/%name/
|
||||
%doc %_docdir/%name/examples/
|
||||
%doc %_docdir/%name/auto*.html
|
||||
%doc %_docdir/%name/gettext_*.html
|
||||
%doc %_docdir/%name/gettextize*.html
|
||||
%doc %_docdir/%name/msg*.html
|
||||
%doc %_docdir/%name/tutorial*.html
|
||||
%doc %_docdir/%name/xgettext*.html
|
||||
%doc %_docdir/%name/recode-sr-latin.1.html
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 20 11:01:11 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Split extra documentation in /usr/share/doc into separate
|
||||
subpackage
|
||||
- Substitute %_prefix/share => %_datadir and
|
||||
%_defaultdocdir/%name => %_docdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 08:56:35 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
@ -100,6 +100,16 @@ in editing these catalogs (called PO files, for portable object) and
|
||||
add translations. A special compiler will turn these PO files into
|
||||
binary catalogs.
|
||||
|
||||
%package tools-doc
|
||||
Summary: HTML documentation and examples for gettext-runtime
|
||||
License: GPL-3.0+ and LGPL-2.0+
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description tools-doc
|
||||
This subpackage contains the HTML version of the gettext documentation
|
||||
as well as project examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pacname}-%{version}
|
||||
%patch
|
||||
@ -193,17 +203,17 @@ rm -rf %{buildroot}
|
||||
|
||||
%files -f gettext-runtime.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %_prefix/share/gettext
|
||||
%doc %dir %_defaultdocdir/%name
|
||||
%doc %_defaultdocdir/%name/gettext.1.html
|
||||
%doc %_defaultdocdir/%name/ngettext.1.html
|
||||
%doc %_defaultdocdir/%name/envsubst.1.html
|
||||
%doc %_defaultdocdir/%name/*.3.html
|
||||
%doc %_defaultdocdir/%name/AUTHORS
|
||||
%doc %_defaultdocdir/%name/COPYING
|
||||
%doc %_defaultdocdir/%name/NEWS
|
||||
%doc %_defaultdocdir/%name/README
|
||||
%doc %_defaultdocdir/%name/FAQ.html
|
||||
%dir %_datadir/gettext
|
||||
%doc %dir %_docdir/%name/
|
||||
%doc %_docdir/%name/gettext.1.html
|
||||
%doc %_docdir/%name/ngettext.1.html
|
||||
%doc %_docdir/%name/envsubst.1.html
|
||||
%doc %_docdir/%name/*.3.html
|
||||
%doc %_docdir/%name/AUTHORS
|
||||
%doc %_docdir/%name/COPYING
|
||||
%doc %_docdir/%name/NEWS
|
||||
%doc %_docdir/%name/README
|
||||
%doc %_docdir/%name/FAQ.html
|
||||
%_bindir/gettext
|
||||
%_bindir/ngettext
|
||||
%_bindir/envsubst
|
||||
@ -218,23 +228,15 @@ rm -rf %{buildroot}
|
||||
%doc %_mandir/man1/msgfmt.1.gz
|
||||
%doc %_mandir/man3/*
|
||||
%_datadir/gettext/ABOUT-NLS
|
||||
%dir %_prefix/share/emacs
|
||||
%dir %_prefix/share/emacs/site-lisp
|
||||
%_prefix/share/emacs/site-lisp/po-compat.*
|
||||
%_prefix/share/emacs/site-lisp/po-mode.*
|
||||
%_prefix/share/emacs/site-lisp/start-po.*
|
||||
%_prefix/share/emacs/site-lisp/suse-start-po-mode.el
|
||||
%dir %_datadir/emacs
|
||||
%dir %_datadir/emacs/site-lisp
|
||||
%_datadir/emacs/site-lisp/po-compat.*
|
||||
%_datadir/emacs/site-lisp/po-mode.*
|
||||
%_datadir/emacs/site-lisp/start-po.*
|
||||
%_datadir/emacs/site-lisp/suse-start-po-mode.el
|
||||
|
||||
%files -n gettext-tools%{?with_mini:-mini} -f gettext-tools.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %_defaultdocdir/%name/examples
|
||||
%doc %_defaultdocdir/%name/auto*.html
|
||||
%doc %_defaultdocdir/%name/gettext_*.html
|
||||
%doc %_defaultdocdir/%name/gettextize*.html
|
||||
%doc %_defaultdocdir/%name/msg*.html
|
||||
%doc %_defaultdocdir/%name/tutorial*.html
|
||||
%doc %_defaultdocdir/%name/xgettext*.html
|
||||
%doc %_defaultdocdir/%name/recode-sr-latin.1.html
|
||||
%_bindir/msg[a-eg-u]*
|
||||
%_bindir/msgfilter
|
||||
%_bindir/xgettext
|
||||
@ -269,4 +271,16 @@ rm -rf %{buildroot}
|
||||
%_datadir/%pacname/archive.dir.tar.xz
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%files tools-doc
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %_docdir/%name/
|
||||
%doc %_docdir/%name/examples/
|
||||
%doc %_docdir/%name/auto*.html
|
||||
%doc %_docdir/%name/gettext_*.html
|
||||
%doc %_docdir/%name/gettextize*.html
|
||||
%doc %_docdir/%name/msg*.html
|
||||
%doc %_docdir/%name/tutorial*.html
|
||||
%doc %_docdir/%name/xgettext*.html
|
||||
%doc %_docdir/%name/recode-sr-latin.1.html
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user