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

Revision 8793, 8.1 KB checked in by Takemikaduchi, 10 years ago (diff)

libXi, libcdio, libusb1, qt4: new upstream release
others: rebuild

Line 
1Name:           libmtp
2Summary:        A software library for MTP media players
3Summary(ja):    MTP メディアプレイヤーのためのソフトウェアライブラリ
4Version:        1.1.6
5Release:        3%{?_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:  libusb1-devel
15BuildRequires:  doxygen
16Requires:       eudev
17
18Obsoletes:              %{name}-hal < 1.1.6-3
19
20%description
21This package provides a software library for communicating with MTP
22(Media Transfer Protocol) media players, typically audio players, video
23players etc.
24
25%description -l ja
26このパッケージは典型的な音声プレイヤーや動画プレイヤーなどの
27MTP (Media Transfer Protocol) メディアプレイヤーのための
28ソフトウェアライブラリを提供します.
29
30%package examples
31Summary: Example programs for libmtp
32Summary(ja): libmtp のプログラム例集
33Group: Applications/Multimedia
34Requires: %{name} = %{version}-%{release}
35
36%description examples
37This package provides example programs for communicating with MTP
38devices.
39
40%description -l ja examples
41このパッケージは MTP デバイスを用いて通信するためのプログラム例集を提供します.
42
43%package devel
44Summary: Development files for libmtp
45Group: Development/Libraries
46Requires: %{name} = %{version}-%{release}
47Requires: pkgconfig
48Requires: libusb1-devel
49
50%description devel
51This package provides development files for the libmtp
52library for MTP media players.
53
54%description -l ja devel
55このパッケージは MTP メディアプレイヤーのための libmtp ライブラリに対する
56開発ファイル群を提供します.
57
58%prep
59%setup -q
60
61%build
62%configure --disable-static
63make %{?_smp_mflags}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67make DESTDIR=$RPM_BUILD_ROOT install
68# Remove libtool archive remnant
69rm -f $RPM_BUILD_ROOT%{_libdir}/libmtp.la
70# Replace links with relative links
71rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-delfile
72rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-getfile
73rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-newfolder
74rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-sendfile
75rm -f $RPM_BUILD_ROOT%{_bindir}/mtp-sendtr
76pushd $RPM_BUILD_ROOT%{_bindir}
77ln -sf mtp-connect mtp-delfile
78ln -sf mtp-connect mtp-getfile
79ln -sf mtp-connect mtp-newfolder
80ln -sf mtp-connect mtp-sendfile
81ln -sf mtp-connect mtp-sendtr
82popd
83
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%post -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(-, root,root,-)
93%doc AUTHORS ChangeLog COPYING INSTALL README TODO
94%{_libdir}/*.so.*
95/lib/udev/mtp-probe
96/lib/udev/rules.d/69-libmtp.rules
97
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
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
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
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
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
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
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
Note: See TracBrowser for help on using the repository browser.