packages: crossnacl-gcc/crossnacl-gcc.spec - c++ to subpackage

glen glen at pld-linux.org
Fri Jul 6 13:59:12 CEST 2012


Author: glen                         Date: Fri Jul  6 11:59:12 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- c++ to subpackage

---- Files affected:
packages/crossnacl-gcc:
   crossnacl-gcc.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/crossnacl-gcc/crossnacl-gcc.spec
diff -u packages/crossnacl-gcc/crossnacl-gcc.spec:1.2 packages/crossnacl-gcc/crossnacl-gcc.spec:1.3
--- packages/crossnacl-gcc/crossnacl-gcc.spec:1.2	Fri Jul  6 12:55:22 2012
+++ packages/crossnacl-gcc/crossnacl-gcc.spec	Fri Jul  6 13:59:07 2012
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with	bootstrap		# build without nacl newlib package
+%bcond_with	bootstrap		# build without nacl newlib package dependency (without c++ package)
 
 %define		gitver	cff9ac88
 Summary:	Various compilers (C, C++) for nacl
@@ -17,7 +17,7 @@
 # For gcc version, echo gcc/BASE-VER
 # mv nacl-gcc nacl-gcc-4.4.3-gitcff9ac88
 # tar cfj nacl-gcc-4.4.3-gitcff9ac88.tar.bz2 nacl-gcc-4.4.3-gitcff9ac88
-License:	GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+License:	GPL v3+ and GPL v3+ with exceptions and GPL v2+ with exceptions
 Group:		Development/Languages
 Source0:	nacl-gcc-%{version}-git%{gitver}.tar.bz2
 # Source0-md5:	5f96c99136882b2b22a5d173890f8026
@@ -38,8 +38,22 @@
 
 %description
 The gcc package contains the GNU Compiler Collection version 4.4.3.
-You'll need this package in order to compile C code. This provides
-support for nacl targets.
+You'll need this package in order to compile C code.
+
+This provides support for NaCl targets.
+
+%package c++
+Summary:	C++ support for crossnacl-gcc
+Summary(pl.UTF-8):	Obsługa C++ dla crossnacl-gcc
+Group:		Development/Languages
+Requires:	%{name} = %{version}-%{release}
+
+%description c++
+This package adds C++ support to the GNU Compiler Collection for NaCl
+targets.
+
+%description c++ -l pl.UTF-8
+Ten pakiet dodaje obsługę C++ do kompilatora gcc dla NaCL.
 
 %prep
 %setup -q -n nacl-gcc-%{version}-git%{?gitver}
@@ -148,6 +162,8 @@
 %{_mandir}/man1/%{gcc_target_platform}-gcov.*
 
 %if %{without bootstrap}
+%files c++
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{gcc_target_platform}-c++
 %attr(755,root,root) %{_bindir}/%{gcc_target_platform}-g++
 %{_prefix}/%{gcc_target_platform}/include/c++
@@ -161,9 +177,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/07/06 11:59:07  glen
+- c++ to subpackage
+
 Revision 1.2  2012/07/06 10:55:22  glen
 - package  %{_prefix}/lib/gcc dir
 
 Revision 1.1  2012/07/06 07:14:26  glen
 - new, based on nacl-gcc-4.4.3-2.gitcff9ac88.fc16.src.rpm
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/crossnacl-gcc/crossnacl-gcc.spec?r1=1.2&r2=1.3



More information about the pld-cvs-commit mailing list