]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- up to 2.10
[packages/sound-juicer.git] / sound-juicer.spec
1 #
2 # Conditional build
3 %bcond_without  hal     # disable HAL support
4 #
5 Summary:        CD ripper
6 Summary(pl):    Ripper p³yt CD
7 Name:           sound-juicer
8 Version:        2.10.0
9 Release:        0.1
10 License:        GPL
11 Group:          X11/Applications/Multimedia
12 Source0:        http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
13 # Source0-md5:  29c03ae0a0b2138b52108e7d38fa5fd0
14 Patch0:         %{name}-desktop.patch
15 URL:            http://www.burtonini.com/blog/computers/sound-juicer/
16 BuildRequires:  GConf2-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+2-devel
20 BuildRequires:  gnome-media-devel
21 BuildRequires:  gstreamer-GConf-devel >= 0.8.7
22 BuildRequires:  gstreamer-cdparanoia >= 0.8.7
23 BuildRequires:  gstreamer-devel >= 0.8.9
24 BuildRequires:  gstreamer-vorbis >= 0.8.7
25 %{?with_hal:BuildRequires:      hal-devel >= 0.2.98-5}
26 BuildRequires:  intltool >= 0.20
27 BuildRequires:  libglade2-devel
28 BuildRequires:  libgnomeui-devel
29 BuildRequires:  libmusicbrainz-devel >= 2.1.0
30 BuildRequires:  scrollkeeper >= 0.3.5
31 Requires(post): GConf2
32 Requires(post): scrollkeeper
33 Requires:       gstreamer-cdparanoia >= 0.8.7
34 Requires:       gstreamer-vorbis >= 0.8.7
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
39
40 %description -l pl
41 Sound Juicer, ripper p³yt CD u¿ywaj±cy GTK+ i GStreamera.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --disable--schemas-install \
53         --%{?with_hal:en}%{!?with_hal:dis}able-hal
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
63
64 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
65
66 %find_lang %{name} --with-gnome
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 /usr/bin/scrollkeeper-update
73 %gconf_schema_install
74
75 %postun -p /usr/bin/scrollkeeper-update
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %{_sysconfdir}/gconf/schemas/*
82 %{_datadir}/%{name}
83 %{_desktopdir}/*
84 %{_pixmapsdir}/*
85 %{_omf_dest_dir}/%{name}
This page took 0.056732 seconds and 3 git commands to generate.