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