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

Revision 9523, 8.8 KB checked in by inagaki, 9 years ago (diff)

2015-04-21 Ryoichi INAGAKI <ryo1@…>

  • libnjb, orc, xfce4-{diskperf, notes, time-out}-plugin: updated
  • libofx: revumped release


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