~ubuntu-branches/ubuntu/hardy/gnomad2/hardy

« back to all changes in this revision

Viewing changes to gnomad2.spec

  • Committer: Bazaar Package Importer
  • Author(s): Shaun Jackman
  • Date: 2005-09-17 20:50:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050917205020-w5j2zngvh2czg0i1
Tags: 2.8.1-1
* New upstream release.
* Fix bug affecting file names starting with numbers. Closes: #324865.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%define name    gnomad2
2
 
%define version 2.8.0
3
 
%define release 1
4
 
# Release scheme for different RPM-based distributions:
5
 
# release = "1" for distro-independent stuff like source packages
6
 
# release = "1.rh9" - release 1 for Red Hat Linux 9
7
 
# release = "1.FC1" -release 1 for Fedora Core Linux 1
8
 
%define prefix  /usr
9
 
 
10
 
# Considering that there is no reliable distribution of id3lib and
11
 
# libnjb, I usually link these statically by commenting them out
12
 
# below. This involves particular building procedures:
13
 
#
14
 
# First install id3lib and libnjb from source or packages, then
15
 
# break your packages :-) thusly:
16
 
#
17
 
# rm /usr/local/lib/libnjb.so*
18
 
# rm /usr/local/lib/libid3*so*
19
 
#
20
 
# The build will then automatically link to the static .a files
21
 
# instead. I haven't found any better way to do this unfortunately.
22
 
 
23
 
Summary:        Gnomad 2 is a Linux/BSD GNOME 2.0 client for the Creative Nomad/Zen Jukeboxes and Dell DJs
24
 
Name:           %{name}
25
 
Version:        %{version}
26
 
Release:        %{release}
27
 
License:        GPL
28
 
URL:            http://gnomad2.sourceforge.net
29
 
Group:          Applications/Multimedia
30
 
Source0:        %{name}-%{version}.tar.gz
31
 
Packager:       Linus Walleij <triad@df.lth.se>
32
 
BuildRoot:      %{_builddir}/%{name}-%{version}-root
33
 
Requires:       glib2
34
 
Requires:       gtk2
35
 
Requires:       libgnome
36
 
Requires:       libgnomeui
37
 
Requires:       libusb >= 0.1.5
38
 
Requires:       libstdc++
39
 
Requires:       zlib
40
 
Requires:       libnjb >= 2.2
41
 
# Comment out the following line when linking statically.
42
 
Requires:       libid3tag >= 0.15.1
43
 
BuildRequires:  glib2-devel
44
 
BuildRequires:  gtk2-devel
45
 
BuildRequires:  libgnome-devel
46
 
BuildRequires:  libgnomeui-devel
47
 
BuildRequires:  libusb-devel >= 0.1.5
48
 
# Comment out the following line when linking statically.
49
 
BuildRequires:  libid3tag-devel >= 0.15.1
50
 
Docdir:         %{prefix}/share/doc
51
 
Prefix:         %{_prefix}
52
 
 
53
 
%description
54
 
Gnomad 2 is a client for the Creative Nomad Jukeboxes, 
55
 
Zen, Zen USB 2.0, NX, Xtra, Touch and Micro, plus the
56
 
Dell DJs utilizing the
57
 
libnjb library for jukebox communication. It is used for
58
 
storing MP3 (and WAV, WMA) files on the jukebox and
59
 
retrieving them again, it also handles data file storage
60
 
and retrieval, playlists and a rudimentary player
61
 
with full support for the Creative EAX sound processor.
62
 
 
63
 
%prep
64
 
%setup 
65
 
 
66
 
%build
67
 
%configure
68
 
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
69
 
 
70
 
%install
71
 
rm -rf $RPM_BUILD_ROOT
72
 
make DESTDIR=$RPM_BUILD_ROOT install
73
 
 
74
 
%clean
75
 
rm -rf $RPM_BUILD_ROOT
76
 
 
77
 
%files
78
 
%defattr(-,root,root)
79
 
%{_bindir}/gnomad2
80
 
%{_datadir}/man/man1/gnomad2.1.gz
81
 
%{_datadir}/applications/gnomad2.desktop
82
 
%{_datadir}/locale/*/LC_MESSAGES/gnomad2.mo
83
 
%{_datadir}/application-registry/gnomad2.applications
84
 
%{_datadir}/pixmaps/gnomad2-logo.png
85
 
%doc AUTHORS NEWS README COPYING
86
 
 
87
 
%changelog
88
 
* Thu Jun 30 2005 Linus Walleij <triad@df.lth.se> 2.8.0-1
89
 
- New release with many fixes and new libnjb stuff.
90
 
* Sat Jun 4 2005 Linus Walleij <triad@df.lth.se> 2.7.0-1
91
 
- New release with many fixes.
92
 
* Wed Feb 9 2005 Linus Walleij <triad@df.lth.se> 2.6.3-1
93
 
- Incremental update to sync with libnjb.
94
 
* Thu Jan 20 2005 Linus Walleij <triad@df.lth.se> 2.6.1-1
95
 
- Fixed Dell Pocket DJ and some more things.
96
 
* Fri Dec 10 2004 Linus Walleij <triad@df.lth.se> 2.6.1-1
97
 
- Fixed Dell DJ 2 and NJB1 issues
98
 
* Tue Nov 30 2004 Linus Walleij <triad@df.lth.se> 2.6.0-1
99
 
- File system folders and Zen Micro support, libnjb 1.3 CVS needed
100
 
* Wed Sep 29 2004 Linus Walleij <triad@df.lth.se> 2.5.0-1
101
 
- Lots of cool features, libnjb 1.2 CVS version needed
102
 
* Thu Apr 29 2004 Linus Walleij <triad@df.lth.se> 2.4.4-1
103
 
- Bug fixes, compilation on Gnome 2.5/2.6, libnjb 1.1
104
 
* Sat Apr 10 2004 Linus Walleij <triad@df.lth.se> 2.4.3-1
105
 
- Minor bug fixes, syncing up with some libnjb fixes.
106
 
* Mon Feb 22 2004 Linus Walleij <triad@df.lth.se> 2.4.2-1
107
 
- Minor bug fixes, syncing up with some libnjb fixes.
108
 
* Thu Jan 22 2004 Linus Walleij <triad@df.lth.se> 2.4.1-1
109
 
- Bug fixes, mainly NJB1 works again :-)
110
 
* Sat Jan 10 2004 Linus Walleij <triad@df.lth.se> 2.4.0-1
111
 
- Dell Digital Jukebox support, and syncs with CVS libnjb.
112
 
* Sat Dec 06 2003 Linus Walleij <triad@df.lth.se> 2.3.0-1
113
 
- Nomad Zen Xtra support, and sync to libnjb 1.0
114
 
* Mon Oct 27 2003 Linus Walleij <triad@df.lth.se> 2.2.0-1
115
 
- Nomad Zen NX support and full GTK+-2.0 migration.
116
 
* Sun Aug 10 2003 Linus Walleij <triad@df.lth.se> 2.1.0-2
117
 
- Relinking with updated version of libnjb.
118
 
* Sun Aug 10 2003 Linus Walleij <triad@df.lth.se> 2.1.0-1
119
 
- Several enhancements including stuff in libnjb.
120
 
* Thu May 22 2003 Linus Walleij <triad@df.lth.se> 2.0.2-1
121
 
- Making an RPM with minor bug fixes and some upgrade libnjb code.
122
 
* Sun Apr 20 2003 Linus Walleij <triad@df.lth.se> 2.0.1-2_rh9
123
 
- Fixing up a clean and working post script for the hotplugging
124
 
* Sat Apr 19 2003 Linus Walleij <triad@df.lth.se> 2.0.1-1_rh9
125
 
- Creating a RedHat 9 special, adding automated hotplug installation.
126
 
* Sun Mar 30 2003 Linus Walleij <triad@df.lth.se> 2.0.1
127
 
- Some fixes. Still relying on CVS version of libnjb.
128
 
* Thu Jan 16 2003 Linus Walleij <triad@df.lth.se> 2.0.0
129
 
- Skipped alpha. Going to sharp.
130
 
* Sun Jan 12 2003 Linus Walleij <triad@df.lth.se> 2.0.0a-1
131
 
- Initial alpha release of 2.0.0
132
 
* Mon Oct 07 2002 Linus Walleij <triad@df.lth.se> 1.1.6-1
133
 
- Bugfixes and preliminary NJB3 support
134
 
* Sat Sep 07 2002 Linus Walleij <triad@df.lth.se> 1.1.5-1
135
 
- Bugfixes again
136
 
* Fri Jul 19 2002 Linus Walleij <triad@df.lth.se> 1.1.4-1
137
 
- Bugfix release
138
 
* Tue Jun 18 2002 Linus Walleij <triad@df.lth.se> 1.1.3-1
139
 
- Bugfix release
140
 
* Sat Jun 1 2002 Linus Walleij <triad@df.lth.se> 1.1.2-1
141
 
- Another packaging.
142
 
* Sat Apr 6 2002 Linus Walleij <triad@df.lth.se> 1.1.0-1
143
 
- First try at a GNOMAD RPM package.