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