SPECS (AC-branch): binutils.spec - -libs, -devel split (merged fro...

glen glen at pld-linux.org
Thu May 24 08:43:59 CEST 2007


Author: glen                         Date: Thu May 24 06:43:59 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- -libs, -devel split (merged from HEAD); rel 3

---- Files affected:
SPECS:
   binutils.spec (1.198.2.3 -> 1.198.2.4) 

---- Diffs:

================================================================
Index: SPECS/binutils.spec
diff -u SPECS/binutils.spec:1.198.2.3 SPECS/binutils.spec:1.198.2.4
--- SPECS/binutils.spec:1.198.2.3	Tue Jul 26 11:26:21 2005
+++ SPECS/binutils.spec	Thu May 24 08:43:53 2007
@@ -17,7 +17,7 @@
 Summary(uk):	îÁÂŚŇ ŚÎÓÔŇŐÍĹÎÔŚ× GNU ÄĚŃ ĐĎÂŐÄĎ×É ×ÉËĎÎŐ×ÁÎÉČ ĐŇĎÇŇÁÍ
 Name:		binutils
 Version:	2.15.94.0.2.2
-Release:	2
+Release:	3
 Epoch:		3
 License:	GPL
 Group:		Development/Tools
@@ -52,6 +52,7 @@
 %endif
 BuildRequires:	texinfo >= 4.2
 Requires(post,postun):	/sbin/ldconfig
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 Conflicts:	gcc-c++ < 5:3.3
 Conflicts:	modutils < 2.4.17
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -99,17 +100,43 @@
 íŚÓÔÉÔŘ ÁÓĹÍÂĚĹŇ, ËĎÍĐĎÎĎ×ÝÉË ÔÁ ŚÎŰŚ ĐŇĎÇŇÁÍÉ, ÎĹĎÂČŚÄÎŚ ÄĚŃ ŇĎÂĎÔÉ Ú
 ×ÉËĎÎŐ×ÁÎÉÍÉ ĆÁĘĚÁÍÉ ŇŚÚÎÉČ ĆĎŇÍÁÔŚ×.
 
+%package libs
+Summary:	GNU binutils shared libraries
+Summary(pl):	Biblioteki współdzielone GNU binutils
+Group:		Libraries
+Conflicts:	binutils < 3:2.15.94.0.2.2-2.1
+
+%description libs
+GNU binutils shared libraries (libbfd, libopcodes).
+
+%description libs -l pl
+Biblioteki współdzielone GNU binutils (libbfd, libopcodes).
+
+%package devel
+Summary:	Development files for GNU binutils libraries
+Summary(pl):	Pliki programistyczne bibliotek GNU binutils
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+
+%description devel
+Development files for GNU binutils libraries (libbfd, libopcodes) and
+static libiberty library.
+
+%description devel -l pl
+Pliki programistyczne bibliotek GNU binutils (libbfd, libopcodes) oraz
+statyczna biblioteka libiberty.
+
 %package static
-Summary:	GNU Binutils static libraries
-Summary(pl):	Biblioteki statyczne do GNU Binutils
+Summary:	GNU binutils static libraries
+Summary(pl):	Biblioteki statyczne do GNU binutils
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
-Static libraries for GNU Binutils.
+Static GNU binutils libraries (libbfd, libopcodes).
 
 %description static -l pl
-Biblioteki statyczne GNU Binutils.
+Biblioteki statyczne GNU binutils (libbfd, libopcodes).
 
 %package gasp
 Summary:	GASP - old preprocessor for assembly programs
@@ -220,17 +247,33 @@
 # remove evil -L pointing inside builder's home
 perl -pi -e 's at -L[^ ]*/pic @@g' $RPM_BUILD_ROOT%{_libdir}/libbfd.la
 
-%find_lang %{name} --all-name
+%find_lang bfd
+%find_lang binutils
+%find_lang gas
+%find_lang gprof
+%find_lang ld
+%find_lang opcodes
+cat bfd.lang opcodes.lang > %{name}-libs.lang
+cat gas.lang gprof.lang ld.lang >> %{name}.lang
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %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
+
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
+%post devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun devel
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %files -f %{name}.lang
@@ -238,15 +281,13 @@
 %doc README
 %attr(755,root,root) %{_bindir}/[!g]*
 %attr(755,root,root) %{_bindir}/g[!a]*
-%attr(755,root,root) %{_libdir}*/*.so
-%{_libdir}*/libiberty.a
-%{_libdir}*/lib*.la
 
 %{_prefix}/lib/ldscripts
-%{_includedir}/*.h
-
-%{_infodir}/[!g]*.info*
-%{_infodir}/g[!a]*.info*
+%{_infodir}/as.info*
+%{_infodir}/binutils.info*
+%{_infodir}/configure.info*
+%{_infodir}/gprof.info*
+%{_infodir}/ld.info*
 %{_mandir}/man1/*
 %lang(cs) %{_mandir}/cs/man1/*
 %lang(de) %{_mandir}/de/man1/*
@@ -257,9 +298,25 @@
 %lang(ja) %{_mandir}/ja/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 
+%files libs -f %{name}-libs.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbfd-*.so
+%attr(755,root,root) %{_libdir}/libopcodes-*.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbfd.so
+%attr(755,root,root) %{_libdir}/libopcodes.so
+%{_libdir}/libbfd.la
+%{_libdir}/libopcodes.la
+%{_libdir}/libiberty.a
+%{_includedir}/*.h
+%{_infodir}/bfd.info*
+
 %files static
 %defattr(644,root,root,755)
-%{_libdir}*/lib[!i]*.a
+%{_libdir}/libbfd.a
+%{_libdir}/libopcodes.a
 
 %files gasp
 %defattr(644,root,root,755)
@@ -272,6 +329,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.198.2.4  2007/05/24 06:43:53  glen
+- -libs, -devel split (merged from HEAD); rel 3
+
 Revision 1.198.2.3  2005/07/26 09:26:21  arekm
 - rel 2
 
@@ -864,8 +924,3 @@
 Revision 1.40  1999/07/12 23:05:53  kloczek
 - added using CVS keywords in %changelog (for automating them).
 
-* Tue May 25 1999 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  [2.9.1.0.25-1]
-- spec based on RH version,
-- rewrited by PLD team,
-- pl translation Wojtek Ślusarczyk <wojtek at shadow.eu.org>.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/binutils.spec?r1=1.198.2.3&r2=1.198.2.4&f=u



More information about the pld-cvs-commit mailing list