File: sound-juicer.spec.in

package info (click to toggle)
sound-juicer 2.14.6-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,776 kB
  • ctags: 724
  • sloc: sh: 8,890; ansic: 5,870; xml: 2,658; cpp: 443; makefile: 173
file content (82 lines) | stat: -rw-r--r-- 2,331 bytes parent folder | download | duplicates (2)
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
Name:		sound-juicer
Summary:	Clean and lean CD ripper
Version:	@VERSION@
Release:	1
License:	GPL
Group:		Applications/Multimedia
Source:		%{name}-%{version}.tar.gz
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 >= 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 >= @SCROLLKEEPER_BUILD_REQUIRED@

%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

%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}/pixmaps/sound-juicer.png
%{_datadir}/gnome/help
%{_datadir}/omf

%changelog
* 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)