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

Revision 10624, 8.6 KB checked in by tomop, 8 years ago (diff)

libmtp-1.1.11-1

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