update to 0.1.2 [release 0.1.2-1mamba;Sun Dec 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:43:58 +01:00
parent 05a84310e0
commit 7465a9d666

View File

@ -1,16 +1,22 @@
Name: libkarma
Version: 0.1.1
Release: 2mamba
Version: 0.1.2
Release: 1mamba
Summary: A C library for managing the Rio Karma mp3 player via TCP/IP
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freakysoft.de/html/libkarma/
Source: http://www.freakysoft.de/html/libkarma/libkarma-%{version}.tar.gz
URL: https://www.freakysoft.de/html/libkarma/
Source: https://www.freakysoft.de/libkarma/libkarma-%{version}.tar.gz
Patch0: libkarma-0.1.0-install_dest.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libtag-devel
BuildRequires: libusb-compat-devel
BuildRequires: libz-devel
BuildRequires: mono-devel
## AUTOBUILDREQ-END
%description
libkarma is a C library for managing the Rio Karma mp3 player via TCP/IP. It supports all basic protocol commands and some advanced functions on top of these, like caching of the Rio database. There are two proof-of-concept tools included, riocp and chprop. riocp can be used to upload files to the Karma.
@ -24,6 +30,8 @@ Requires: %{name} = %{version}
libkarma is a C library for managing the Rio Karma mp3 player via TCP/IP. It supports all basic protocol commands and some advanced functions on top of these, like caching of the Rio database. There are two proof-of-concept tools included, riocp and chprop. riocp can be used to upload files to the Karma.
This is the development package.
%debug_package
%prep
%setup -q
#%patch0 -p1
@ -33,9 +41,18 @@ This is the development package.
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DEST=%{buildroot}%{_prefix} PREFIX=%{_prefix}
%makeinstall \
DEST=%{buildroot}%{_prefix} \
PREFIX=%{_prefix} \
CHOWNPROG=/bin/true \
CHGRPPROG=/bin/true
rm -rf %{buildroot}%{_datadir}/doc/libkarma
%ifarch x86_64 aarch64
mv %{buildroot}%{_prefix}/lib{,64}
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -44,12 +61,14 @@ rm -rf %{buildroot}%{_datadir}/doc/libkarma
%{_bindir}/chprop
%{_bindir}/karma_helper
%{_bindir}/riocp
%{_libdir}/karma-sharp/karma-sharp.dll
%{_libdir}/libkarma.so.*
%{_mandir}/man1/chprop.1.gz
%{_mandir}/man1/karma_helper.1.gz
%{_mandir}/man1/riocp.1.gz
%doc COPYING ChangeLog THANKS TODO
%dir %{_libdir}/karma-sharp
%{_libdir}/karma-sharp/karma-sharp.dll
%{_libdir}/karma-sharp/karma-sharp.dll.config
%{_mandir}/man1/chprop.1*
%{_mandir}/man1/karma_helper.1*
%{_mandir}/man1/riocp.1*
%doc COPYING
%files devel
%defattr(-,root,root)
@ -57,8 +76,12 @@ rm -rf %{buildroot}%{_datadir}/doc/libkarma
%{_libdir}/libkarma.so
%{_libdir}/pkgconfig/karma-sharp.pc
%{_includedir}/libkarma/*.h
%doc ChangeLog THANKS TODO
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-1mamba
- update to 0.1.2
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 0.1.1-2mamba
- automatic rebuild by autodist