libnjb-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. Name: libnjb
  2. Summary: Creative Labs Nomad Jukebox library
  3. Summary(ja): クリエイティブラボ社の Nomad ジュークボックスライブラリ
  4. Version: 2.2.7
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: System Environment/Libraries
  8. URL: http://libnjb.sourceforge.net/
  9. Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. Requires: udev
  12. BuildRequires: doxygen
  13. BuildRequires: libusb-devel
  14. BuildRequires: ncurses-devel
  15. BuildRequires: zlib-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. A library for communicating with the Creative Nomad Jukebox MP3 player. More information can be found at the libnjb web site: http://sf.net/projects/libnjb/
  20. This package contains the shared library.
  21. %description -l ja
  22. Creative Nomad Jukebox MP3プレーヤーとコミュニケートするためのライブラリです.libnjb ウェブサイトで詳しい情報を見つけることができます: http://sf.net/projects/libnjb/
  23. このパッケージには共有ライブラリが含まれています.
  24. %package examples
  25. Summary: Example programs for libnjb
  26. Summary(ja): libnjb のサンプルプログラム
  27. Group: Applications/Multimedia
  28. Requires: %{name} = %{version}-%{release}
  29. %description examples
  30. This package provides example programs for communicating with the
  31. Creative Nomad Jukebox and Dell DJ line of MP3 players.
  32. %package devel
  33. Summary: Development files for libnjb
  34. Summary(ja): libnjb の開発用ファイル
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: libusb-devel
  38. Requires: ncurses-devel
  39. Requires: zlib-devel
  40. Provides: libnjb-doc = %{version}-%{release}
  41. Obsoletes: libnjb-doc < %{version}-%{release}
  42. %description devel
  43. This package provides development files for the libnjb
  44. library for Creative Nomad/Zen/Jukebox and Dell DJ line of MP3 players.
  45. %description devel -l ja
  46. このパッケージは MP3 プレーヤーの creative Nomad/Zen/Jukebox と Dell DJ 系列のための libnjb ライブラリ用の開発ファイルを提供します。
  47. %prep
  48. %setup -q
  49. %build
  50. %configure --disable-static --program-prefix=njb-
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. # Remove libtool archive remnant
  56. rm -f $RPM_BUILD_ROOT%{_libdir}/libnjb.la
  57. # Install udev rules file.
  58. mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d
  59. install -p -m 644 libnjb.rules $RPM_BUILD_ROOT/lib/udev/rules.d/60-libnjb.rules
  60. # Touch generated files to make them always have the same time stamp.
  61. touch -r configure.ac \
  62. $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/* \
  63. $RPM_BUILD_ROOT%{_includedir}/*.h \
  64. $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
  65. # Remove the Doxygen HTML documentation, this get different
  66. # each time it is generated and thus creates multiarch conflicts.
  67. # I don't want to pre-generate it but will instead wait for upstream
  68. # to find a suitable solution that will always bring the same files,
  69. # or that Doxygen is fixed not to do this.
  70. #rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
  71. rm -rf _docs_to_include
  72. mkdir -p _docs_to_include
  73. mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html _docs_to_include
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %post -p /sbin/ldconfig
  77. %postun -p /sbin/ldconfig
  78. %files
  79. %defattr(-, root, root)
  80. %doc AUTHORS ChangeLog* FAQ LICENSE README
  81. %{_libdir}/*.so.*
  82. %config(noreplace) /lib/udev/rules.d/*
  83. %files examples
  84. %defattr(-, root, root)
  85. %{_bindir}/*
  86. %files devel
  87. %defattr(-, root, root)
  88. %doc HACKING _docs_to_include/*
  89. %{_libdir}/*.so
  90. %{_includedir}/*.h
  91. %{_libdir}/pkgconfig/*.pc
  92. %changelog
  93. * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.7-1
  94. - updated to 2.2.7
  95. - built on current VineSeed
  96. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-2
  97. - rebuilt with current VineSeed
  98. * Sat Jan 10 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 2.2.6-1vl5
  99. - initial build for Vine SEED
  100. - spec in utf-8
  101. * Sat Feb 9 2008 Linus Walleij <triad@df.lth.se> 2.2.6-3
  102. - Rebuild for GCC 4.3.
  103. * Wed Oct 24 2007 Linus Walleij <triad@df.lth.se> 2.2.6-2
  104. - Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts.
  105. Either upstream (that's me!) needs to work around the HTML files being
  106. different each time OR Doxygen must stop generating anchors that
  107. hash the system time, creating different files with each generation.
  108. Pre-generating the docs is deemed silly. (Someone will disagree.)
  109. * Wed Sep 5 2007 Linus Walleij <triad@df.lth.se> 2.2.6-1
  110. - Long overdue upstream release.
  111. - Shape up udev rules so they look like the libsane stuff.
  112. - Add HAL FDI file.
  113. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 2.2.5-4
  114. - Fixup libnjb udev rules to work with new udev and HAL.
  115. * Mon Aug 28 2006 Linus Walleij <triad@df.lth.se> 2.2.5-3
  116. - Rebuild for Fedora Extras 6.
  117. * Tue Feb 14 2006 Linus Walleij <triad@df.lth.se> 2.2.5-2
  118. - Rebuild for Fedora Extras 5.
  119. * Sun Jan 29 2006 Linus Walleij <triad@df.lth.se> 2.2.5-1
  120. - New upstream release.
  121. * Wed Jan 25 2006 Linus Walleij <triad@df.lth.se> 2.2.4-2
  122. - Fix udev problem, let go of hotplug, fix console perms.
  123. - Still working on libusb vs udev issues.
  124. * Wed Oct 12 2005 Linus Walleij <triad@df.lth.se> 2.2.4-1
  125. - New upstream release.
  126. * Mon Sep 19 2005 Linus Walleij <triad@df.lth.se> 2.2.3-1
  127. - New upstream release.
  128. * Tue Sep 6 2005 Linus Walleij <triad@df.lth.se> 2.2.2-1
  129. - New upstream release.
  130. * Wed Aug 11 2005 Linus Walleij <triad@df.lth.se> 2.2.1-7
  131. - Forgot one extraneous docdir, removing it.
  132. * Wed Aug 10 2005 Linus Walleij <triad@df.lth.se> 2.2.1-6
  133. - Even more fixes after more feedback from Michael.
  134. * Tue Aug 9 2005 Linus Walleij <triad@df.lth.se> 2.2.1-5
  135. - More fixes after feedback from Michael Schwendt.
  136. * Sun Aug 7 2005 Linus Walleij <triad@df.lth.se> 2.2.1-4
  137. - More fixes after feedback from Ralf Corsepius.
  138. * Sat Aug 6 2005 Linus Walleij <triad@df.lth.se> 2.2.1-3
  139. - Remove unnecessary macros.
  140. * Mon Aug 1 2005 Linus Walleij <triad@df.lth.se> 2.2.1-2
  141. - More work on Fedora compliance.
  142. * Sat Jul 30 2005 Linus Walleij <triad@df.lth.se> 2.2.1-1
  143. - Fedora extrafication, created a -devel package.
  144. * Mon Jun 27 2005 Linus Walleij <triad@df.lth.se> 2.2-1
  145. - Fixed a lot of RPM modernization for 2.2 release
  146. * Mon May 23 2005 Linus Walleij <triad@df.lth.se> 2.1.2-1
  147. - Interrim 2.1.2 release. Fixed program prefix.
  148. * Fri May 13 2005 Linus Walleij <triad@df.lth.se> 2.1.1-1
  149. - Interrim 2.1.1 release. Fixed library versioning.
  150. * Tue May 10 2005 Linus Walleij <triad@df.lth.se> 2.1-1
  151. - Final 2.1 release. Removed the checkings for old hotplug versions.
  152. * Fri Mar 4 2005 Ed Welch <ed_welch@inbox.net> 2.0-1mdk
  153. - Mandrake rpm for final 2.0 release.
  154. * Wed Mar 2 2005 Linus Walleij <triad@df.lth.se> 2.0-1
  155. - Final 2.0 release.
  156. * Mon Feb 21 2005 Linus Walleij <triad@df.lth.se> 2.0-0.RC1
  157. - Release candidate 1 for 2.0.
  158. * Tue Feb 8 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050208
  159. - Third CVS snapshot for the pre-2.0 series.
  160. * Thu Jan 20 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050120
  161. - Second CVS snapshot for the pre-2.0 series.
  162. * Mon Jan 10 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050110
  163. - A CVS snapshot for the first pre-2.0 series.
  164. * Tue Nov 30 2004 Linus Walleij <triad@df.lth.se> 1.3-0.20041130
  165. - A CVS snapshot for the new API and all.
  166. * Wed Sep 29 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040929
  167. - A CVS snapshot, much needed, which also works
  168. * Fri Sep 24 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040924
  169. - A CVS snapshot, much needed.
  170. * Tue May 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
  171. - Added hook to redistribute pkgconfig module
  172. * Wed Apr 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
  173. - Final 1.1 release!
  174. * Wed Apr 21 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040421
  175. - A new CVS snapshot.
  176. * Fri Apr 9 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040409
  177. - A new CVS snapshot.
  178. * Sun Feb 22 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040222
  179. - A new CVS snapshot. Adressing several bugs.
  180. * Fri Jan 9 2004 Linus Walleij <triad@df.lth.se> 1.0.1-0.20040109
  181. - A new CVS release adressing bugs, better numbering scheme
  182. * Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0.1-1
  183. - Addressed some issues in 1.0
  184. * Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0-2
  185. - Second package for samples
  186. * Sat Dec 6 2003 Linus Walleij <triad@df.lth.se> 1.0-1
  187. - Final 1.0 release
  188. * Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-6
  189. - Seventh RPM
  190. * Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-5
  191. - Sixth RPM
  192. * Thu Jul 31 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-4
  193. - Fifth RPM
  194. * Wed Jun 11 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-3
  195. - Fourth RPM.
  196. * Mon Apr 21 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-2
  197. - Third RPM, big improvements in hotplug installation.
  198. * Sun Mar 30 2003 Linus Walleij <triad@df.lth.se> 1.1.0b
  199. - Second CVS RPM
  200. * Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
  201. - First RPM'ed