libnjb-vl.spec 8.6 KB

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