source: projects/specs/branches/6/lib/libm/libmtp/libmtp-vl.spec @ 10612

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