]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- 2.14.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.14.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.14/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b7f849eecc18cd8e534bd305742aaa19
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-plugins-base-devel >= 0.10.3
19 BuildRequires:  gtk+2-devel >= 2:2.8.0
20 BuildRequires:  intltool >= 0.33
21 BuildRequires:  libcdio-devel
22 BuildRequires:  libglade2-devel
23 BuildRequires:  libgnomeui-devel >= 2.13.0
24 BuildRequires:  libmusicbrainz-devel >= 2.1.0
25 BuildRequires:  libtool
26 BuildRequires:  nautilus-cd-burner-devel >= 2.13.93
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.10
33 Requires:       hicolor-icon-theme
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
47 %build
48 gnome-doc-prepare --copy --force
49 %{__intltoolize}
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --disable-schemas-install \
56         --disable-scrollkeeper
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 %{_iconsdir}/hicolor/*/apps/*
98 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.148028 seconds and 4 git commands to generate.