File: sound-juicer.spec

package info (click to toggle)
sound-juicer 2.22.0-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,616 kB
  • ctags: 853
  • sloc: sh: 9,244; xml: 7,551; ansic: 7,474; cpp: 443; makefile: 267
file content (95 lines) | stat: -rw-r--r-- 2,787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Name:		sound-juicer
Summary:	Clean and lean CD ripper
Version:	2.22.0
Release:	1
License:	GPL
Group:		Applications/Multimedia
Source:		%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Requires:	libmusicbrainz >= 2.0.1
Requires:	libgnomeui >= 2.0.0
Requires:	glib2 >= 2.0.0
Requires:	gstreamer >= 0.8.0
Requires:	GConf2 >= 2.0.0
Requires:	gstreamer-plugins-base >= 0.7.2
BuildRequires:	libmusicbrainz-devel >= 2.0.1
BuildRequires:	libgnomeui-devel >= 2.0.0
BuildRequires:	glib2-devel >= 2.0.0
BuildRequires:	gstreamer-devel >= 0.8.0
BuildRequires:	GConf2-devel >= 2.0.0
BuildRequires:  scrollkeeper >= 0.3.5

%description
GStreamer-based CD ripping tool. Saves audio CDs to Ogg Vorbis or FLAC.

%prep
%setup -q

%build

%configure

make

export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1;
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

# Clean out bad files
rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
# the icon-theme.cache should be in the icon-theme package
rm -rf $RPM_BUILD_ROOT/usr/share/icons/hicolor/icon-theme.cache

%find_lang sound-juicer

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%preun
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null

%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/sound-juicer.schemas > /dev/null

%files -f sound-juicer.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS
%{_bindir}/sound-juicer
%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
%{_datadir}/sound-juicer
%{_datadir}/applications/sound-juicer.desktop
%{_datadir}/icons/hicolor/16x16
%{_datadir}/icons/hicolor/22x22
%{_datadir}/icons/hicolor/24x24
%{_datadir}/icons/hicolor/32x32
%{_datadir}/icons/hicolor/48x48
%{_datadir}/icons/hicolor/scalable
%{_datadir}/gnome/help
%{_datadir}/omf
%{_datadir}/man/man1

%changelog
* Wed Jan 30 2008 Phil Long <plong@mitre.org>
- change .tar.gz to .tar.bz2
- fix the icons - remove /pixmaps/sound-juicer.png, add the new gnome 2.20 ones
- add the man file

* Sun Feb 29 2004 Christian Schaller <Uraeus@gnome.org>
- Add versioning to gstreamer req

* Fri Sep 27 2003 Christian Schaller <Uraeus@gnome.org>
- Replace req of gst-cdpara with gst-plugins as we now use standard RH packaging

* Tue Aug 26 2003 Christian Schaller <Uraeus@gnome.org>
- Add docs

* Wed Jul 09 2003 Christian Schaller <Uraeus@gnome.org>
- Update for latest CVS

* Tue Apr 22 2003 Frederic Crozat <fcrozat@mandrakesoft.com>
- Use more macros

* Sun Apr 20 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
- Make spec file for sound-juicer (based on netRB spec file)