]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- fixed crash (patch added), rel.2
[packages/sound-juicer.git] / sound-juicer.spec
1 Summary:        CD ripper
2 Summary(pl):    Ripper p³yt CD
3 Name:           sound-juicer
4 Version:        2.12.2
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.12/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e7e873cc77a002eb0d9c4cf502bd343d
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-crash.patch
12 URL:            http://www.burtonini.com/blog/computers/sound-juicer/
13 BuildRequires:  GConf2-devel
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake >= 1.9
16 BuildRequires:  gnome-doc-utils >= 0.3.1-2
17 BuildRequires:  gnome-media-devel >= 2.11.91
18 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
19 BuildRequires:  gstreamer-GConf-devel >= 0.8.8
20 BuildRequires:  gstreamer-devel >= 0.8.9
21 BuildRequires:  gtk+2-devel >= 2:2.8.0
22 BuildRequires:  intltool >= 0.33
23 BuildRequires:  libglade2-devel
24 BuildRequires:  libgnomeui-devel >= 2.10.0-2
25 BuildRequires:  libmusicbrainz-devel >= 2.1.0
26 BuildRequires:  libtool
27 BuildRequires:  nautilus-cd-burner-devel >= 2.12.0
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(macros) >= 1.197
30 BuildRequires:  scrollkeeper >= 0.3.5
31 Requires(post,preun):   GConf2
32 Requires(post,postun):  scrollkeeper
33 Requires:       gstreamer-cdparanoia >= 0.8.8
34 Requires:       nautilus-cd-burner-libs >= 2.12.0
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
39
40 %description -l pl
41 Sound Juicer, ripper p³yt CD u¿ywaj±cy GTK+ i GStreamera.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p0
47
48 %build
49 gnome-doc-prepare --copy --force
50 %{__intltoolize}
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__automake}
55 %configure \
56         --disable--schemas-install
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
65
66 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
67
68 %find_lang %{name} --with-gnome
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %gconf_schema_install sound-juicer.schemas
75 %scrollkeeper_update_post
76 %banner %{name} -e << EOF
77 To be able to rip a CD, You need to install appropriate
78 GStreamer plugins:
79 - gstreamer-audio-formats (encoding to WAVE)
80 - gstreamer-flac (encoding to FLAC)
81 - gstreamer-vorbis (encoding to Ogg Vorbis)
82 EOF
83
84 %preun
85 %gconf_schema_uninstall sound-juicer.schemas
86
87 %postun
88 %scrollkeeper_update_postun
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS README TODO
93 %attr(755,root,root) %{_bindir}/*
94 %{_datadir}/%{name}
95 %{_desktopdir}/*
96 %{_omf_dest_dir}/%{name}
97 %{_pixmapsdir}/*
98 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.137811 seconds and 3 git commands to generate.