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