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