libmtp-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. Name: libmtp
  2. Summary: A software library for MTP media players
  3. Summary(ja): MTP メディアプレイヤーのためのソフトウェアライブラリ
  4. Version: 1.1.6
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://libmtp.sourceforge.net/
  9. Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: libusb1-devel
  12. BuildRequires: doxygen
  13. Requires: eudev
  14. Obsoletes: %{name}-hal < 1.1.6-3
  15. %description
  16. This package provides a software library for communicating with MTP
  17. (Media Transfer Protocol) media players, typically audio players, video
  18. players etc.
  19. %description -l ja
  20. このパッケージは典型的な音声プレイヤーや動画プレイヤーなどの
  21. MTP (Media Transfer Protocol) メディアプレイヤーのための
  22. ソフトウェアライブラリを提供します.
  23. %package examples
  24. Summary: Example programs for libmtp
  25. Summary(ja): libmtp のプログラム例集
  26. Group: Applications/Multimedia
  27. Requires: %{name} = %{version}-%{release}
  28. %description examples
  29. This package provides example programs for communicating with MTP
  30. devices.
  31. %description -l ja examples
  32. このパッケージは MTP デバイスを用いて通信するためのプログラム例集を提供します.
  33. %package devel
  34. Summary: Development files for libmtp
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. Requires: libusb1-devel
  39. %description devel
  40. This package provides development files for the libmtp
  41. library for MTP media players.
  42. %description -l ja devel
  43. このパッケージは MTP メディアプレイヤーのための libmtp ライブラリに対する
  44. 開発ファイル群を提供します.
  45. %prep
  46. %setup -q
  47. %build
  48. %configure --disable-static
  49. make %{?_smp_mflags}
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make DESTDIR=$RPM_BUILD_ROOT install
  53. # Remove libtool archive remnant
  54. rm -f $RPM_BUILD_ROOT%{_libdir}/libmtp.la
  55. # Replace links with relative links
  56. rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-delfile
  57. rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-getfile
  58. rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-newfolder
  59. rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-sendfile
  60. rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-sendtr
  61. pushd $RPM_BUILD_ROOT%{_bindir}
  62. ln -sf mtp-connect mtp-delfile
  63. ln -sf mtp-connect mtp-getfile
  64. ln -sf mtp-connect mtp-newfolder
  65. ln -sf mtp-connect mtp-sendfile
  66. ln -sf mtp-connect mtp-sendtr
  67. popd
  68. %clean
  69. rm -rf $RPM_BUILD_ROOT
  70. %post -p /sbin/ldconfig
  71. %postun -p /sbin/ldconfig
  72. %files
  73. %defattr(-, root,root,-)
  74. %doc AUTHORS ChangeLog COPYING INSTALL README TODO
  75. %{_libdir}/*.so.*
  76. /lib/udev/mtp-probe
  77. /lib/udev/rules.d/69-libmtp.rules
  78. %files examples
  79. %defattr(-,root,root,-)
  80. %{_bindir}/*
  81. %files devel
  82. %defattr(-,root,root,-)
  83. %{_libdir}/*.so
  84. %dir %{_docdir}/%{name}-%{version}
  85. %{_docdir}/%{name}-%{version}/*
  86. %{_includedir}/*.h
  87. %{_libdir}/pkgconfig/*.pc
  88. %changelog
  89. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-3
  90. - remove %%{name}-hal subpackage
  91. - change BuildRequires: libusb1-devel instead of libusb-devel
  92. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2
  93. - remove configure option "--program-prefix=mtp-"
  94. - fix %%files (move mtp-probe and 69-libmtp.rules)
  95. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1
  96. - new upstream release
  97. - remove Patch0 (libmtp-0.2.6.1-simpler-rules.patch)
  98. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-1
  99. - updated to 1.0.3
  100. - Split out hal sub-package
  101. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.7-2
  102. - rebuilt with rpm-4.8.1 for pkg-config
  103. * Tue Jun 16 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.3.7-1
  104. - new upstream release
  105. * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.3.5-1
  106. - initial build based on Fedora package
  107. * Sun Dec 21 2008 Linus Walleij <triad@df.lth.se> 0.3.5-1
  108. - New upstream bugfix release.
  109. - Nuke documentation again. Multilib no like.
  110. * Fri Nov 7 2008 Linus Walleij <triad@df.lth.se> 0.3.4-1
  111. - New upstream bugfix release.
  112. - Bastiens patch is upstreamed, dropping that patch.
  113. * Sat Oct 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-4
  114. - Update device list from CVS and fix the build
  115. * Sat Oct 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-3
  116. - Add support for more Nokia phones from their WMP10 drivers
  117. * Fri Oct 24 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-2
  118. - Add support for the Nokia N82
  119. * Fri Sep 26 2008 Linus Walleij <triad@df.lth.se> 0.3.3-1
  120. - New upstream bugfix release.
  121. * Sat Sep 20 2008 Linus Walleij <triad@df.lth.se> 0.3.2-1
  122. - New upstream version. (API and ABI compatible.) Fixes
  123. bugs on Creative devices.
  124. * Tue Aug 26 2008 Linus Walleij <triad@df.lth.se> 0.3.1-1
  125. - New upstream version. (API and ABI compatible.)
  126. * Thu Aug 7 2008 Linus Walleij <triad@df.lth.se> 0.3.0-1
  127. - Upgrade to 0.3.0. This has to happen some way, perhaps the
  128. painful way: I upgrade to gnomad2 2.9.2 that use 0.3.0 and
  129. then I write patches to Rhythmbox and Amarok to use 0.3.0
  130. and also send these upstream.
  131. * Fri Jul 11 2008 Linus Walleij <triad@df.lth.se> 0.2.6.1-3
  132. - Loose PAM console permissions, also assume that we can ship
  133. documentation again since Doxygen has been updated. Fedora
  134. HALd rules for the portable_audio_player capability in
  135. 20-acl-management.fdi will change permissions on the device
  136. node for each plugged-in device.
  137. * Fri May 23 2008 Adam Jackson <ajax@redhat.com> 0.2.6.1-2
  138. - libmtp-0.2.6.1-simpler-rules.patch: Simplify udev rules for faster bootup.
  139. * Sat Mar 8 2008 Linus Walleij <triad@df.lth.se> 0.2.6.1-1
  140. - New upstream bugfix release.
  141. * Sun Mar 2 2008 Linus Walleij <triad@df.lth.se> 0.2.6-1
  142. - New upstream release.
  143. * Sat Feb 9 2008 Linus Walleij <triad@df.lth.se> 0.2.5-2
  144. - Rebuild for GCC 4.3.
  145. * Wed Jan 9 2008 Linus Walleij <triad@df.lth.se> 0.2.5-1
  146. - New upstream release.
  147. * Thu Nov 22 2007 Linus Walleij <triad@df.lth.se> 0.2.4-1
  148. - New upstream release.
  149. * Thu Oct 25 2007 Linus Walleij <triad@df.lth.se> 0.2.3-1
  150. - New upstream release.
  151. - New soname libmtp.so.7 so all apps using libmtp have to
  152. be recompiled, have fun.
  153. - If it works out we'll try to reserve a spot to backport
  154. this fixed version to F8 and F7 in a controlled manner.
  155. * Wed Oct 24 2007 Linus Walleij <triad@df.lth.se> 0.2.2-2
  156. - Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts.
  157. Either upstream (that's me!) needs to work around the HTML files being
  158. different each time OR Doxygen must stop generating anchors that
  159. hash the system time, creating different files with each generation.
  160. Pre-generating the docs is deemed silly. (Someone will disagree.)
  161. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.2.2-1
  162. - New upstream release.
  163. * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.2.1-2
  164. - License field update from LGPL to LGPLv2+
  165. * Tue Aug 7 2007 Linus Walleij <triad@df.lth.se> 0.2.1-1
  166. - Upstream bugfix release.
  167. * Sat Aug 4 2007 Linus Walleij <triad@df.lth.se> 0.2.0-1
  168. - New upstream release.
  169. - Fixes (hopefully) the issues found by Harald.
  170. - Dependent apps will need to recompile and patch some minor code.
  171. * Mon Jul 30 2007 Harald Hoyer <harald@redhat.com> - 0.1.5-2
  172. - changed udev rules for new kernel and udev versions
  173. * Mon Mar 26 2007 Linus Walleij <triad@df.lth.se> 0.1.5-1
  174. - New upstream release.
  175. - Candidate for FC5, FC6 backport.
  176. - Hopefully API/ABI compatible, testing in devel tree.
  177. * Wed Mar 7 2007 Linus Walleij <triad@df.lth.se> 0.1.4-1
  178. - New upstream release.
  179. - Candidate for FC5, FC6 backport.
  180. - Hopefully API/ABI compatible, testing in devel tree.
  181. * Wed Jan 17 2007 Linus Walleij <triad@df.lth.se> 0.1.3-1
  182. - New upstream release.
  183. - Candidate for FC5, FC6 backport.
  184. * Thu Dec 7 2006 Linus Walleij <triad@df.lth.se> 0.1.0-1
  185. - New upstream release.
  186. - Start providing HAL rules.
  187. * Fri Oct 20 2006 Linus Walleij <triad@df.lth.se> 0.0.21-1
  188. - New upstream release.
  189. * Tue Sep 26 2006 Linus Walleij <triad@df.lth.se> 0.0.20-1
  190. - New upstream release.
  191. - Updated after review by Parag AN, Kevin Fenzi and Ralf Corsepius.
  192. - Fixed pkgconfig bug upstream after being detected by Ralf...
  193. * Sun Aug 27 2006 Linus Walleij <triad@df.lth.se> 0.0.15-1
  194. - New upstream release.
  195. * Wed Aug 23 2006 Linus Walleij <triad@df.lth.se> 0.0.13-1
  196. - First RPM'ed