]> git.pld-linux.org Git - packages/sound-juicer.git/blame - sound-juicer.spec
- update-desktop-database (.desktop specifies MimeType)
[packages/sound-juicer.git] / sound-juicer.spec
CommitLineData
4644d26f 1Summary: CD ripper
a217559c 2Summary(pl.UTF-8): Ripper płyt CD
4644d26f 3Name: sound-juicer
f7c4b92b 4Version: 2.32.0
55a87a60 5Release: 5
42e9ba1a 6License: GPL v2+
4644d26f 7Group: X11/Applications/Multimedia
f7c4b92b
MB
8Source0: 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
11Patch0: %{name}-gtk.patch
12# https://bugzilla.gnome.org/show_bug.cgi?id=631887
13Patch1: %{name}-drawable.patch
14# https://bugzilla.gnome.org/show_bug.cgi?id=634729
15Patch2: %{name}-profiles.patch
d372a594 16URL: http://www.burtonini.com/blog/computers/sound-juicer/
e95f4224 17BuildRequires: GConf2-devel >= 2.26.0
42e9ba1a 18BuildRequires: autoconf >= 2.52
f5f56fa1 19BuildRequires: automake >= 1:1.9
af558712 20BuildRequires: brasero-devel >= 3.0.0
f5f56fa1 21BuildRequires: dbus-glib-devel >= 0.74
8d8600a0 22BuildRequires: docbook-dtd43-xml
f5f56fa1 23BuildRequires: gettext-devel
e95f4224
MB
24BuildRequires: glib2-devel >= 1:2.20.0
25BuildRequires: gnome-common >= 2.24.0
b72b8191 26BuildRequires: gnome-doc-utils >= 0.14.0
e95f4224 27BuildRequires: gstreamer-plugins-base-devel >= 0.10.15
af558712 28BuildRequires: gtk+3-devel >= 3.0.0
b72b8191 29BuildRequires: intltool >= 0.40.0
af558712
MB
30BuildRequires: libcanberra-gtk3-devel
31BuildRequires: libgnome-media-profiles-devel
e95f4224 32BuildRequires: libmusicbrainz3-devel >= 3.0.0
52b6a5cb 33BuildRequires: libtool
8d8600a0 34BuildRequires: libxml2-progs
42e9ba1a 35BuildRequires: pkgconfig
f5f56fa1 36BuildRequires: rpmbuild(find_lang) >= 1.23
949079f4 37BuildRequires: rpmbuild(macros) >= 1.311
8dc39721 38BuildRequires: scrollkeeper >= 0.3.5
0e31b6bd 39Requires(post,postun): gtk-update-icon-cache
d94b46e3 40Requires(post,postun): scrollkeeper
9bb13966 41Requires(post,preun): GConf2
4f85d3da 42Requires: gstreamer-cdparanoia >= 0.10.10
af558712 43Requires: hicolor-icon-theme
ea68fe11
PZ
44Suggests: gstreamer-audio-formats
45Suggests: gstreamer-flac
441a6984
MB
46Suggests: gstreamer-lame
47Suggests: gstreamer-taglib
ea68fe11 48Suggests: gstreamer-vorbis
55a87a60 49Requires: desktop-file-utils
441a6984
MB
50# sr@Latn vs. sr@latin
51Conflicts: glibc-misc < 6:2.7
4644d26f 52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54%description
55Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
56
5d377ac7
JR
57%description -l pl.UTF-8
58Sound 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
82rm -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
91rm -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
This page took 0.117886 seconds and 4 git commands to generate.