update to 1.0.19 [release 1.0.19-1mamba;Sat Apr 18 2020]
This commit is contained in:
parent
d353e21ef3
commit
2de74a88cc
16
gsm.spec
16
gsm.spec
@ -1,9 +1,8 @@
|
||||
%define majver %(echo %version | cut -d . -f1-2)
|
||||
%define minver %(echo %version | cut -d . -f3)
|
||||
#%define soname
|
||||
|
||||
Name: gsm
|
||||
Version: 1.0.18
|
||||
Version: 1.0.19
|
||||
Release: 1mamba
|
||||
Summary: GSM 06.10 lossy speech compression library
|
||||
Group: System/Tools
|
||||
@ -12,7 +11,7 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.quut.com/gsm
|
||||
Source: http://www.quut.com/gsm/gsm-%{version}.tar.gz
|
||||
Patch0: gsm-1.0.17-shared-lib.patch
|
||||
Patch0: libgsm-1.0.19-shared.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -41,9 +40,11 @@ GSM 06.10 lossy speech compression library.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n gsm-%{majver}-pl%{minver}
|
||||
%patch0 -p0
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make all \
|
||||
@ -67,10 +68,6 @@ make install \
|
||||
GSM_INSTALL_INC=%{buildroot}%{_includedir}/gsm \
|
||||
GSM_INSTALL_MAN=%{buildroot}%{_mandir}/man3
|
||||
|
||||
#install -m0755 lib/libgsm.so.%{soname} %{buildroot}%{_libdir}
|
||||
#ln -s libgsm.so.%{soname} %{buildroot}%{_libdir}/libgsm.so.1
|
||||
#ln -s libgsm.so.%{soname} %{buildroot}%{_libdir}/libgsm.so
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -96,6 +93,9 @@ make install \
|
||||
%doc ChangeLog README
|
||||
|
||||
%changelog
|
||||
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.19-1mamba
|
||||
- update to 1.0.19
|
||||
|
||||
* Mon May 21 2018 Automatic Build System <autodist@mambasoft.it> 1.0.18-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- Makefile 2006-04-26 15:14:26.000000000 -0400
|
||||
+++ Makefile 2010-06-19 16:53:25.000000000 -0400
|
||||
diff -ru gsm-1.0-pl19.orig/Makefile gsm-1.0-pl19/Makefile
|
||||
--- gsm-1.0-pl19.orig/Makefile 2020-03-27 22:17:15.000000000 +0100
|
||||
+++ gsm-1.0-pl19/Makefile 2020-04-20 10:30:52.913000000 +0200
|
||||
@@ -96,11 +96,11 @@
|
||||
# Other tools
|
||||
|
||||
@ -12,7 +13,7 @@
|
||||
-RMFLAGS =
|
||||
+RMFLAGS = -f
|
||||
FIND = find
|
||||
COMPRESS = compress
|
||||
COMPRESS = gzip
|
||||
COMPRESSFLAGS =
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
@ -51,9 +52,9 @@
|
||||
- $(RANLIB) $(LIBGSM)
|
||||
-
|
||||
+$(LIBGSMSO): $(LIB) $(GSM_OBJECTS)
|
||||
+ $(LD) -shared -Wl,-soname,libgsm.so.1 -o $@.1.0.17 $(GSM_OBJECTS)
|
||||
+ $(LN) libgsm.so.1.0.17 $(LIBGSMSO).1
|
||||
+ $(LN) libgsm.so.1.0.17 $(LIBGSMSO)
|
||||
+ $(LD) -shared -Wl,-soname,libgsm.so.1 -o $@.1.0.13 $(GSM_OBJECTS)
|
||||
+ $(LN) libgsm.so.1.0.13 $(LIBGSMSO).1
|
||||
+ $(LN) libgsm.so.1.0.13 $(LIBGSMSO)
|
||||
|
||||
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.
|
||||
|
||||
@ -137,11 +138,11 @@
|
||||
chmod 444 $@
|
||||
|
||||
+$(GSM_INSTALL_LIB)/libgsm.so: $(LIBGSMSO)
|
||||
+ -rm $(RMFLAGS) $@ $@.1 $@.1.0.17
|
||||
+ cp $?.1.0.17 $@.1.0.17
|
||||
+ chmod 755 $@.1.0.17
|
||||
+ $(LN) libgsm.so.1.0.17 $@
|
||||
+ $(LN) libgsm.so.1.0.17 $@.1
|
||||
+ -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
|
||||
|
Loading…
Reference in New Issue
Block a user