|
@@ -1,8 +1,8 @@
|
|
Name: libnjb
|
|
Name: libnjb
|
|
Summary: Creative Labs Nomad Jukebox library
|
|
Summary: Creative Labs Nomad Jukebox library
|
|
Summary(ja): クリエイティブラボ社の Nomad ジュークボックスライブラリ
|
|
Summary(ja): クリエイティブラボ社の Nomad ジュークボックスライブラリ
|
|
-Version: 2.2.6
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 2.2.7
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: BSD
|
|
License: BSD
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -11,7 +11,6 @@ URL: http://libnjb.sourceforge.net/
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
-Requires: pam
|
|
|
|
Requires: udev
|
|
Requires: udev
|
|
BuildRequires: doxygen
|
|
BuildRequires: doxygen
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libusb-devel
|
|
@@ -31,6 +30,7 @@ Creative Nomad Jukebox MP3プレーヤーとコミュニケートするための
|
|
|
|
|
|
%package examples
|
|
%package examples
|
|
Summary: Example programs for libnjb
|
|
Summary: Example programs for libnjb
|
|
|
|
+Summary(ja): libnjb のサンプルプログラム
|
|
Group: Applications/Multimedia
|
|
Group: Applications/Multimedia
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
@@ -40,23 +40,22 @@ Creative Nomad Jukebox and Dell DJ line of MP3 players.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for libnjb
|
|
Summary: Development files for libnjb
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Summary(ja): libnjb の開発用ファイル
|
|
|
|
+Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-# doc subpackage removed in newer releases, and included
|
|
|
|
-# in the -devel package.
|
|
|
|
-Provides: libnjb-doc
|
|
|
|
-#Obsoletes: libnjb-doc <= 2.2-1
|
|
|
|
Requires: libusb-devel
|
|
Requires: libusb-devel
|
|
Requires: ncurses-devel
|
|
Requires: ncurses-devel
|
|
Requires: zlib-devel
|
|
Requires: zlib-devel
|
|
|
|
|
|
|
|
+Provides: libnjb-doc = %{version}-%{release}
|
|
|
|
+Obsoletes: libnjb-doc < %{version}-%{release}
|
|
|
|
+
|
|
%description devel
|
|
%description devel
|
|
This package provides development files for the libnjb
|
|
This package provides development files for the libnjb
|
|
library for Creative Nomad/Zen/Jukebox and Dell DJ line of MP3 players.
|
|
library for Creative Nomad/Zen/Jukebox and Dell DJ line of MP3 players.
|
|
|
|
|
|
%description devel -l ja
|
|
%description devel -l ja
|
|
-このパッケージは MP3 プレーヤーの creative Nomad/Zen/Jukebox と Dell DJ 系列のための libnjb
|
|
|
|
-ライブラリ用の開発ファイルを提供します。
|
|
|
|
|
|
+このパッケージは MP3 プレーヤーの creative Nomad/Zen/Jukebox と Dell DJ 系列のための libnjb ライブラリ用の開発ファイルを提供します。
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -67,26 +66,30 @@ make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-%makeinstall
|
|
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+
|
|
# Remove libtool archive remnant
|
|
# Remove libtool archive remnant
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libnjb.la
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libnjb.la
|
|
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop
|
|
|
|
-install -p -m 644 libnjb.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi
|
|
|
|
-# Copy documentation to a good place
|
|
|
|
-install -p -m 644 AUTHORS ChangeLog ChangeLog-old FAQ \
|
|
|
|
-INSTALL LICENSE HACKING $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
|
|
|
|
|
+# Install udev rules file.
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d
|
|
|
|
+install -p -m 644 libnjb.rules $RPM_BUILD_ROOT/lib/udev/rules.d/60-libnjb.rules
|
|
|
|
+
|
|
# Touch generated files to make them always have the same time stamp.
|
|
# Touch generated files to make them always have the same time stamp.
|
|
touch -r configure.ac \
|
|
touch -r configure.ac \
|
|
$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/* \
|
|
$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/* \
|
|
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
|
$RPM_BUILD_ROOT%{_includedir}/*.h \
|
|
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
|
|
$RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
|
|
|
|
+
|
|
# Remove the Doxygen HTML documentation, this get different
|
|
# Remove the Doxygen HTML documentation, this get different
|
|
# each time it is generated and thus creates multiarch conflicts.
|
|
# each time it is generated and thus creates multiarch conflicts.
|
|
# I don't want to pre-generate it but will instead wait for upstream
|
|
# I don't want to pre-generate it but will instead wait for upstream
|
|
# to find a suitable solution that will always bring the same files,
|
|
# to find a suitable solution that will always bring the same files,
|
|
# or that Doxygen is fixed not to do this.
|
|
# or that Doxygen is fixed not to do this.
|
|
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
|
|
|
|
|
|
+#rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
|
|
|
|
+rm -rf _docs_to_include
|
|
|
|
+mkdir -p _docs_to_include
|
|
|
|
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html _docs_to_include
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -96,21 +99,26 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
|
|
+%doc AUTHORS ChangeLog* FAQ LICENSE README
|
|
%{_libdir}/*.so.*
|
|
%{_libdir}/*.so.*
|
|
-%config(noreplace) %{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi
|
|
|
|
|
|
+%config(noreplace) /lib/udev/rules.d/*
|
|
|
|
+
|
|
%files examples
|
|
%files examples
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
|
|
+%doc HACKING _docs_to_include/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
-%dir %{_docdir}/%{name}-%{version}
|
|
|
|
-%{_docdir}/%{name}-%{version}/*
|
|
|
|
%{_includedir}/*.h
|
|
%{_includedir}/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.7-1
|
|
|
|
+- updated to 2.2.7
|
|
|
|
+- built on current VineSeed
|
|
|
|
+
|
|
* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-2
|
|
* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-2
|
|
- rebuilt with current VineSeed
|
|
- rebuilt with current VineSeed
|
|
|
|
|
|
@@ -264,4 +272,4 @@ rm -rf $RPM_BUILD_ROOT
|
|
- Second CVS RPM
|
|
- Second CVS RPM
|
|
|
|
|
|
* Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
|
|
* Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
|
|
-- First RPM'ed
|
|
|
|
|
|
+- First RPM'ed
|