Browse Source

gc-8.2.2-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
a69ec6a01a
1 changed files with 26 additions and 20 deletions
  1. 26 20
      g/gc/gc-vl.spec

+ 26 - 20
g/gc/gc-vl.spec

@@ -2,10 +2,14 @@
 
 Summary: Garbage Collector for C and C++ 	
 Summary(ja): C, C++ ガーベージコレクションライブラリ
-Name:    gc	
-Version: 8.0.4
+Name: gc
+Version: 8.2.2
 Release: 1%{?_dist_release}
-Group:	 System Environment/Libraries
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: inagaki
+
 License: BSD
 URL:     https://www.hboehm.info/gc/
 Source:  https://www.hboehm.info/gc/gc_source/%{name}-%{version}.tar.gz
@@ -15,19 +19,15 @@ BuildRequires: libatomic_ops-devel
 
 #Patch1: gc-6.4-opendl.patch
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
-Packager: inagaki
-
 %description
 The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage 
 collecting replacement for C malloc or C++ new.
 
+
 %package devel
 Summary: Libraries and header files for gc development 
 Summary(ja): gc の開発用ライブラリおよびヘッダファイル
-Group:   Development/Libraries
+Group:   programming
 Requires: %{name} = %{version}-%{release}
 
 %description devel
@@ -37,7 +37,7 @@ Libraries and header files for gc development.
 ## to build compat32 for x86_64 architecture support
 %package -n compat32-%{name}
 Summary: Garbage Collector for C and C++ 	
-Group:	 System Environment/Libraries
+Group:	 system,legacy
 Requires: %{name} = %{version}-%{release}
 
 %description -n compat32-%{name}
@@ -46,7 +46,7 @@ collecting replacement for C malloc or C++ new.
 
 %package -n compat32-%{name}-devel
 Summary: Libraries and header files for gc development 
-Group:   Development/Libraries
+Group:   programming,legacy
 Requires: compat32-%{name} = %{version}-%{release}
 Requires: %{name}-devel = %{version}-%{release}
 
@@ -54,9 +54,13 @@ Requires: %{name}-devel = %{version}-%{release}
 Libraries and header files for gc development.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %configure \
   --enable-cplusplus \
@@ -67,8 +71,6 @@ Libraries and header files for gc development.
   
 make %{?_smp_mflags}
 
-%check
-make check
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -80,26 +82,26 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/gc
 rm -f  $RPM_BUILD_ROOT%{_libdir}/lib*.la
 rm -rf $RPM_BUILD_ROOT%{_docdir}/gc
 
-%clean
-rm -rf 	$RPM_BUILD_ROOT
+mv -f README.QUICK LICENSE
 
-%post   -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%check
+make check
 
-%post -n compat32-%{name} -p /sbin/ldconfig
 
-%postun -n compat32-%{name} -p /sbin/ldconfig
+%clean
+rm -rf 	$RPM_BUILD_ROOT
 
 
 %files 
 %defattr(-,root,root)
+%license LICENSE
 %doc ChangeLog doc/README*
 %{_libdir}/lib*.so.*
 
 %files devel
 %defattr(-,root,root)
-%doc doc/*.html
+%doc doc/*.md
 %dir %{_includedir}/gc
 %{_includedir}/gc.h
 %{_includedir}/gc_cpp.h
@@ -121,6 +123,10 @@ rm -rf 	$RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.2.2-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Tue Sep 10 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.4-1
 - updated to 8.0.4.