]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- BR: gnome-doc-utils for gnome-doc-prepare
[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.22.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  20f83a28915b7d7029198396258d1b4f
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.burtonini.com/blog/computers/sound-juicer/
12 BuildRequires:  GConf2-devel >= 2.22.0
13 BuildRequires:  autoconf >= 2.52
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  gnome-common >= 2.20.0
16 BuildRequires:  gnome-doc-utils
17 BuildRequires:  dbus-glib-devel >= 0.74
18 BuildRequires:  gettext-devel
19 BuildRequires:  gnome-doc-utils >= 0.12.1
20 BuildRequires:  gnome-media-devel >= 2.22.0
21 BuildRequires:  gnome-vfs2-devel >= 2.22.0
22 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.10
23 BuildRequires:  gtk+2-devel >= 2:2.12.8
24 BuildRequires:  intltool >= 0.37.0
25 BuildRequires:  libcdio-devel >= 0.70
26 BuildRequires:  libglade2-devel >= 1:2.6.2
27 BuildRequires:  libgnomeui-devel >= 2.22.0
28 BuildRequires:  taglib-devel
29 BuildRequires:  libmusicbrainz-devel >= 2.1.3
30 BuildRequires:  libtool
31 BuildRequires:  nautilus-cd-burner-devel >= 2.22.0
32 BuildRequires:  pkgconfig
33 BuildRequires:  rpmbuild(find_lang) >= 1.23
34 BuildRequires:  rpmbuild(macros) >= 1.311
35 BuildRequires:  scrollkeeper >= 0.3.5
36 BuildRequires:  sed >= 4.0
37 Requires(post,postun):  gtk+2
38 Requires(post,postun):  hicolor-icon-theme
39 Requires(post,postun):  scrollkeeper
40 Requires(post,preun):   GConf2
41 Requires:       gstreamer-cdparanoia >= 0.10.10
42 Requires:       libgnomeui >= 2.22.0
43 Requires:       nautilus-cd-burner-libs >= 2.22.0
44 Suggests:       gstreamer-audio-formats
45 Suggests:       gstreamer-flac
46 Suggests:       gstreamer-lame
47 Suggests:       gstreamer-taglib
48 Suggests:       gstreamer-vorbis
49 # sr@Latn vs. sr@latin
50 Conflicts:      glibc-misc < 6:2.7
51 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52
53 %description
54 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
55
56 %description -l pl.UTF-8
57 Sound Juicer, ripper płyt CD używający GTK+ i GStreamera.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 sed -i -e s#sr@Latn#sr@latin# po/LINGUAS
64 mv po/sr@{Latn,latin}.po
65
66 %build
67 %{__gnome_doc_prepare}
68 %{__intltoolize}
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --disable-schemas-install \
76         --disable-scrollkeeper
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
85
86 %find_lang %{name} --with-gnome --with-omf
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post
92 %gconf_schema_install sound-juicer.schemas
93 %scrollkeeper_update_post
94 %update_icon_cache hicolor
95
96 %preun
97 %gconf_schema_uninstall sound-juicer.schemas
98
99 %postun
100 %scrollkeeper_update_postun
101 %update_icon_cache hicolor
102
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS README TODO
106 %attr(755,root,root) %{_bindir}/sound-juicer
107 %{_datadir}/%{name}
108 %{_mandir}/man1/sound-juicer.1*
109 %{_desktopdir}/sound-juicer.desktop
110 %{_iconsdir}/hicolor/*/apps/*
111 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.087613 seconds and 4 git commands to generate.