]> git.pld-linux.org Git - packages/sound-juicer.git/blame - sound-juicer.spec
- use better way to fix locale name
[packages/sound-juicer.git] / sound-juicer.spec
CommitLineData
4644d26f 1Summary: CD ripper
a217559c 2Summary(pl.UTF-8): Ripper płyt CD
4644d26f 3Name: sound-juicer
c12d8958 4Version: 2.20.1
3754d35d 5Release: 3
42e9ba1a 6License: GPL v2+
4644d26f 7Group: X11/Applications/Multimedia
441a6984 8Source0: http://ftp.gnome.org/pub/GNOME/sources/sound-juicer/2.20/%{name}-%{version}.tar.bz2
c12d8958 9# Source0-md5: cea3c67215c99acf513ee7ea4b5eba7b
1d653ab7 10Patch0: %{name}-desktop.patch
d372a594 11URL: http://www.burtonini.com/blog/computers/sound-juicer/
c12d8958 12BuildRequires: GConf2-devel >= 2.20.0
42e9ba1a 13BuildRequires: autoconf >= 2.52
52b6a5cb 14BuildRequires: automake >= 1.9
29e3211f
MB
15BuildRequires: gnome-doc-utils >= 0.12.0
16BuildRequires: gnome-media-devel >= 2.20.0
17BuildRequires: gnome-vfs2-devel >= 2.20.0
4f85d3da 18BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
29e3211f 19BuildRequires: gtk+2-devel >= 2:2.12.0
9bb13966 20BuildRequires: hal-devel >= 0.5.9
29e3211f 21BuildRequires: intltool >= 0.36.2
90a6313b 22BuildRequires: libcdio-devel >= 0.70
29e3211f 23BuildRequires: libglade2-devel >= 1:2.6.2
c12d8958 24BuildRequires: libgnomeui-devel >= 2.20.0
15979bf2 25BuildRequires: libmusicbrainz-devel >= 2.1.0
52b6a5cb 26BuildRequires: libtool
29e3211f 27BuildRequires: nautilus-cd-burner-devel >= 2.20.0
42e9ba1a 28BuildRequires: pkgconfig
441a6984
MB
29# support for --with-omf in find_lang.sh
30BuildRequires: rpm-build >= 4.4.9-10
949079f4 31BuildRequires: rpmbuild(macros) >= 1.311
8dc39721 32BuildRequires: scrollkeeper >= 0.3.5
9aa2c88d 33Requires(post,postun): gtk+2
d94b46e3 34Requires(post,postun): scrollkeeper
9bb13966 35Requires(post,preun): GConf2
4f85d3da 36Requires: gstreamer-cdparanoia >= 0.10.10
60492434 37Requires: hicolor-icon-theme
c12d8958 38Requires: libgnomeui >= 2.20.0
29e3211f 39Requires: nautilus-cd-burner-libs >= 2.20.0
ea68fe11
PZ
40Suggests: gstreamer-audio-formats
41Suggests: gstreamer-flac
441a6984
MB
42Suggests: gstreamer-lame
43Suggests: gstreamer-taglib
ea68fe11 44Suggests: gstreamer-vorbis
441a6984
MB
45# sr@Latn vs. sr@latin
46Conflicts: glibc-misc < 6:2.7
4644d26f 47BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48
49%description
50Sound Juicer, a CD ripping tool using GTK+ and GStreamer.
51
5d377ac7
JR
52%description -l pl.UTF-8
53Sound Juicer, ripper płyt CD używający GTK+ i GStreamera.
4644d26f 54
55%prep
56%setup -q
b5d0db1f 57%patch0 -p1
4644d26f 58
3754d35d
MB
59sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
60mv po/sr\@{Latn,latin}.po
61
4644d26f 62%build
949079f4 63%{__gnome_doc_prepare}
52b6a5cb 64%{__intltoolize}
65%{__libtoolize}
15979bf2 66%{__aclocal}
67%{__autoconf}
68%{__automake}
4644d26f 69%configure \
60492434 70 --disable-schemas-install \
71 --disable-scrollkeeper
4644d26f 72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
4644d26f 77%{__make} install \
b31d9b0c 78 DESTDIR=$RPM_BUILD_ROOT \
79 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
4644d26f 80
441a6984 81%find_lang %{name} --with-gnome --with-omf
4644d26f 82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post
da4690c5 87%gconf_schema_install sound-juicer.schemas
88%scrollkeeper_update_post
949079f4 89%update_icon_cache hicolor
4644d26f 90
d94b46e3 91%preun
da4690c5 92%gconf_schema_uninstall sound-juicer.schemas
d94b46e3 93
94%postun
da4690c5 95%scrollkeeper_update_postun
949079f4 96%update_icon_cache hicolor
47d1750c 97
4644d26f 98%files -f %{name}.lang
99%defattr(644,root,root,755)
100%doc AUTHORS README TODO
9aa2c88d 101%attr(755,root,root) %{_bindir}/sound-juicer
4644d26f 102%{_datadir}/%{name}
9aa2c88d
MB
103%{_mandir}/man1/sound-juicer.1*
104%{_desktopdir}/sound-juicer.desktop
60492434 105%{_iconsdir}/hicolor/*/apps/*
52b6a5cb 106%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
This page took 0.10182 seconds and 4 git commands to generate.