source: projects/specs/trunk/lib/libm/libmtp/libmtp-vl.spec @ 7982

Revision 7982, 8.5 KB checked in by Takemikaduchi, 11 years ago (diff)

fix BTS:2599

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