]> git.pld-linux.org Git - packages/sound-juicer.git/blob - sound-juicer.spec
- update-desktop-database (.desktop specifies MimeType)
[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.32.0
5 Release:        5
6 License:        GPL v2+
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.32/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8261bd1f450d7056d15828ed2a69ef65
10 # https://bugzilla.gnome.org/show_bug.cgi?id=630868
11 Patch0:         %{name}-gtk.patch
12 # https://bugzilla.gnome.org/show_bug.cgi?id=631887
13 Patch1:         %{name}-drawable.patch
14 # https://bugzilla.gnome.org/show_bug.cgi?id=634729
15 Patch2:         %{name}-profiles.patch
16 URL:            http://www.burtonini.com/blog/computers/sound-juicer/
17 BuildRequires:  GConf2-devel >= 2.26.0
18 BuildRequires:  autoconf >= 2.52
19 BuildRequires:  automake >= 1:1.9
20 BuildRequires:  brasero-devel >= 3.0.0
21 BuildRequires:  dbus-glib-devel >= 0.74
22 BuildRequires:  docbook-dtd43-xml
23 BuildRequires:  gettext-devel
24 BuildRequires:  glib2-devel >= 1:2.20.0
25 BuildRequires:  gnome-common >= 2.24.0
26 BuildRequires:  gnome-doc-utils >= 0.14.0
27 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.15
28 BuildRequires:  gtk+3-devel >= 3.0.0
29 BuildRequires:  intltool >= 0.40.0
30 BuildRequires:  libcanberra-gtk3-devel
31 BuildRequires:  libgnome-media-profiles-devel
32 BuildRequires:  libmusicbrainz3-devel >= 3.0.0
33 BuildRequires:  libtool
34 BuildRequires:  libxml2-progs
35 BuildRequires:  pkgconfig
36 BuildRequires:  rpmbuild(find_lang) >= 1.23
37 BuildRequires:  rpmbuild(macros) >= 1.311
38 BuildRequires:  scrollkeeper >= 0.3.5
39 Requires(post,postun):  gtk-update-icon-cache
40 Requires(post,postun):  scrollkeeper
41 Requires(post,preun):   GConf2
42 Requires:       gstreamer-cdparanoia >= 0.10.10
43 Requires:       hicolor-icon-theme
44 Suggests:       gstreamer-audio-formats
45 Suggests:       gstreamer-flac
46 Suggests:       gstreamer-lame
47 Suggests:       gstreamer-taglib
48 Suggests:       gstreamer-vorbis
49 Requires:       desktop-file-utils
50 # sr@Latn vs. sr@latin
51 Conflicts:      glibc-misc < 6:2.7
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %description
55 Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
56
57 %description -l pl.UTF-8
58 Sound Juicer, ripper płyt CD używający GTK+ i GStreamera.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
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         --disable-silent-rules \
78         --with-gtk=3.0
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT \
86         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
87
88 %find_lang %{name} --with-gnome --with-omf
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 %gconf_schema_install sound-juicer.schemas
95 %scrollkeeper_update_post
96 %update_desktop_database
97 %update_icon_cache hicolor
98
99 %preun
100 %gconf_schema_uninstall sound-juicer.schemas
101
102 %postun
103 %scrollkeeper_update_postun
104 %update_icon_cache hicolor
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS README TODO
109 %attr(755,root,root) %{_bindir}/sound-juicer
110 %{_datadir}/%{name}
111 %{_mandir}/man1/sound-juicer.1*
112 %{_desktopdir}/sound-juicer.desktop
113 %{_iconsdir}/hicolor/*/apps/*
114 %{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.037405 seconds and 3 git commands to generate.