source: projects/specs/branches/6/lib/libn/libnjb/libnjb-vl.spec @ 3487

Revision 3487, 8.7 KB checked in by inagaki, 13 years ago (diff)

update: lib{cap,mpcdec,net,njb}, lzo

Line 
1Name:           libnjb
2Summary:        Creative Labs Nomad Jukebox library
3Summary(ja):    クリエイティブラボ社の Nomad ジュークボックスライブラリ
4Version:        2.2.6
5Release:        2%{?_dist_release}
6
7License:        BSD
8Group:          System Environment/Libraries
9URL:            http://libnjb.sourceforge.net/
10
11Source0:        http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14Requires:       pam
15Requires:       udev
16BuildRequires:  doxygen
17BuildRequires:  libusb-devel
18BuildRequires:  ncurses-devel
19BuildRequires:  zlib-devel
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25A library for communicating with the Creative Nomad Jukebox MP3 player. More information can be found at the libnjb web site: http://sf.net/projects/libnjb/
26This package contains the shared library.
27
28%description -l ja
29Creative Nomad Jukebox MP3プレーヤーとコミュニケートするためのライブラリです.libnjb ウェブサイトで詳しい情報を見つけることができます: http://sf.net/projects/libnjb/
30このパッケージには共有ライブラリが含まれています.
31
32%package examples
33Summary:        Example programs for libnjb
34Group:          Applications/Multimedia
35Requires:       %{name} = %{version}-%{release}
36
37%description examples
38This package provides example programs for communicating with the
39Creative Nomad Jukebox and Dell DJ line of MP3 players.
40
41%package devel
42Summary:        Development files for libnjb
43Group:          System Environment/Libraries
44Requires:       %{name} = %{version}-%{release}
45# doc subpackage removed in newer releases, and included
46# in the -devel package.
47Provides:       libnjb-doc
48#Obsoletes:     libnjb-doc <= 2.2-1
49Requires:       libusb-devel
50Requires:       ncurses-devel
51Requires:       zlib-devel
52
53%description devel
54This package provides development files for the libnjb
55library for Creative Nomad/Zen/Jukebox and Dell DJ line of MP3 players.
56
57%description devel -l ja
58このパッケージは MP3 プレーヤーの creative Nomad/Zen/Jukebox と Dell DJ 系列のための libnjb
59ライブラリ用の開発ファイルを提供します。
60
61%prep
62%setup -q
63
64%build
65%configure --disable-static --program-prefix=njb-
66make %{?_smp_mflags}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70%makeinstall
71# Remove libtool archive remnant
72rm -f $RPM_BUILD_ROOT%{_libdir}/libnjb.la
73
74mkdir -p $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop
75install -p -m 644 libnjb.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi
76# Copy documentation to a good place
77install -p -m 644 AUTHORS ChangeLog ChangeLog-old FAQ \
78INSTALL LICENSE HACKING $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
79# Touch generated files to make them always have the same time stamp.
80touch -r configure.ac \
81      $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html/* \
82      $RPM_BUILD_ROOT%{_includedir}/*.h \
83      $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
84# Remove the Doxygen HTML documentation, this get different
85# each time it is generated and thus creates multiarch conflicts.
86# I don't want to pre-generate it but will instead wait for upstream
87# to find a suitable solution that will always bring the same files,
88# or that Doxygen is fixed not to do this.
89rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(-, root, root)
99%{_libdir}/*.so.*
100%config(noreplace) %{_datadir}/hal/fdi/information/10freedesktop/10-usb-music-players-libnjb.fdi
101%files examples
102%defattr(-, root, root)
103%{_bindir}/*
104
105%files devel
106%defattr(-, root, root)
107%{_libdir}/*.so
108%dir %{_docdir}/%{name}-%{version}
109%{_docdir}/%{name}-%{version}/*
110%{_includedir}/*.h
111%{_libdir}/pkgconfig/*.pc
112
113%changelog
114* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-2
115- rebuilt with current VineSeed
116
117* Sat Jan 10 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 2.2.6-1vl5
118- initial build for Vine SEED
119- spec in utf-8
120
121* Sat Feb 9 2008 Linus Walleij <triad@df.lth.se> 2.2.6-3
122- Rebuild for GCC 4.3.
123
124* Wed Oct 24 2007 Linus Walleij <triad@df.lth.se> 2.2.6-2
125- Flat out KILL the Doxygen HTML docs to resolve multiarch conflicts.
126  Either upstream (that's me!) needs to work around the HTML files being
127  different each time OR Doxygen must stop generating anchors that
128  hash the system time, creating different files with each generation.
129  Pre-generating the docs is deemed silly. (Someone will disagree.)
130
131* Wed Sep 5 2007 Linus Walleij <triad@df.lth.se> 2.2.6-1
132- Long overdue upstream release.
133- Shape up udev rules so they look like the libsane stuff.
134- Add HAL FDI file.
135
136* Fri Aug 17 2007 Linus Walleij <triad@df.lth.se> 2.2.5-4
137- Fixup libnjb udev rules to work with new udev and HAL.
138
139* Mon Aug 28 2006 Linus Walleij <triad@df.lth.se> 2.2.5-3
140- Rebuild for Fedora Extras 6.
141
142* Tue Feb 14 2006 Linus Walleij <triad@df.lth.se> 2.2.5-2
143- Rebuild for Fedora Extras 5.
144
145* Sun Jan 29 2006 Linus Walleij <triad@df.lth.se> 2.2.5-1
146- New upstream release.
147
148* Wed Jan 25 2006 Linus Walleij <triad@df.lth.se> 2.2.4-2
149- Fix udev problem, let go of hotplug, fix console perms.
150- Still working on libusb vs udev issues.
151
152* Wed Oct 12 2005 Linus Walleij <triad@df.lth.se> 2.2.4-1
153- New upstream release.
154
155* Mon Sep 19 2005 Linus Walleij <triad@df.lth.se> 2.2.3-1
156- New upstream release.
157
158* Tue Sep 6 2005 Linus Walleij <triad@df.lth.se> 2.2.2-1
159- New upstream release.
160
161* Wed Aug 11 2005 Linus Walleij <triad@df.lth.se> 2.2.1-7
162- Forgot one extraneous docdir, removing it.
163
164* Wed Aug 10 2005 Linus Walleij <triad@df.lth.se> 2.2.1-6
165- Even more fixes after more feedback from Michael.
166
167* Tue Aug 9 2005 Linus Walleij <triad@df.lth.se> 2.2.1-5
168- More fixes after feedback from Michael Schwendt.
169
170* Sun Aug 7 2005 Linus Walleij <triad@df.lth.se> 2.2.1-4
171- More fixes after feedback from Ralf Corsepius.
172
173* Sat Aug 6 2005 Linus Walleij <triad@df.lth.se> 2.2.1-3
174- Remove unnecessary macros.
175
176* Mon Aug 1 2005 Linus Walleij <triad@df.lth.se> 2.2.1-2
177- More work on Fedora compliance.
178
179* Sat Jul 30 2005 Linus Walleij <triad@df.lth.se> 2.2.1-1
180- Fedora extrafication, created a -devel package.
181
182* Mon Jun 27 2005 Linus Walleij <triad@df.lth.se> 2.2-1
183- Fixed a lot of RPM modernization for 2.2 release
184
185* Mon May 23 2005 Linus Walleij <triad@df.lth.se> 2.1.2-1
186- Interrim 2.1.2 release. Fixed program prefix.
187
188* Fri May 13 2005 Linus Walleij <triad@df.lth.se> 2.1.1-1
189- Interrim 2.1.1 release. Fixed library versioning.
190
191* Tue May 10 2005 Linus Walleij <triad@df.lth.se> 2.1-1
192- Final 2.1 release. Removed the checkings for old hotplug versions.
193
194* Fri Mar 4 2005 Ed Welch <ed_welch@inbox.net> 2.0-1mdk
195- Mandrake rpm for final 2.0 release.
196
197* Wed Mar 2 2005 Linus Walleij <triad@df.lth.se> 2.0-1
198- Final 2.0 release.
199
200* Mon Feb 21 2005 Linus Walleij <triad@df.lth.se> 2.0-0.RC1
201- Release candidate 1 for 2.0.
202
203* Tue Feb 8 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050208
204- Third CVS snapshot for the pre-2.0 series.
205
206* Thu Jan 20 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050120
207- Second CVS snapshot for the pre-2.0 series.
208
209* Mon Jan 10 2005 Linus Walleij <triad@df.lth.se> 2.0-0.20050110
210- A CVS snapshot for the first pre-2.0 series.
211
212* Tue Nov 30 2004 Linus Walleij <triad@df.lth.se> 1.3-0.20041130
213- A CVS snapshot for the new API and all.
214
215* Wed Sep 29 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040929
216- A CVS snapshot, much needed, which also works
217
218* Fri Sep 24 2004 Linus Walleij <triad@df.lth.se> 1.2-0.20040924
219- A CVS snapshot, much needed.
220
221* Tue May 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
222- Added hook to redistribute pkgconfig module
223
224* Wed Apr 25 2004 Linus Walleij <triad@df.lth.se> 1.1-1
225- Final 1.1 release!
226
227* Wed Apr 21 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040421
228- A new CVS snapshot.
229
230* Fri Apr 9 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040409
231- A new CVS snapshot.
232
233* Sun Feb 22 2004 Linus Walleij <triad@df.lth.se> 1.0.2-0.20040222
234- A new CVS snapshot. Adressing several bugs.
235
236* Fri Jan 9 2004 Linus Walleij <triad@df.lth.se> 1.0.1-0.20040109
237- A new CVS release adressing bugs, better numbering scheme
238
239* Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0.1-1
240- Addressed some issues in 1.0
241
242* Tue Dec 9 2003 Linus Walleij <triad@df.lth.se> 1.0-2
243- Second package for samples
244
245* Sat Dec 6 2003 Linus Walleij <triad@df.lth.se> 1.0-1
246- Final 1.0 release
247
248* Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-6
249- Seventh RPM
250
251* Sun Aug 17 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-5
252- Sixth RPM
253
254* Thu Jul 31 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-4
255- Fifth RPM
256
257* Wed Jun 11 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-3
258- Fourth RPM.
259
260* Mon Apr 21 2003 Linus Walleij <triad@df.lth.se> 1.1.0b-2
261- Third RPM, big improvements in hotplug installation.
262
263* Sun Mar 30 2003 Linus Walleij <triad@df.lth.se> 1.1.0b
264- Second CVS RPM
265
266* Thu Dec 26 2002 Dwight Engen <dengen40@yahoo.com> 0.9.1
267- First RPM'ed
Note: See TracBrowser for help on using the repository browser.