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

Revision 12005, 8.7 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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