2024-01-06 05:11:10 +01:00
|
|
|
Name: libnjb
|
|
|
|
Version: 2.2.7
|
2024-01-06 05:11:11 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:11:10 +01:00
|
|
|
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
|
2024-01-06 05:11:11 +01:00
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/libnjb/libnjb-%{version}.tar.gz
|
2024-01-06 05:11:10 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:11:11 +01:00
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libdw-devel
|
2024-01-06 05:11:10 +01:00
|
|
|
BuildRequires: libncurses-devel
|
2024-01-06 05:11:11 +01:00
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libusb-compat-devel
|
2024-01-06 05:11:10 +01:00
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:11:11 +01:00
|
|
|
BuildRequires: libtag-devel >= 1.9.1
|
2024-01-06 05:11:10 +01:00
|
|
|
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.*
|
2024-01-06 05:11:11 +01:00
|
|
|
%doc AUTHORS LICENSE
|
2024-01-06 05:11:10 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnjb.a
|
|
|
|
%{_libdir}/libnjb.la
|
|
|
|
%{_libdir}/libnjb.so
|
|
|
|
%{_includedir}/*.h
|
2024-01-06 05:11:11 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc ChangeLog ChangeLog-old README
|
2024-01-06 05:11:10 +01:00
|
|
|
|
|
|
|
%files -n njb-tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:11:11 +01:00
|
|
|
* Wed Dec 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.7-2mamba
|
|
|
|
- mass rebuild with libtag 1.9.1
|
|
|
|
|
2024-01-06 05:11:10 +01:00
|
|
|
* 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
|