]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- 2.15.2.1, GNOME 2.15.x deps, (re)generate icon cache, remove unsupported
[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.15.2.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.15/%{name}-%{version}.tar.bz2
9 # Source0-md5:  993f0e4689b8ecd0da038338bae6b1d0
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.6.0
16 BuildRequires:  gnome-media-devel >= 2.14.0
17 BuildRequires:  gnome-vfs2-devel >= 2.15.1
18 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.7
19 BuildRequires:  gtk+2-devel >= 2:2.9.2
20 BuildRequires:  intltool >= 0.35
21 BuildRequires:  libcdio-devel
22 BuildRequires:  libglade2-devel >= 1:2.5.1
23 BuildRequires:  libgnomeui-devel >= 2.15.1
24 BuildRequires:  libmusicbrainz-devel >= 2.1.0
25 BuildRequires:  libtool
26 BuildRequires:  nautilus-cd-burner-devel >= 2.15.2
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.197
29 BuildRequires:  scrollkeeper >= 0.3.5
30 Requires(post,preun):   GConf2 >= 2.14.0
31 Requires(post,postun):  gtk+2 >= 2:2.9.2
32 Requires(post,postun):  scrollkeeper
33 Requires:       gstreamer-cdparanoia >= 0.10
34 Requires:       hicolor-icon-theme
35 Requires:       libgnomeui >= 2.15.1
36 Requires:       nautilus-cd-burner-libs >= 2.15.2
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 --copy --force
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 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
69
70 %find_lang %{name} --with-gnome
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %gconf_schema_install sound-juicer.schemas
77 %scrollkeeper_update_post
78 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
79 %banner %{name} -e << EOF
80 To be able to rip a CD, You need to install appropriate
81 GStreamer plugins:
82 - gstreamer-audio-formats (encoding to WAVE)
83 - gstreamer-flac (encoding to FLAC)
84 - gstreamer-vorbis (encoding to Ogg Vorbis)
85 EOF
86
87 %preun
88 %gconf_schema_uninstall sound-juicer.schemas
89
90 %postun
91 %scrollkeeper_update_postun
92 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS README TODO
97 %attr(755,root,root) %{_bindir}/*
98 %{_datadir}/%{name}
99 %{_desktopdir}/*
100 %{_omf_dest_dir}/%{name}
101 %{_iconsdir}/hicolor/*/apps/*
102 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.074429 seconds and 3 git commands to generate.