From f75019f35442d5ce0d797cc8a5064bd389a9492a Mon Sep 17 00:00:00 2001 From: Nikolai Merinov Date: Tue, 29 Jan 2019 11:32:44 +0300 Subject: [PATCH] Provide libatomic-devel and gcov packages --- packaging/gcc-aarch64.spec | 40 ++++++++++++++++++++++++++++++++++++++++ packaging/gcc-armv7hl.spec | 40 ++++++++++++++++++++++++++++++++++++++++ packaging/gcc-armv7l.spec | 40 ++++++++++++++++++++++++++++++++++++++++ packaging/linaro-gcc.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 160 insertions(+) diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec index 1afdd05..6b66089 100644 --- a/packaging/gcc-aarch64.spec +++ b/packaging/gcc-aarch64.spec @@ -194,6 +194,13 @@ The GCC plugin for GDB %post -n libcc1 -p /sbin/ldconfig %postun -n libcc1 -p /sbin/ldconfig +%package -n gcov +Summary: GCOV coverage checking utility and connected library +License: GPL-3.0-with-GCC-exception +Group: Development/Building +%description -n gcov +GCOV utility with libgcov library. + %package obj-c++ Summary: GNU Objective C++ Compiler License: GPL-3.0+ @@ -312,6 +319,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic -p /sbin/ldconfig %postun -n libatomic -p /sbin/ldconfig +%package -n libatomic-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -612,6 +626,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic-32bit -p /sbin/ldconfig %postun -n libatomic-32bit -p /sbin/ldconfig +%package -n libatomic-32bit-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-32bit-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts-32bit Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -1016,6 +1037,13 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %defattr(-,root,root) %{libdir}/libcc1.so.* +%files -n gcov +%manifest gcc.manifest +%defattr(-,root,root) +%{libsubdir}/libgcov.a +%{_bindir}/gcov +%{_bindir}/gcov-tool + %ifarch %asan_arch %files -n libasan %manifest gcc.manifest @@ -1054,6 +1082,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libdir}/libatomic.so.* + +%files -n libatomic-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libdir}/libatomic.so %endif %ifarch %itm_arch @@ -1155,6 +1189,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libsubdir}/32/libatomic.so.* + +%files -n libatomic-32bit-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libsubdir}/32/libatomic.so %endif %ifarch %cilkrts_arch diff --git a/packaging/gcc-armv7hl.spec b/packaging/gcc-armv7hl.spec index 436bbfe..063638b 100644 --- a/packaging/gcc-armv7hl.spec +++ b/packaging/gcc-armv7hl.spec @@ -194,6 +194,13 @@ The GCC plugin for GDB %post -n libcc1 -p /sbin/ldconfig %postun -n libcc1 -p /sbin/ldconfig +%package -n gcov +Summary: GCOV coverage checking utility and connected library +License: GPL-3.0-with-GCC-exception +Group: Development/Building +%description -n gcov +GCOV utility with libgcov library. + %package obj-c++ Summary: GNU Objective C++ Compiler License: GPL-3.0+ @@ -312,6 +319,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic -p /sbin/ldconfig %postun -n libatomic -p /sbin/ldconfig +%package -n libatomic-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -612,6 +626,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic-32bit -p /sbin/ldconfig %postun -n libatomic-32bit -p /sbin/ldconfig +%package -n libatomic-32bit-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-32bit-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts-32bit Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -1016,6 +1037,13 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %defattr(-,root,root) %{libdir}/libcc1.so.* +%files -n gcov +%manifest gcc.manifest +%defattr(-,root,root) +%{libsubdir}/libgcov.a +%{_bindir}/gcov +%{_bindir}/gcov-tool + %ifarch %asan_arch %files -n libasan %manifest gcc.manifest @@ -1054,6 +1082,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libdir}/libatomic.so.* + +%files -n libatomic-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libdir}/libatomic.so %endif %ifarch %itm_arch @@ -1155,6 +1189,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libsubdir}/32/libatomic.so.* + +%files -n libatomic-32bit-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libsubdir}/32/libatomic.so %endif %ifarch %cilkrts_arch diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec index a7d4fd6..c7c437f 100644 --- a/packaging/gcc-armv7l.spec +++ b/packaging/gcc-armv7l.spec @@ -194,6 +194,13 @@ The GCC plugin for GDB %post -n libcc1 -p /sbin/ldconfig %postun -n libcc1 -p /sbin/ldconfig +%package -n gcov +Summary: GCOV coverage checking utility and connected library +License: GPL-3.0-with-GCC-exception +Group: Development/Building +%description -n gcov +GCOV utility with libgcov library. + %package obj-c++ Summary: GNU Objective C++ Compiler License: GPL-3.0+ @@ -312,6 +319,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic -p /sbin/ldconfig %postun -n libatomic -p /sbin/ldconfig +%package -n libatomic-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -612,6 +626,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic-32bit -p /sbin/ldconfig %postun -n libatomic-32bit -p /sbin/ldconfig +%package -n libatomic-32bit-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-32bit-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts-32bit Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -1016,6 +1037,13 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %defattr(-,root,root) %{libdir}/libcc1.so.* +%files -n gcov +%manifest gcc.manifest +%defattr(-,root,root) +%{libsubdir}/libgcov.a +%{_bindir}/gcov +%{_bindir}/gcov-tool + %ifarch %asan_arch %files -n libasan %manifest gcc.manifest @@ -1054,6 +1082,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libdir}/libatomic.so.* + +%files -n libatomic-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libdir}/libatomic.so %endif %ifarch %itm_arch @@ -1155,6 +1189,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libsubdir}/32/libatomic.so.* + +%files -n libatomic-32bit-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libsubdir}/32/libatomic.so %endif %ifarch %cilkrts_arch diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec index 5ec594b..67af2fcd 100644 --- a/packaging/linaro-gcc.spec +++ b/packaging/linaro-gcc.spec @@ -191,6 +191,13 @@ The GCC plugin for GDB %post -n libcc1 -p /sbin/ldconfig %postun -n libcc1 -p /sbin/ldconfig +%package -n gcov +Summary: GCOV coverage checking utility and connected library +License: GPL-3.0-with-GCC-exception +Group: Development/Building +%description -n gcov +GCOV utility with libgcov library. + %package obj-c++ Summary: GNU Objective C++ Compiler License: GPL-3.0+ @@ -309,6 +316,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic -p /sbin/ldconfig %postun -n libatomic -p /sbin/ldconfig +%package -n libatomic-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -609,6 +623,13 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic-32bit -p /sbin/ldconfig %postun -n libatomic-32bit -p /sbin/ldconfig +%package -n libatomic-32bit-devel +Summary: The GNU Compiler Atomic Operations Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages +%description -n libatomic-32bit-devel +The runtime library for atomic operations of the GNU Compiler Collection (GCC). + %package -n libcilkrts-32bit Summary: The GNU Compiler Cilk+ Runtime Library License: MIT @@ -1013,6 +1034,13 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %defattr(-,root,root) %{libdir}/libcc1.so.* +%files -n gcov +%manifest gcc.manifest +%defattr(-,root,root) +%{libsubdir}/libgcov.a +%{_bindir}/gcov +%{_bindir}/gcov-tool + %ifarch %asan_arch %files -n libasan %manifest gcc.manifest @@ -1051,6 +1079,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libdir}/libatomic.so.* + +%files -n libatomic-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libdir}/libatomic.so %endif %ifarch %itm_arch @@ -1152,6 +1186,12 @@ mv -v libsanitizer.tar.bz %{buildroot}/src %license COPYING3 COPYING.RUNTIME %defattr(-,root,root) %{libsubdir}/32/libatomic.so.* + +%files -n libatomic-32bit-devel +%manifest gcc.manifest +%license COPYING3 COPYING.RUNTIME +%defattr(-,root,root) +%{libsubdir}/32/libatomic.so %endif %ifarch %cilkrts_arch -- 2.7.4