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