]>
Commit | Line | Data |
---|---|---|
4644d26f | 1 | Summary: CD ripper |
a217559c | 2 | Summary(pl.UTF-8): Ripper płyt CD |
4644d26f | 3 | Name: sound-juicer |
f7c4b92b | 4 | Version: 2.32.0 |
df35a838 | 5 | Release: 2 |
42e9ba1a | 6 | License: GPL v2+ |
4644d26f | 7 | Group: X11/Applications/Multimedia |
f7c4b92b MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.32/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 8261bd1f450d7056d15828ed2a69ef65 | |
d372a594 | 10 | URL: http://www.burtonini.com/blog/computers/sound-juicer/ |
e95f4224 | 11 | BuildRequires: GConf2-devel >= 2.26.0 |
42e9ba1a | 12 | BuildRequires: autoconf >= 2.52 |
f5f56fa1 | 13 | BuildRequires: automake >= 1:1.9 |
e95f4224 | 14 | BuildRequires: brasero-devel >= 2.26.0 |
f5f56fa1 | 15 | BuildRequires: dbus-glib-devel >= 0.74 |
8d8600a0 | 16 | BuildRequires: docbook-dtd43-xml |
f5f56fa1 | 17 | BuildRequires: gettext-devel |
e95f4224 MB |
18 | BuildRequires: glib2-devel >= 1:2.20.0 |
19 | BuildRequires: gnome-common >= 2.24.0 | |
b72b8191 MB |
20 | BuildRequires: gnome-doc-utils >= 0.14.0 |
21 | BuildRequires: gnome-media-devel >= 2.24.0 | |
e95f4224 | 22 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.15 |
f7c4b92b | 23 | BuildRequires: gtk+2-devel >= 2:2.20.0 |
b72b8191 | 24 | BuildRequires: intltool >= 0.40.0 |
e95f4224 | 25 | BuildRequires: libcanberra-gtk-devel |
e95f4224 | 26 | BuildRequires: libmusicbrainz3-devel >= 3.0.0 |
52b6a5cb | 27 | BuildRequires: libtool |
8d8600a0 | 28 | BuildRequires: libxml2-progs |
42e9ba1a | 29 | BuildRequires: pkgconfig |
f5f56fa1 | 30 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
949079f4 | 31 | BuildRequires: rpmbuild(macros) >= 1.311 |
8dc39721 | 32 | BuildRequires: scrollkeeper >= 0.3.5 |
1ce77aa6 | 33 | BuildRequires: sed >= 4.0 |
9aa2c88d | 34 | Requires(post,postun): gtk+2 |
f5f56fa1 | 35 | Requires(post,postun): hicolor-icon-theme |
d94b46e3 | 36 | Requires(post,postun): scrollkeeper |
9bb13966 | 37 | Requires(post,preun): GConf2 |
4f85d3da | 38 | Requires: gstreamer-cdparanoia >= 0.10.10 |
ea68fe11 PZ |
39 | Suggests: gstreamer-audio-formats |
40 | Suggests: gstreamer-flac | |
441a6984 MB |
41 | Suggests: gstreamer-lame |
42 | Suggests: gstreamer-taglib | |
ea68fe11 | 43 | Suggests: gstreamer-vorbis |
441a6984 MB |
44 | # sr@Latn vs. sr@latin |
45 | Conflicts: glibc-misc < 6:2.7 | |
4644d26f | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
48 | %description | |
49 | Sound Juicer, a CD ripping tool using GTK+ and GStreamer. | |
50 | ||
5d377ac7 JR |
51 | %description -l pl.UTF-8 |
52 | Sound Juicer, ripper płyt CD używający GTK+ i GStreamera. | |
4644d26f | 53 | |
54 | %prep | |
55 | %setup -q | |
3754d35d | 56 | |
1ce77aa6 MB |
57 | sed -i -e 's/^en@shaw//' po/LINGUAS |
58 | rm -f po/en@shaw.po | |
59 | ||
4644d26f | 60 | %build |
949079f4 | 61 | %{__gnome_doc_prepare} |
52b6a5cb | 62 | %{__intltoolize} |
63 | %{__libtoolize} | |
15979bf2 | 64 | %{__aclocal} |
65 | %{__autoconf} | |
f5f56fa1 | 66 | %{__autoheader} |
15979bf2 | 67 | %{__automake} |
4644d26f | 68 | %configure \ |
60492434 | 69 | --disable-schemas-install \ |
1ce77aa6 MB |
70 | --disable-scrollkeeper \ |
71 | --disable-silent-rules | |
4644d26f | 72 | %{__make} |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
4644d26f | 77 | %{__make} install \ |
b31d9b0c | 78 | DESTDIR=$RPM_BUILD_ROOT \ |
79 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
4644d26f | 80 | |
441a6984 | 81 | %find_lang %{name} --with-gnome --with-omf |
4644d26f | 82 | |
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post | |
da4690c5 | 87 | %gconf_schema_install sound-juicer.schemas |
88 | %scrollkeeper_update_post | |
949079f4 | 89 | %update_icon_cache hicolor |
4644d26f | 90 | |
d94b46e3 | 91 | %preun |
da4690c5 | 92 | %gconf_schema_uninstall sound-juicer.schemas |
d94b46e3 | 93 | |
94 | %postun | |
da4690c5 | 95 | %scrollkeeper_update_postun |
949079f4 | 96 | %update_icon_cache hicolor |
47d1750c | 97 | |
4644d26f | 98 | %files -f %{name}.lang |
99 | %defattr(644,root,root,755) | |
100 | %doc AUTHORS README TODO | |
9aa2c88d | 101 | %attr(755,root,root) %{_bindir}/sound-juicer |
4644d26f | 102 | %{_datadir}/%{name} |
9aa2c88d MB |
103 | %{_mandir}/man1/sound-juicer.1* |
104 | %{_desktopdir}/sound-juicer.desktop | |
60492434 | 105 | %{_iconsdir}/hicolor/*/apps/* |
52b6a5cb | 106 | %{_sysconfdir}/gconf/schemas/sound-juicer.schemas |