commit 7357341a834d0a91e9000c0a281296b4615dbca1
Author: Jan Palus <[email protected]>
Date:   Sat Sep 25 23:55:10 2021 +0200

    fork of libopenaptx 0.2.0 maintaining LGPL license

 libopenaptx.spec => libfreeaptx.spec | 52 ++++++++++++------------------------
 libopenaptx-norpath.patch            | 11 --------
 2 files changed, 17 insertions(+), 46 deletions(-)
---
diff --git a/libopenaptx.spec b/libfreeaptx.spec
similarity index 53%
rename from libopenaptx.spec
rename to libfreeaptx.spec
index 318c4cc..36151a3 100644
--- a/libopenaptx.spec
+++ b/libfreeaptx.spec
@@ -1,15 +1,14 @@
 Summary:       Open Source implementation of Audio Processing Technology codec 
(aptX)
 Summary(pl.UTF-8):     Otwarta implementacja kodeka Audio Processing 
Technology (aptX)
-Name:          libopenaptx
-Version:       0.2.1
+Name:          libfreeaptx
+Version:       0.1.1
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
-#Source0Download: https://github.com/pali/libopenaptx/releases
-Source0:       
https://github.com/pali/libopenaptx/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 83e12a34b86ee514fc5bb6f3ab060611
-Patch0:                %{name}-norpath.patch
-URL:           https://github.com/pali/libopenaptx
+#Source0Download: https://github.com/iamthehorker/libfreeaptx/releases
+Source0:       
https://github.com/iamthehorker/libfreeaptx/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 58c2cf51f8b00d2414ae5f5239a64957
+URL:           https://github.com/iamthehorker/libfreeaptx
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,32 +23,19 @@ udostępnioną na licencji LGPL w wersji 2.1+. Kodek jest 
używany
 głównie w profilu Bluetooth A2DP.
 
 %package devel
-Summary:       Header files for openaptx library
-Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki openaptx
+Summary:       Header files for freeaptx library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki freeaptx
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description devel
-Header files for openaptx library.
+Header files for freeaptx library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki openaptx.
-
-%package static
-Summary:       Static openaptx library
-Summary(pl.UTF-8):     Statyczna biblioteka openaptx
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-
-%description static
-Static openaptx library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka openaptx.
+Pliki nagłówkowe biblioteki freeaptx.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__make} \
@@ -75,17 +61,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_bindir}/openaptxdec
-%attr(755,root,root) %{_bindir}/openaptxenc
-%attr(755,root,root) %{_libdir}/libopenaptx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libopenaptx.so.0
+%attr(755,root,root) %{_bindir}/freeaptxdec
+%attr(755,root,root) %{_bindir}/freeaptxenc
+%attr(755,root,root) %{_libdir}/libfreeaptx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfreeaptx.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libopenaptx.so
-%{_includedir}/openaptx.h
-%{_pkgconfigdir}/libopenaptx.pc
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libopenaptx.a
+%attr(755,root,root) %{_libdir}/libfreeaptx.so
+%{_includedir}/freeaptx.h
+%{_pkgconfigdir}/libfreeaptx.pc
diff --git a/libopenaptx-norpath.patch b/libopenaptx-norpath.patch
deleted file mode 100644
index 1d2383c..0000000
--- a/libopenaptx-norpath.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libopenaptx-0.2.0/Makefile.orig    2020-04-11 15:04:15.000000000 +0200
-+++ libopenaptx-0.2.0/Makefile 2021-04-03 18:05:32.976537843 +0200
-@@ -54,7 +54,7 @@
-       $(MKDIR) $(DESTDIR)$(PREFIX)/$(PKGDIR)
-       $(PRINTF) 
'prefix=%s\nexec_prefix=$${prefix}\nlibdir=$${exec_prefix}/%s\nincludedir=$${prefix}/%s\n\n'
 $(PREFIX) $(LIBDIR) $(INCDIR) > $(DESTDIR)$(PREFIX)/$(PKGDIR)/$(PCNAME)
-       $(PRINTF) 'Name: lib%s\nDescription: Open Source aptX codec 
library\nVersion: %u.%u.%u\n' $(NAME) $(MAJOR) $(MINOR) $(PATCH) >> 
$(DESTDIR)$(PREFIX)/$(PKGDIR)/$(PCNAME)
--      $(PRINTF) 'Libs: -Wl,-rpath=$${libdir} -L$${libdir} -l%s\nCflags: 
-I$${includedir}\n' $(NAME) >> $(DESTDIR)$(PREFIX)/$(PKGDIR)/$(PCNAME)
-+      $(PRINTF) 'Libs: -L$${libdir} -l%s\nCflags: -I$${includedir}\n' $(NAME) 
>> $(DESTDIR)$(PREFIX)/$(PKGDIR)/$(PCNAME)
- 
- uninstall:
-       for f in $(SOFILENAME) $(SONAME) $(LIBNAME) $(ANAME); do $(RM) 
$(DESTDIR)$(PREFIX)/$(LIBDIR)/$$f; done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfreeaptx.git/commitdiff/7357341a834d0a91e9000c0a281296b4615dbca1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to