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