89 lines
3.3 KiB
RPMSpec
89 lines
3.3 KiB
RPMSpec
Name: libnjb
|
|
Version: 2.2.7
|
|
Release: 1mamba
|
|
Summary: A C library and API for communicating with the Creative Nomad JukeBox and Dell DJ digital audio players
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://libnjb.sourceforge.net
|
|
Source: http://switch.dl.sourceforge.net/sourceforge/libnjb/libnjb-%{version}.tar.gz
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
libnjb is a C library and API for communicating with the Creative Nomad JukeBox and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. The protocol these devices use is presumably called PDE (Portable Digital Entertainment protocol) at Creative. Newer devices using the Microsoft MTP (Media Transfer Protocol) are NOT supported.
|
|
There are no kernel devices required for libnjb:s operation, so instead it depends on user-level USB using libusb on all platforms.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
libnjb is a C library and API for communicating with the Creative Nomad JukeBox and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. The protocol these devices use is presumably called PDE (Portable Digital Entertainment protocol) at Creative. Newer devices using the Microsoft MTP (Media Transfer Protocol) are NOT supported.
|
|
There are no kernel devices required for libnjb:s operation, so instead it depends on user-level USB using libusb on all platforms.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%package -n njb-tools
|
|
Summary: Tools for using %{name}
|
|
Group: System/Tools
|
|
|
|
%description -n njb-tools
|
|
libnjb is a C library and API for communicating with the Creative Nomad JukeBox and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. The protocol these devices use is presumably called PDE (Portable Digital Entertainment protocol) at Creative. Newer devices using the Microsoft MTP (Media Transfer Protocol) are NOT supported.
|
|
There are no kernel devices required for libnjb:s operation, so instead it depends on user-level USB using libusb on all platforms.
|
|
|
|
This package contains a set of tools for interfacing to %{name}.
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--program-prefix=njb-
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnjb.so.*
|
|
%doc AUTHORS ChangeLog ChangeLog-old LICENSE README
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libnjb.a
|
|
%{_libdir}/libnjb.la
|
|
%{_libdir}/libnjb.so
|
|
%{_includedir}/*.h
|
|
%{_exec_prefix}/lib/pkgconfig/*.pc
|
|
|
|
%files -n njb-tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
|
|
%changelog
|
|
* Fri Jul 01 2011 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-1mamba
|
|
- package created by autospec
|