packages: t1lib/t1lib.spec - move docs from base package to -doc - R(post) ...

glen glen at pld-linux.org
Wed Jun 22 16:51:16 CEST 2011


Author: glen                         Date: Wed Jun 22 14:51:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- move docs from base package to -doc
- R(post) ldconfig for sake of completeness

---- Files affected:
packages/t1lib:
   t1lib.spec (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: packages/t1lib/t1lib.spec
diff -u packages/t1lib/t1lib.spec:1.84 packages/t1lib/t1lib.spec:1.85
--- packages/t1lib/t1lib.spec:1.84	Wed Jun 22 16:44:32 2011
+++ packages/t1lib/t1lib.spec	Wed Jun 22 16:51:11 2011
@@ -42,6 +42,7 @@
 %endif
 Requires:	findutils
 Requires:	fontpostinst >= 0.1-6
+Requires(post):	/sbin/ldconfig
 Obsoletes:	libt1lib1.3.1
 Obsoletes:	libt1lib1.3.1-progs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -173,6 +174,22 @@
 %description static -l uk.UTF-8
 Статична бібліотека для програмування з t1lib.
 
+%package doc
+Summary:	Manual for t1lib
+Summary(fr.UTF-8):	Documentation pour t1lib
+Summary(it.UTF-8):	Documentazione di t1lib
+Summary(pl.UTF-8):	Podręcznik dla t1lib
+Group:		Documentation
+
+%description doc
+Documentation for t1lib.
+
+%description doc -l fr.UTF-8
+Documentation pour t1lib.
+
+%description doc -l it.UTF-8
+Documentazione di t1lib.
+
 %package x
 Summary:	libt1x library (X11 XImage interface)
 Summary(pl.UTF-8):	Biblioteka libt1x (interfejs X11 XImage)
@@ -306,7 +323,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README.t1* doc/*.{tex,eps,fig} %{?with_doc:doc/*.dvi}
+%doc Changes README.t1*
 %attr(755,root,root) %{_bindir}/type1afm
 %attr(755,root,root) %{_bindir}/t1libconfig
 %attr(755,root,root) %{_libdir}/libt1.so.*.*.*
@@ -329,6 +346,12 @@
 %defattr(644,root,root,755)
 %{_libdir}/libt1.a
 
+%if %{with doc}
+%files doc
+%defattr(644,root,root,755)
+%doc doc/*.{tex,eps,fig} %{?with_doc:doc/*.dvi}
+%endif
+
 %files x
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libt1x.so.*.*.*
@@ -361,6 +384,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85  2011/06/22 14:51:11  glen
+- move docs from base package to -doc
+- R(post) ldconfig for sake of completeness
+
 Revision 1.84  2011/06/22 14:44:32  glen
 - R: findutils (t1libconfig dep)
 - R(post) confuses rpm, just R fontpostinst is sufficent
@@ -436,7 +463,7 @@
 Revision 1.62  2003/06/20 17:57:01  wiget
 - release 2
 - use fontpostinst
-- t1lib.config and FontDatabase are autogenerated, mark it as %%ghost
+- t1lib.config and FontDatabase are autogenerated, mark it as %ghost
 
 Revision 1.61  2003/05/25 11:01:00  malekith
 - massive attack, adding Source-md5
@@ -544,7 +571,7 @@
 - fixed fonts.scale generation, Prereq: sed
 
 Revision 1.32  2001/04/15 18:04:59  qboosh
-- Type1 fonts go to %%{_fontsdir}/Type1, metrics to {afm,pfm} subdirs
+- Type1 fonts go to %{_fontsdir}/Type1, metrics to {afm,pfm} subdirs
 - changed post/postun scripts
   (merge included fontmaps instead of generating broken by type1inst)
 
@@ -579,10 +606,10 @@
 - typo.
 
 Revision 1.22  2000/06/09 07:55:11  kloczek
-- more %%{__make} macros.
+- more %{__make} macros.
 
 Revision 1.21  2000/06/09 07:24:00  kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
 
 Revision 1.20  2000/06/09 03:12:27  kloczek
 - fixed %post/%postun in fonts subpackage.
@@ -617,11 +644,11 @@
 Revision 1.12  1999/11/25 02:42:45  pius
 - updated to 0.9.2
 - changes in header
-- added -q %%setup parameter
+- added -q %setup parameter
 - added fonts subpackage
 - moved fonts to /usr/share/fonts/Type1
 - changed GLOBAL_DATA_DIR to /usr/share/t1lib
-- added %%post & %%postun macros
+- added %post & %postun macros
 - added autoconf on top of %build
 - minor changes in %files and %install
 - added BuildRequires: type1inst >= 0.6.1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/t1lib/t1lib.spec?r1=1.84&r2=1.85&f=u



More information about the pld-cvs-commit mailing list