packages: metamail/metamail.spec - package mmencode->mimencode alias again ...

qboosh qboosh at pld-linux.org
Thu Sep 8 21:10:26 CEST 2011


Author: qboosh                       Date: Thu Sep  8 19:10:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package mmencode->mimencode alias again for compatibility (it's the original command name)

---- Files affected:
packages/metamail:
   metamail.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: packages/metamail/metamail.spec
diff -u packages/metamail/metamail.spec:1.56 packages/metamail/metamail.spec:1.57
--- packages/metamail/metamail.spec:1.56	Thu Sep  8 19:37:26 2011
+++ packages/metamail/metamail.spec	Thu Sep  8 21:10:21 2011
@@ -78,7 +78,7 @@
 chmod +x configure
 
 # same as mimeencode
-%{__rm} man/mmencode.1
+echo '.so mimencode.1' > man/mmencode.1
 
 cd ..
 %patch0 -p1
@@ -123,9 +123,12 @@
 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
 mkfontdir $RPM_BUILD_ROOT%{_fontdir}
 
-#ln -f $RPM_BUILD_ROOT%{_bindir}/mmencode $RPM_BUILD_ROOT%{_bindir}/mimencode
+# compatibility hardlink
+ln -f $RPM_BUILD_ROOT%{_bindir}/mimencode $RPM_BUILD_ROOT%{_bindir}/mmencode
+
+# just utility functions library for metamail, not exported metamail functionality - so kill it
 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/metamail
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmetamail.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmetamail.{so,la}
 
 # that site doesn't exist
 %{__rm} $RPM_BUILD_ROOT{%{_bindir}/patch-metamail,%{_mandir}/man1/patch-metamail.1}
@@ -151,6 +154,7 @@
 %attr(755,root,root) %{_bindir}/metasend
 %attr(755,root,root) %{_bindir}/mimeit
 %attr(755,root,root) %{_bindir}/mimencode
+%attr(755,root,root) %{_bindir}/mmencode
 %attr(755,root,root) %{_bindir}/rcvAppleSingle
 %attr(755,root,root) %{_bindir}/richtext
 %attr(755,root,root) %{_bindir}/richtoatk
@@ -182,6 +186,7 @@
 %{_mandir}/man1/mime.1*
 %{_mandir}/man1/mimeit.1*
 %{_mandir}/man1/mimencode.1*
+%{_mandir}/man1/mmencode.1*
 %{_mandir}/man1/richtext.1*
 %{_mandir}/man1/showaudio.1*
 %{_mandir}/man1/showexternal.1*
@@ -201,6 +206,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2011/09/08 19:10:21  qboosh
+- package mmencode->mimencode alias again for compatibility (it's the original command name)
+
 Revision 1.56  2011/09/08 17:37:26  qboosh
 - ghost soname symlink
 - more verbose files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/metamail/metamail.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list