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

Revision 9791, 8.4 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

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