SPECS (DEVEL): m4.spec - cleanup (m4 1.4 didn't support loadable m...

qboosh qboosh at pld-linux.org
Wed Nov 1 16:56:50 CET 2006


Author: qboosh                       Date: Wed Nov  1 15:56:50 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- cleanup (m4 1.4 didn't support loadable modules or NLS)

---- Files affected:
SPECS:
   m4.spec (1.86.2.2 -> 1.86.2.3) 

---- Diffs:

================================================================
Index: SPECS/m4.spec
diff -u SPECS/m4.spec:1.86.2.2 SPECS/m4.spec:1.86.2.3
--- SPECS/m4.spec:1.86.2.2	Wed Nov  1 15:14:41 2006
+++ SPECS/m4.spec	Wed Nov  1 16:56:45 2006
@@ -1,10 +1,9 @@
 # $Revision$, $Date$
 #
 # TODO:
-# - check patches (I'm quite sure they're all usesless)
-# - get rid of subpackages permamently
+# - info patch needs backport, buserror needs check
 # - should we use all the stuff before configure? (builds without, breaks with autoconf)
-# - investigate this package - it's first developement from like 4 years ?
+# - branch name is totally bogus, it could be "m4_1_4", definitely not "DEVEL"
 Summary:	GNU Macro Processor
 Summary(de):	GNU-Makro-Prozessor
 Summary(fr):	Processeur de macros de GNU
@@ -16,14 +15,10 @@
 Epoch:		2
 License:	GPL
 Group:		Applications/Text
-#Source0:	ftp://ftp.seindal.dk/gnu/%{name}-%{version}%{_pre}.tar.gz
 Source0:	ftp://ftp.gnu.org/gnu/m4/%{name}-%{version}.tar.bz2
 # Source0-md5:	0115a354217e36ca396ad258f6749f51
-#Patch0:		%{name}-info.patch
-#Patch1:		%{name}-pl.po-update.patch
-#Patch2:		%{name}-po-fix.patch
-#Patch3:		%{name}-fixes-1.4.1.patch
-#Patch4:		%{name}-buserror.patch
+Patch0:		%{name}-info.patch
+#Patch1:		%{name}-buserror.patch
 URL:		http://www.gnu.org/software/m4/
 BuildRequires:	autoconf >= 2.54
 BuildRequires:	automake >= 1:1.7.1
@@ -90,9 +85,6 @@
 %setup -q
 #%patch0 -p1
 #%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
 
 rm -f config/{libtool,ltdl}.m4
 
@@ -115,49 +107,31 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/m4/*.a
-
-#%find_lang %{name}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-/sbin/ldconfig
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-#%files -f %{name}.lang
 %files
 %defattr(644,root,root,755)
 %doc NEWS README THANKS AUTHORS ChangeLog TODO
 %attr(755,root,root) %{_bindir}/m4
-#%attr(755,root,root) %{_libdir}/libm4.so.*.*
-#%dir %{_libdir}/m4
-#%attr(755,root,root) %{_libdir}/m4/*.so*
-#%{_libdir}/m4/*.la
-%{_infodir}/*
+%{_infodir}/*.info*
 %{_mandir}/man1/*
 
-#%files devel
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/libm4.so
-#%{_libdir}/libm4.la
-#%{_includedir}/*
-
-#%files static
-#%defattr(644,root,root,755)
-#%{_libdir}/libm4.a
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.86.2.3  2006/11/01 15:56:45  qboosh
+- cleanup (m4 1.4 didn't support loadable modules or NLS)
+
 Revision 1.86.2.2  2006/11/01 14:14:41  glen
 - preambles shouldn't be commented out
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/m4.spec?r1=1.86.2.2&r2=1.86.2.3&f=u



More information about the pld-cvs-commit mailing list