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