libnjb-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. Name: libnjb
  2. Summary: Creative Labs Nomad Jukebox library
  3. Summary(ja): クリエイティブラボ社の Nomad ジュークボックスライブラリ
  4. Version: 2.2.6
  5. Release: 2%{?_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: pam
  12. Requires: udev
  13. BuildRequires: doxygen
  14. BuildRequires: libusb-devel
  15. BuildRequires: ncurses-devel
  16. BuildRequires: zlib-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  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: ncurses-devel
  42. Requires: zlib-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 Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-2
  95. - rebuilt with current VineSeed
  96. * Sat Jan 10 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 2.2.6-1vl5
  97. - initial build for Vine SEED
  98. - spec in utf-8
  99. * Sat Feb 9 2008 Linus Walleij <triad@df.lth.se> 2.2.6-3
  100. - Rebuild for GCC 4.3.
  101. * Wed Oct 24 2007 Linus Walleij <triad@df.lth.se> 2.2.6-2
  102. - Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts.
  103. Either upstream (that's me!) needs to work around the HTML files being
  104. different each time OR Doxygen must stop generating anchors that
  105. hash the system time, creating different files with each generation.
  106. Pre-generating the docs is deemed silly. (Someone will disagree.)
  107. * Wed Sep 5 2007 Linus Walleij <triad@df.lth.se> 2.2.6-1
  108. - Long overdue upstream release.
  109. - Shape up udev rules so they look like the libsane stuff.
  110. - Add HAL FDI file.
  111. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 2.2.5-4
  112. - Fixup libnjb udev rules to work with new udev and HAL.
  113. * Mon Aug 28 2006 Linus Walleij <triad@df.lth.se> 2.2.5-3
  114. - Rebuild for Fedora Extras 6.
  115. * Tue Feb 14 2006 Linus Walleij <triad@df.lth.se> 2.2.5-2
  116. - Rebuild for Fedora Extras 5.
  117. * Sun Jan 29 2006 Linus Walleij <triad@df.lth.se> 2.2.5-1
  118. - New upstream release.
  119. * Wed Jan 25 2006 Linus Walleij <triad@df.lth.se> 2.2.4-2
  120. - Fix udev problem, let go of hotplug, fix console perms.
  121. - Still working on libusb vs udev issues.
  122. * Wed Oct 12 2005 Linus Walleij <triad@df.lth.se> 2.2.4-1
  123. - New upstream release.
  124. * Mon Sep 19 2005 Linus Walleij <triad@df.lth.se> 2.2.3-1
  125. - New upstream release.
  126. * Tue Sep 6 2005 Linus Walleij <triad@df.lth.se> 2.2.2-1
  127. - New upstream release.
  128. * Wed Aug 11 2005 Linus Walleij <triad@df.lth.se> 2.2.1-7
  129. - Forgot one extraneous docdir, removing it.
  130. * Wed Aug 10 2005 Linus Walleij <triad@df.lth.se> 2.2.1-6
  131. - Even more fixes after more feedback from Michael.
  132. * Tue Aug 9 2005 Linus Walleij <triad@df.lth.se> 2.2.1-5
  133. - More fixes after feedback from Michael Schwendt.
  134. * Sun Aug 7 2005 Linus Walleij <triad@df.lth.se> 2.2.1-4
  135. - More fixes after feedback from Ralf Corsepius.
  136. * Sat Aug 6 2005 Linus Walleij <triad@df.lth.se> 2.2.1-3
  137. - Remove unnecessary macros.
  138. * Mon Aug 1 2005 Linus Walleij <triad@df.lth.se> 2.2.1-2
  139. - More work on Fedora compliance.
  140. * Sat Jul 30 2005 Linus Walleij <triad@df.lth.se> 2.2.1-1
  141. - Fedora extrafication, created a -devel package.
  142. * Mon Jun 27 2005 Linus Walleij <triad@df.lth.se> 2.2-1
  143. - Fixed a lot of RPM modernization for 2.2 release
  144. * Mon May 23 2005 Linus Walleij <triad@df.lth.se> 2.1.2-1
  145. - Interrim 2.1.2 release. Fixed program prefix.
  146. * Fri May 13 2005 Linus Walleij <triad@df.lth.se> 2.1.1-1
  147. - Interrim 2.1.1 release. Fixed library versioning.
  148. * Tue May 10 2005 Linus Walleij <triad@df.lth.se> 2.1-1
  149. - Final 2.1 release. Removed the checkings for old hotplug versions.
  150. * Fri Mar 4 2005 Ed Welch <ed_welch@inbox.net> 2.0-1mdk
  151. - Mandrake rpm for final 2.0 release.
  152. * Wed Mar 2 2005 Linus Walleij <triad@df.lth.se> 2.0-1
  153. - Final 2.0 release.
  154. * Mon Feb 21 2005 Linus Walleij <triad@df.lth.se> 2.0-0.RC1
  155. - Release candidate 1 for 2.0.
  156. * Tue Feb 8 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050208
  157. - Third CVS snapshot for the pre-2.0 series.
  158. * Thu Jan 20 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050120
  159. - Second CVS snapshot for the pre-2.0 series.
  160. * Mon Jan 10 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050110
  161. - A CVS snapshot for the first pre-2.0 series.
  162. * Tue Nov 30 2004 Linus Walleij <triad@df.lth.se> 1.3-0.20041130
  163. - A CVS snapshot for the new API and all.
  164. * Wed Sep 29 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040929
  165. - A CVS snapshot, much needed, which also works
  166. * Fri Sep 24 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040924
  167. - A CVS snapshot, much needed.
  168. * Tue May 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
  169. - Added hook to redistribute pkgconfig module
  170. * Wed Apr 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
  171. - Final 1.1 release!
  172. * Wed Apr 21 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040421
  173. - A new CVS snapshot.
  174. * Fri Apr 9 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040409
  175. - A new CVS snapshot.
  176. * Sun Feb 22 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040222
  177. - A new CVS snapshot. Adressing several bugs.
  178. * Fri Jan 9 2004 Linus Walleij <triad@df.lth.se> 1.0.1-0.20040109
  179. - A new CVS release adressing bugs, better numbering scheme
  180. * Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0.1-1
  181. - Addressed some issues in 1.0
  182. * Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0-2
  183. - Second package for samples
  184. * Sat Dec 6 2003 Linus Walleij <triad@df.lth.se> 1.0-1
  185. - Final 1.0 release
  186. * Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-6
  187. - Seventh RPM
  188. * Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-5
  189. - Sixth RPM
  190. * Thu Jul 31 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-4
  191. - Fifth RPM
  192. * Wed Jun 11 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-3
  193. - Fourth RPM.
  194. * Mon Apr 21 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-2
  195. - Third RPM, big improvements in hotplug installation.
  196. * Sun Mar 30 2003 Linus Walleij <triad@df.lth.se> 1.1.0b
  197. - Second CVS RPM
  198. * Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
  199. - First RPM'ed