]>
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 |
55a87a60 | 5 | Release: 5 |
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 | |
af558712 MB |
10 | # https://bugzilla.gnome.org/show_bug.cgi?id=630868 |
11 | Patch0: %{name}-gtk.patch | |
12 | # https://bugzilla.gnome.org/show_bug.cgi?id=631887 | |
13 | Patch1: %{name}-drawable.patch | |
14 | # https://bugzilla.gnome.org/show_bug.cgi?id=634729 | |
15 | Patch2: %{name}-profiles.patch | |
d372a594 | 16 | URL: http://www.burtonini.com/blog/computers/sound-juicer/ |
e95f4224 | 17 | BuildRequires: GConf2-devel >= 2.26.0 |
42e9ba1a | 18 | BuildRequires: autoconf >= 2.52 |
f5f56fa1 | 19 | BuildRequires: automake >= 1:1.9 |
af558712 | 20 | BuildRequires: brasero-devel >= 3.0.0 |
f5f56fa1 | 21 | BuildRequires: dbus-glib-devel >= 0.74 |
8d8600a0 | 22 | BuildRequires: docbook-dtd43-xml |
f5f56fa1 | 23 | BuildRequires: gettext-devel |
e95f4224 MB |
24 | BuildRequires: glib2-devel >= 1:2.20.0 |
25 | BuildRequires: gnome-common >= 2.24.0 | |
b72b8191 | 26 | BuildRequires: gnome-doc-utils >= 0.14.0 |
e95f4224 | 27 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.15 |
af558712 | 28 | BuildRequires: gtk+3-devel >= 3.0.0 |
b72b8191 | 29 | BuildRequires: intltool >= 0.40.0 |
af558712 MB |
30 | BuildRequires: libcanberra-gtk3-devel |
31 | BuildRequires: libgnome-media-profiles-devel | |
e95f4224 | 32 | BuildRequires: libmusicbrainz3-devel >= 3.0.0 |
52b6a5cb | 33 | BuildRequires: libtool |
8d8600a0 | 34 | BuildRequires: libxml2-progs |
42e9ba1a | 35 | BuildRequires: pkgconfig |
f5f56fa1 | 36 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
949079f4 | 37 | BuildRequires: rpmbuild(macros) >= 1.311 |
8dc39721 | 38 | BuildRequires: scrollkeeper >= 0.3.5 |
0e31b6bd | 39 | Requires(post,postun): gtk-update-icon-cache |
d94b46e3 | 40 | Requires(post,postun): scrollkeeper |
9bb13966 | 41 | Requires(post,preun): GConf2 |
4f85d3da | 42 | Requires: gstreamer-cdparanoia >= 0.10.10 |
af558712 | 43 | Requires: hicolor-icon-theme |
ea68fe11 PZ |
44 | Suggests: gstreamer-audio-formats |
45 | Suggests: gstreamer-flac | |
441a6984 MB |
46 | Suggests: gstreamer-lame |
47 | Suggests: gstreamer-taglib | |
ea68fe11 | 48 | Suggests: gstreamer-vorbis |
55a87a60 | 49 | Requires: desktop-file-utils |
441a6984 MB |
50 | # sr@Latn vs. sr@latin |
51 | Conflicts: glibc-misc < 6:2.7 | |
4644d26f | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
54 | %description | |
55 | Sound Juicer, a CD ripping tool using GTK+ and GStreamer. | |
56 | ||
5d377ac7 JR |
57 | %description -l pl.UTF-8 |
58 | Sound Juicer, ripper płyt CD używający GTK+ i GStreamera. | |
4644d26f | 59 | |
60 | %prep | |
61 | %setup -q | |
af558712 MB |
62 | %patch0 -p1 |
63 | %patch1 -p1 | |
64 | %patch2 -p1 | |
1ce77aa6 | 65 | |
4644d26f | 66 | %build |
949079f4 | 67 | %{__gnome_doc_prepare} |
52b6a5cb | 68 | %{__intltoolize} |
69 | %{__libtoolize} | |
15979bf2 | 70 | %{__aclocal} |
71 | %{__autoconf} | |
f5f56fa1 | 72 | %{__autoheader} |
15979bf2 | 73 | %{__automake} |
4644d26f | 74 | %configure \ |
60492434 | 75 | --disable-schemas-install \ |
1ce77aa6 | 76 | --disable-scrollkeeper \ |
af558712 MB |
77 | --disable-silent-rules \ |
78 | --with-gtk=3.0 | |
4644d26f | 79 | %{__make} |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
4644d26f | 84 | %{__make} install \ |
b31d9b0c | 85 | DESTDIR=$RPM_BUILD_ROOT \ |
86 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
4644d26f | 87 | |
441a6984 | 88 | %find_lang %{name} --with-gnome --with-omf |
4644d26f | 89 | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post | |
da4690c5 | 94 | %gconf_schema_install sound-juicer.schemas |
95 | %scrollkeeper_update_post | |
55a87a60 | 96 | %update_desktop_database |
949079f4 | 97 | %update_icon_cache hicolor |
4644d26f | 98 | |
d94b46e3 | 99 | %preun |
da4690c5 | 100 | %gconf_schema_uninstall sound-juicer.schemas |
d94b46e3 | 101 | |
102 | %postun | |
da4690c5 | 103 | %scrollkeeper_update_postun |
949079f4 | 104 | %update_icon_cache hicolor |
47d1750c | 105 | |
4644d26f | 106 | %files -f %{name}.lang |
107 | %defattr(644,root,root,755) | |
108 | %doc AUTHORS README TODO | |
9aa2c88d | 109 | %attr(755,root,root) %{_bindir}/sound-juicer |
4644d26f | 110 | %{_datadir}/%{name} |
9aa2c88d MB |
111 | %{_mandir}/man1/sound-juicer.1* |
112 | %{_desktopdir}/sound-juicer.desktop | |
60492434 | 113 | %{_iconsdir}/hicolor/*/apps/* |
52b6a5cb | 114 | %{_sysconfdir}/gconf/schemas/sound-juicer.schemas |