[521] | 1 | Name: libmtp |
---|
| 2 | Summary: A software library for MTP media players |
---|
[2087] | 3 | Summary(ja): MTP メディアプレイヤーのためのソフトウェアライブラリ |
---|
[7633] | 4 | Version: 1.1.6 |
---|
[8793] | 5 | Release: 3%{?_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 |
---|
[8793] | 112 | * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-3 |
---|
| 113 | - remove %%{name}-hal subpackage |
---|
| 114 | - change BuildRequires: libusb1-devel instead of libusb-devel |
---|
| 115 | |
---|
[7982] | 116 | * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-2 |
---|
| 117 | - remove configure option "--program-prefix=mtp-" |
---|
| 118 | - fix %%files (move mtp-probe and 69-libmtp.rules) |
---|
| 119 | |
---|
[7633] | 120 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.6-1 |
---|
| 121 | - new upstream release |
---|
| 122 | - remove Patch0 (libmtp-0.2.6.1-simpler-rules.patch) |
---|
| 123 | |
---|
[2087] | 124 | * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-1 |
---|
| 125 | - updated to 1.0.3 |
---|
| 126 | - Split out hal sub-package |
---|
| 127 | |
---|
[1988] | 128 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.7-2 |
---|
| 129 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 130 | |
---|
[521] | 131 | * Tue Jun 16 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.3.7-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
| 134 | * Sat Jan 10 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.3.5-1 |
---|
| 135 | - initial build based on Fedora package |
---|
| 136 | |
---|
| 137 | * Sun Dec 21 2008 Linus Walleij <triad@df.lth.se> 0.3.5-1 |
---|
| 138 | - New upstream bugfix release. |
---|
| 139 | - Nuke documentation again. Multilib no like. |
---|
| 140 | |
---|
| 141 | * Fri Nov 7 2008 Linus Walleij <triad@df.lth.se> 0.3.4-1 |
---|
| 142 | - New upstream bugfix release. |
---|
| 143 | - Bastiens patch is upstreamed, dropping that patch. |
---|
| 144 | |
---|
| 145 | * Sat Oct 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-4 |
---|
| 146 | - Update device list from CVS and fix the build |
---|
| 147 | |
---|
| 148 | * Sat Oct 25 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-3 |
---|
| 149 | - Add support for more Nokia phones from their WMP10 drivers |
---|
| 150 | |
---|
| 151 | * Fri Oct 24 2008 - Bastien Nocera <bnocera@redhat.com> - 0.3.3-2 |
---|
| 152 | - Add support for the Nokia N82 |
---|
| 153 | |
---|
| 154 | * Fri Sep 26 2008 Linus Walleij <triad@df.lth.se> 0.3.3-1 |
---|
| 155 | - New upstream bugfix release. |
---|
| 156 | |
---|
| 157 | * Sat Sep 20 2008 Linus Walleij <triad@df.lth.se> 0.3.2-1 |
---|
| 158 | - New upstream version. (API and ABI compatible.) Fixes |
---|
| 159 | bugs on Creative devices. |
---|
| 160 | |
---|
| 161 | * Tue Aug 26 2008 Linus Walleij <triad@df.lth.se> 0.3.1-1 |
---|
| 162 | - New upstream version. (API and ABI compatible.) |
---|
| 163 | |
---|
| 164 | * Thu Aug 7 2008 Linus Walleij <triad@df.lth.se> 0.3.0-1 |
---|
| 165 | - Upgrade to 0.3.0. This has to happen some way, perhaps the |
---|
| 166 | painful way: I upgrade to gnomad2 2.9.2 that use 0.3.0 and |
---|
| 167 | then I write patches to Rhythmbox and Amarok to use 0.3.0 |
---|
| 168 | and also send these upstream. |
---|
| 169 | |
---|
| 170 | * Fri Jul 11 2008 Linus Walleij <triad@df.lth.se> 0.2.6.1-3 |
---|
| 171 | - Loose PAM console permissions, also assume that we can ship |
---|
| 172 | documentation again since Doxygen has been updated. Fedora |
---|
| 173 | HALd rules for the portable_audio_player capability in |
---|
| 174 | 20-acl-management.fdi will change permissions on the device |
---|
| 175 | node for each plugged-in device. |
---|
| 176 | |
---|
| 177 | * Fri May 23 2008 Adam Jackson <ajax@redhat.com> 0.2.6.1-2 |
---|
| 178 | - libmtp-0.2.6.1-simpler-rules.patch: Simplify udev rules for faster bootup. |
---|
| 179 | |
---|
| 180 | * Sat Mar 8 2008 Linus Walleij <triad@df.lth.se> 0.2.6.1-1 |
---|
| 181 | - New upstream bugfix release. |
---|
| 182 | |
---|
| 183 | * Sun Mar 2 2008 Linus Walleij <triad@df.lth.se> 0.2.6-1 |
---|
| 184 | - New upstream release. |
---|
| 185 | |
---|
| 186 | * Sat Feb 9 2008 Linus Walleij <triad@df.lth.se> 0.2.5-2 |
---|
| 187 | - Rebuild for GCC 4.3. |
---|
| 188 | |
---|
| 189 | * Wed Jan 9 2008 Linus Walleij <triad@df.lth.se> 0.2.5-1 |
---|
| 190 | - New upstream release. |
---|
| 191 | |
---|
| 192 | * Thu Nov 22 2007 Linus Walleij <triad@df.lth.se> 0.2.4-1 |
---|
| 193 | - New upstream release. |
---|
| 194 | |
---|
| 195 | * Thu Oct 25 2007 Linus Walleij <triad@df.lth.se> 0.2.3-1 |
---|
| 196 | - New upstream release. |
---|
| 197 | - New soname libmtp.so.7 so all apps using libmtp have to |
---|
| 198 | be recompiled, have fun. |
---|
| 199 | - If it works out we'll try to reserve a spot to backport |
---|
| 200 | this fixed version to F8 and F7 in a controlled manner. |
---|
| 201 | |
---|
| 202 | * Wed Oct 24 2007 Linus Walleij <triad@df.lth.se> 0.2.2-2 |
---|
| 203 | - Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts. |
---|
| 204 | Either upstream (that's me!) needs to work around the HTML files being |
---|
| 205 | different each time OR Doxygen must stop generating anchors that |
---|
| 206 | hash the system time, creating different files with each generation. |
---|
| 207 | Pre-generating the docs is deemed silly. (Someone will disagree.) |
---|
| 208 | |
---|
| 209 | * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.2.2-1 |
---|
| 210 | - New upstream release. |
---|
| 211 | |
---|
| 212 | * Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 0.2.1-2 |
---|
| 213 | - License field update from LGPL to LGPLv2+ |
---|
| 214 | |
---|
| 215 | * Tue Aug 7 2007 Linus Walleij <triad@df.lth.se> 0.2.1-1 |
---|
| 216 | - Upstream bugfix release. |
---|
| 217 | |
---|
| 218 | * Sat Aug 4 2007 Linus Walleij <triad@df.lth.se> 0.2.0-1 |
---|
| 219 | - New upstream release. |
---|
| 220 | - Fixes (hopefully) the issues found by Harald. |
---|
| 221 | - Dependent apps will need to recompile and patch some minor code. |
---|
| 222 | |
---|
| 223 | * Mon Jul 30 2007 Harald Hoyer <harald@redhat.com> - 0.1.5-2 |
---|
| 224 | - changed udev rules for new kernel and udev versions |
---|
| 225 | |
---|
| 226 | * Mon Mar 26 2007 Linus Walleij <triad@df.lth.se> 0.1.5-1 |
---|
| 227 | - New upstream release. |
---|
| 228 | - Candidate for FC5, FC6 backport. |
---|
| 229 | - Hopefully API/ABI compatible, testing in devel tree. |
---|
| 230 | |
---|
| 231 | * Wed Mar 7 2007 Linus Walleij <triad@df.lth.se> 0.1.4-1 |
---|
| 232 | - New upstream release. |
---|
| 233 | - Candidate for FC5, FC6 backport. |
---|
| 234 | - Hopefully API/ABI compatible, testing in devel tree. |
---|
| 235 | |
---|
| 236 | * Wed Jan 17 2007 Linus Walleij <triad@df.lth.se> 0.1.3-1 |
---|
| 237 | - New upstream release. |
---|
| 238 | - Candidate for FC5, FC6 backport. |
---|
| 239 | |
---|
| 240 | * Thu Dec 7 2006 Linus Walleij <triad@df.lth.se> 0.1.0-1 |
---|
| 241 | - New upstream release. |
---|
| 242 | - Start providing HAL rules. |
---|
| 243 | |
---|
| 244 | * Fri Oct 20 2006 Linus Walleij <triad@df.lth.se> 0.0.21-1 |
---|
| 245 | - New upstream release. |
---|
| 246 | |
---|
| 247 | * Tue Sep 26 2006 Linus Walleij <triad@df.lth.se> 0.0.20-1 |
---|
| 248 | - New upstream release. |
---|
| 249 | - Updated after review by Parag AN, Kevin Fenzi and Ralf Corsepius. |
---|
| 250 | - Fixed pkgconfig bug upstream after being detected by Ralf... |
---|
| 251 | |
---|
| 252 | * Sun Aug 27 2006 Linus Walleij <triad@df.lth.se> 0.0.15-1 |
---|
| 253 | - New upstream release. |
---|
| 254 | |
---|
| 255 | * Wed Aug 23 2006 Linus Walleij <triad@df.lth.se> 0.0.13-1 |
---|
| 256 | - First RPM'ed |
---|