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

Revision 7633, 8.3 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.8.1

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