|
|
af8bfd8 |
# SPEC file for libnjb, primary target is the Fedora Extras
|
|
|
af8bfd8 |
# RPM repository.
|
|
|
af8bfd8 |
#
|
|
|
af8bfd8 |
# For testing a certain distribution, rely on macros that
|
|
|
af8bfd8 |
# you define in your ".rpmmacros" file. For example, for
|
|
|
af8bfd8 |
# test building a Fedora Extras package, define the following
|
|
|
af8bfd8 |
# two macros in .rpmmacros:
|
|
|
af8bfd8 |
#
|
|
|
2791adc |
# %dist .fc5
|
|
|
2791adc |
# %fedora 5
|
|
|
af8bfd8 |
#
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
Name: libnjb
|
|
|
c096f30 |
Version: 2.2.4
|
|
|
2791adc |
Release: 2%{?dist}
|
|
|
af8bfd8 |
Summary: A software library for talking to the Creative Nomad Jukeboxes and Dell DJs
|
|
|
af8bfd8 |
URL: http://libnjb.sourceforge.net/
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
Group: System Environment/Libraries
|
|
|
2791adc |
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
2791adc |
Source1: libnjb.rules
|
|
|
2791adc |
Source2: libnjb.perms
|
|
|
af8bfd8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
af8bfd8 |
License: BSD
|
|
|
2791adc |
Requires: udev
|
|
|
2791adc |
Requires: pam
|
|
|
af8bfd8 |
BuildRequires: libusb-devel
|
|
|
af8bfd8 |
BuildRequires: zlib-devel
|
|
|
af8bfd8 |
BuildRequires: ncurses-devel
|
|
|
af8bfd8 |
BuildRequires: doxygen
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%description
|
|
|
af8bfd8 |
This package provides a software library for communicating with the
|
|
|
af8bfd8 |
Creative Nomad Jukebox line of MP3 players.
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%package examples
|
|
|
af8bfd8 |
Summary: Example programs for libnjb
|
|
|
af8bfd8 |
Group: Applications/Multimedia
|
|
|
af8bfd8 |
Requires: %{name} = %{version}-%{release}
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%description examples
|
|
|
af8bfd8 |
This package provides example programs for communicating with the
|
|
|
af8bfd8 |
Creative Nomad Jukebox and Dell DJ line of MP3 players.
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%package devel
|
|
|
af8bfd8 |
Summary: Development files for libnjb
|
|
|
af8bfd8 |
Group: System Environment/Libraries
|
|
|
af8bfd8 |
Requires: %{name} = %{version}-%{release}
|
|
|
af8bfd8 |
# doc subpackage removed in newer releases, and included
|
|
|
af8bfd8 |
# in the -devel package.
|
|
|
af8bfd8 |
Provides: libnjb-doc
|
|
|
af8bfd8 |
Obsoletes: libnjb-doc <= 2.2-1
|
|
|
af8bfd8 |
Requires: libusb-devel
|
|
|
af8bfd8 |
Requires: zlib-devel
|
|
|
af8bfd8 |
Requires: ncurses-devel
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%description devel
|
|
|
af8bfd8 |
This package provides development files for the libnjb
|
|
|
af8bfd8 |
library for Creative Nomad/Zen/Jukebox and Dell DJ line of MP3 players.
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%prep
|
|
|
af8bfd8 |
%setup -q
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%build
|
|
|
af8bfd8 |
%configure --disable-static --program-prefix=njb-
|
|
|
af8bfd8 |
make %{?_smp_mflags}
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%install
|
|
|
af8bfd8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
af8bfd8 |
%makeinstall
|
|
|
af8bfd8 |
# Remove libtool archive remnant
|
|
|
af8bfd8 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libnjb.la
|
|
|
2791adc |
# Install udev rules file.
|
|
|
2791adc |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
|
|
|
2791adc |
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/60-libnjb.rules
|
|
|
2791adc |
# Install device permissions
|
|
|
2791adc |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.perms.d/
|
|
|
2791adc |
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.perms.d/60-libnjb.perms
|
|
|
af8bfd8 |
# Copy documentation to a good place
|
|
|
af8bfd8 |
install -p -m 644 AUTHORS ChangeLog ChangeLog-old FAQ \
|
|
|
af8bfd8 |
INSTALL LICENSE HACKING $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%clean
|
|
|
af8bfd8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%post -p /sbin/ldconfig
|
|
|
af8bfd8 |
%postun -p /sbin/ldconfig
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%files
|
|
|
af8bfd8 |
%defattr(-, root, root)
|
|
|
af8bfd8 |
%{_libdir}/*.so.*
|
|
|
2791adc |
%config(noreplace) %{_sysconfdir}/udev/rules.d/*
|
|
|
2791adc |
%config(noreplace) %{_sysconfdir}/security/console.perms.d/*
|
|
|
af8bfd8 |
%files examples
|
|
|
af8bfd8 |
%defattr(-, root, root)
|
|
|
af8bfd8 |
%{_bindir}/*
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%files devel
|
|
|
af8bfd8 |
%defattr(-, root, root)
|
|
|
af8bfd8 |
%{_libdir}/*.so
|
|
|
af8bfd8 |
%dir %{_docdir}/%{name}-%{version}
|
|
|
af8bfd8 |
%{_docdir}/%{name}-%{version}/*
|
|
|
af8bfd8 |
%{_includedir}/*.h
|
|
|
af8bfd8 |
%{_libdir}/pkgconfig/*.pc
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
|
|
|
af8bfd8 |
%changelog
|
|
|
2791adc |
* Wed Jan 25 2006 Linus Walleij <triad@df.lth.se> 2.2.4-2
|
|
|
2791adc |
- Fix udev problem, let go of hotplug, fix console perms.
|
|
|
2791adc |
- Still working on libusb vs udev issues.
|
|
|
c096f30 |
* Wed Oct 12 2005 Linus Walleij <triad@df.lth.se> 2.2.4-1
|
|
|
c096f30 |
- New upstream release.
|
|
|
96b0665 |
* Mon Sep 19 2005 Linus Walleij <triad@df.lth.se> 2.2.3-1
|
|
|
96b0665 |
- New upstream release.
|
|
|
17546e7 |
* Tue Sep 6 2005 Linus Walleij <triad@df.lth.se> 2.2.2-1
|
|
|
17546e7 |
- New upstream release.
|
|
|
af8bfd8 |
* Wed Aug 11 2005 Linus Walleij <triad@df.lth.se> 2.2.1-7
|
|
|
af8bfd8 |
- Forgot one extraneous docdir, removing it.
|
|
|
af8bfd8 |
* Wed Aug 10 2005 Linus Walleij <triad@df.lth.se> 2.2.1-6
|
|
|
af8bfd8 |
- Even more fixes after more feedback from Michael.
|
|
|
af8bfd8 |
* Tue Aug 9 2005 Linus Walleij <triad@df.lth.se> 2.2.1-5
|
|
|
af8bfd8 |
- More fixes after feedback from Michael Schwendt.
|
|
|
af8bfd8 |
* Sun Aug 7 2005 Linus Walleij <triad@df.lth.se> 2.2.1-4
|
|
|
af8bfd8 |
- More fixes after feedback from Ralf Corsepius.
|
|
|
af8bfd8 |
* Sat Aug 6 2005 Linus Walleij <triad@df.lth.se> 2.2.1-3
|
|
|
af8bfd8 |
- Remove unnecessary macros.
|
|
|
af8bfd8 |
* Mon Aug 1 2005 Linus Walleij <triad@df.lth.se> 2.2.1-2
|
|
|
af8bfd8 |
- More work on Fedora compliance.
|
|
|
af8bfd8 |
* Sat Jul 30 2005 Linus Walleij <triad@df.lth.se> 2.2.1-1
|
|
|
af8bfd8 |
- Fedora extrafication, created a -devel package.
|
|
|
af8bfd8 |
* Mon Jun 27 2005 Linus Walleij <triad@df.lth.se> 2.2-1
|
|
|
af8bfd8 |
- Fixed a lot of RPM modernization for 2.2 release
|
|
|
af8bfd8 |
* Mon May 23 2005 Linus Walleij <triad@df.lth.se> 2.1.2-1
|
|
|
af8bfd8 |
- Interrim 2.1.2 release. Fixed program prefix.
|
|
|
af8bfd8 |
* Fri May 13 2005 Linus Walleij <triad@df.lth.se> 2.1.1-1
|
|
|
af8bfd8 |
- Interrim 2.1.1 release. Fixed library versioning.
|
|
|
af8bfd8 |
* Tue May 10 2005 Linus Walleij <triad@df.lth.se> 2.1-1
|
|
|
af8bfd8 |
- Final 2.1 release. Removed the checkings for old hotplug versions.
|
|
|
af8bfd8 |
* Fri Mar 4 2005 Ed Welch <ed_welch@inbox.net> 2.0-1mdk
|
|
|
af8bfd8 |
- Mandrake rpm for final 2.0 release.
|
|
|
af8bfd8 |
* Wed Mar 2 2005 Linus Walleij <triad@df.lth.se> 2.0-1
|
|
|
af8bfd8 |
- Final 2.0 release.
|
|
|
af8bfd8 |
* Mon Feb 21 2005 Linus Walleij <triad@df.lth.se> 2.0-0.RC1
|
|
|
af8bfd8 |
- Release candidate 1 for 2.0.
|
|
|
af8bfd8 |
* Tue Feb 8 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050208
|
|
|
af8bfd8 |
- Third CVS snapshot for the pre-2.0 series.
|
|
|
af8bfd8 |
* Thu Jan 20 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050120
|
|
|
af8bfd8 |
- Second CVS snapshot for the pre-2.0 series.
|
|
|
af8bfd8 |
* Mon Jan 10 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050110
|
|
|
af8bfd8 |
- A CVS snapshot for the first pre-2.0 series.
|
|
|
af8bfd8 |
* Tue Nov 30 2004 Linus Walleij <triad@df.lth.se> 1.3-0.20041130
|
|
|
af8bfd8 |
- A CVS snapshot for the new API and all.
|
|
|
af8bfd8 |
* Wed Sep 29 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040929
|
|
|
af8bfd8 |
- A CVS snapshot, much needed, which also works
|
|
|
af8bfd8 |
* Fri Sep 24 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040924
|
|
|
af8bfd8 |
- A CVS snapshot, much needed.
|
|
|
af8bfd8 |
* Tue May 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
|
|
|
af8bfd8 |
- Added hook to redistribute pkgconfig module
|
|
|
af8bfd8 |
* Wed Apr 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
|
|
|
af8bfd8 |
- Final 1.1 release!
|
|
|
af8bfd8 |
* Wed Apr 21 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040421
|
|
|
af8bfd8 |
- A new CVS snapshot.
|
|
|
af8bfd8 |
* Fri Apr 9 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040409
|
|
|
af8bfd8 |
- A new CVS snapshot.
|
|
|
af8bfd8 |
* Sun Feb 22 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040222
|
|
|
af8bfd8 |
- A new CVS snapshot. Adressing several bugs.
|
|
|
af8bfd8 |
* Fri Jan 9 2004 Linus Walleij <triad@df.lth.se> 1.0.1-0.20040109
|
|
|
af8bfd8 |
- A new CVS release adressing bugs, better numbering scheme
|
|
|
af8bfd8 |
* Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0.1-1
|
|
|
af8bfd8 |
- Addressed some issues in 1.0
|
|
|
af8bfd8 |
* Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0-2
|
|
|
af8bfd8 |
- Second package for samples
|
|
|
af8bfd8 |
* Sat Dec 6 2003 Linus Walleij <triad@df.lth.se> 1.0-1
|
|
|
af8bfd8 |
- Final 1.0 release
|
|
|
af8bfd8 |
* Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-6
|
|
|
af8bfd8 |
- Seventh RPM
|
|
|
af8bfd8 |
* Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-5
|
|
|
af8bfd8 |
- Sixth RPM
|
|
|
af8bfd8 |
* Thu Jul 31 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-4
|
|
|
af8bfd8 |
- Fifth RPM
|
|
|
af8bfd8 |
* Wed Jun 11 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-3
|
|
|
af8bfd8 |
- Fourth RPM.
|
|
|
af8bfd8 |
* Mon Apr 21 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-2
|
|
|
af8bfd8 |
- Third RPM, big improvements in hotplug installation.
|
|
|
af8bfd8 |
* Sun Mar 30 2003 Linus Walleij <triad@df.lth.se> 1.1.0b
|
|
|
af8bfd8 |
- Second CVS RPM
|
|
|
af8bfd8 |
* Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
|
|
|
af8bfd8 |
- First RPM'ed
|