automatic version update by autodist [release 1.0.20-1mamba;Sat Jul 16 2022]

This commit is contained in:
Automatic Build System 2024-01-05 23:29:49 +01:00
parent 2de74a88cc
commit ea494573c7
2 changed files with 25 additions and 92 deletions

View File

@ -1,21 +1,15 @@
diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile --- gsm-1.0-pl20.orig/Makefile 2022-07-03 19:49:29.000000000 +0200
--- gsm-1.0-pl19.orig/Makefile 2020-03-27 22:17:15.000000000 +0100 +++ gsm-1.0-pl20/Makefile 2022-07-16 13:35:25.819524994 +0200
+++ gsm-1.0-pl19/Makefile 2020-04-20 10:30:52.913000000 +0200 @@ -99,7 +99,7 @@
@@ -96,11 +96,11 @@
# Other tools # Other tools
SHELL = /bin/sh SHELL = /bin/sh
-LN = ln -LN = ln
+LN = ln -s -f +LN = ln -sf
BASENAME = basename BASENAME = basename
AR = ar AR = ar
ARFLAGS = cr ARFLAGS = cr
-RMFLAGS = @@ -142,7 +142,7 @@
+RMFLAGS = -f
FIND = find
COMPRESS = gzip
COMPRESSFLAGS =
@@ -139,7 +139,7 @@
# Targets # Targets
@ -24,7 +18,7 @@ diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile
TOAST = $(BIN)/toast TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast UNTOAST = $(BIN)/untoast
@@ -257,7 +257,7 @@ @@ -260,7 +260,7 @@
# Install targets # Install targets
GSM_INSTALL_TARGETS = \ GSM_INSTALL_TARGETS = \
@ -33,7 +27,7 @@ diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile
$(GSM_INSTALL_INC)/gsm.h \ $(GSM_INSTALL_INC)/gsm.h \
$(GSM_INSTALL_MAN)/gsm.3 \ $(GSM_INSTALL_MAN)/gsm.3 \
$(GSM_INSTALL_MAN)/gsm_explode.3 \ $(GSM_INSTALL_MAN)/gsm_explode.3 \
@@ -279,7 +279,7 @@ @@ -282,7 +282,7 @@
# Target rules # Target rules
@ -42,7 +36,7 @@ diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile
@-echo $(ROOT): Done. @-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
@@ -299,24 +299,23 @@ @@ -302,24 +302,23 @@
# The basic API: libgsm # The basic API: libgsm
@ -75,87 +69,16 @@ diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile
# The local bin and lib directories # The local bin and lib directories
@@ -351,53 +350,54 @@ @@ -428,7 +427,7 @@
fi
$(TOAST_INSTALL_BIN)/toast: $(TOAST)
- -rm $@
+ -rm $(RMFLAGS) $@
cp $(TOAST) $@
chmod 755 $@
$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
+ -rm $(RMFLAGS) $@
+ $(LN) toast $@
$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
+ -rm $(RMFLAGS) $@
+ $(LN) toast $@
$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
+$(GSM_INSTALL_LIB)/libgsm.so: $(LIBGSMSO)
+ -rm $(RMFLAGS) $@ $@.1 $@.1.0.13
+ cp $?.1.0.13 $@.1.0.13
+ chmod 755 $@.1.0.13
+ $(LN) libgsm.so.1.0.13 $@
+ $(LN) libgsm.so.1.0.13 $@.1
# Distribution
@@ -425,7 +425,7 @@
-print | xargs rm $(RMFLAGS) -print | xargs rm $(RMFLAGS)
clean: semi-clean clean: semi-clean
- -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \ - -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
+ -rm $(RMFLAGS) $(LIBGSMSO)* $(ADDTST)/add \ + -rm $(RMFLAGS) $(LIBGSMSO)* $(ADDTST)/add \
$(TOAST) $(TCAT) $(UNTOAST) \ $(TOAST) $(TCAT) $(UNTOAST) \
$(ROOT)/gsm-1.0.tar.Z $(ROOT)/gsm-1.0.tar.gz
@@ -473,22 +473,22 @@ @@ -476,22 +475,22 @@
$(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run $(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run
( cd $(TST); ./run ) ( cd $(TST); ./run )

View File

@ -2,22 +2,21 @@
%define minver %(echo %version | cut -d . -f3) %define minver %(echo %version | cut -d . -f3)
Name: gsm Name: gsm
Version: 1.0.19 Version: 1.0.20
Release: 1mamba Release: 1mamba
Summary: GSM 06.10 lossy speech compression library Summary: GSM 06.10 lossy speech compression library
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.quut.com/gsm URL: http://www.quut.com/gsm/
Source: http://www.quut.com/gsm/gsm-%{version}.tar.gz Source: http://www.quut.com/gsm/gsm-%{version}.tar.gz
Patch0: libgsm-1.0.19-shared.patch Patch0: gsm-1.0.20-shared.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: libgsm = %{version}-%{release} Requires: libgsm = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
GSM 06.10 lossy speech compression library. GSM 06.10 lossy speech compression library.
@ -68,6 +67,14 @@ make install \
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \ GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
GSM_INSTALL_MAN=%{buildroot}%{_mandir}/man3 GSM_INSTALL_MAN=%{buildroot}%{_mandir}/man3
cp -ap lib/libgsm* %{buildroot}%{_libdir}
install -d -m0755 %{buildroot}%{_includedir}/gsm
cp -a inc/*.h %{buildroot}%{_includedir}/gsm/
install -d -m0755 %{buildroot}%{_mandir}/man3
cp -a man/*.3 %{buildroot}%{_mandir}/man3/
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -93,6 +100,9 @@ make install \
%doc ChangeLog README %doc ChangeLog README
%changelog %changelog
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 1.0.20-1mamba
- automatic version update by autodist
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.19-1mamba * Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.19-1mamba
- update to 1.0.19 - update to 1.0.19