source: projects/specs/trunk/lib/libn/libnjb/libnjb-vl.spec @ 521

Revision 521, 8.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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