]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
0e6e9df8d7ec479d41949c4247b4193549cb55ba
[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.16.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/sound-juicer/2.16/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4611ab664a863fe68ea1f3b0aeb7aa7b
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.burtonini.com/blog/computers/sound-juicer/
12 BuildRequires:  GConf2-devel >= 2.14.0
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake >= 1.9
15 BuildRequires:  gnome-doc-utils >= 0.8.0
16 BuildRequires:  gnome-media-devel >= 2.16.1
17 BuildRequires:  gnome-vfs2-devel >= 2.16.1
18 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.10
19 BuildRequires:  gtk+2-devel >= 2:2.10.5
20 BuildRequires:  intltool >= 0.35
21 BuildRequires:  libcdio-devel
22 BuildRequires:  libglade2-devel >= 1:2.6.0
23 BuildRequires:  libgnomeui-devel >= 2.16.0
24 BuildRequires:  libmusicbrainz-devel >= 2.1.0
25 BuildRequires:  libtool
26 BuildRequires:  nautilus-cd-burner-devel >= 2.16.1
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.311
29 BuildRequires:  scrollkeeper >= 0.3.5
30 Requires(post,preun):   GConf2 >= 2.14.0
31 Requires(post,postun):  gtk+2 >= 2:2.10.5
32 Requires(post,postun):  scrollkeeper
33 Requires:       gstreamer-cdparanoia >= 0.10.10
34 Requires:       hicolor-icon-theme
35 Requires:       libgnomeui >= 2.16.0
36 Requires:       nautilus-cd-burner-libs >= 2.16.1
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
41
42 %description -l pl
43 Sound Juicer, ripper p³yt CD u¿ywaj±cy GTK+ i GStreamera.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %{__gnome_doc_prepare}
51 %{__intltoolize}
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__automake}
56 %configure \
57         --disable-schemas-install \
58         --disable-scrollkeeper
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
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 %update_icon_cache hicolor
77 %banner %{name} -e << EOF
78 To be able to rip a CD, You need to install appropriate
79 GStreamer plugins:
80 - gstreamer-audio-formats (encoding to WAVE)
81 - gstreamer-flac (encoding to FLAC)
82 - gstreamer-vorbis (encoding to Ogg Vorbis)
83 EOF
84
85 %preun
86 %gconf_schema_uninstall sound-juicer.schemas
87
88 %postun
89 %scrollkeeper_update_postun
90 %update_icon_cache hicolor
91
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS README TODO
95 %attr(755,root,root) %{_bindir}/*
96 %{_datadir}/%{name}
97 %{_desktopdir}/*
98 %{_omf_dest_dir}/%{name}
99 %{_iconsdir}/hicolor/*/apps/*
100 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.044786 seconds and 2 git commands to generate.