libkarma/libkarma.spec

70 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libkarma
Version: 0.1.1
Release: 2mamba
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
Patch0: libkarma-0.1.0-install_dest.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%package devel
Summary: Devel package for libkarma
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
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.
%prep
%setup -q
#%patch0 -p1
%build
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DEST=%{buildroot}%{_prefix} PREFIX=%{_prefix}
rm -rf %{buildroot}%{_datadir}/doc/libkarma
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_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
%files devel
%defattr(-,root,root)
%{_libdir}/libkarma.a
%{_libdir}/libkarma.so
%{_libdir}/pkgconfig/karma-sharp.pc
%{_includedir}/libkarma/*.h
%changelog
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 0.1.1-2mamba
- automatic rebuild by autodist
* Thu Jun 18 2009 Automatic Build System <autodist@mambasoft.it> 0.1.1-1mamba
- automatic update by autodist
* Tue Aug 14 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created by autospec