libmtp-vl.spec 8.7 KB

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