]>
Commit | Line | Data |
---|---|---|
0e327a40 | 1 | %define _snap 20060804 |
229eb4ac | 2 | Summary: Graphical song management program for Apple's iPod |
7db8f850 | 3 | Summary(pl.UTF-8): Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod |
229eb4ac | 4 | Name: gtkpod |
0672fb2a | 5 | Version: 0.99.12 |
6 | Release: 1 | |
229eb4ac MK |
7 | Epoch: 0 |
8 | License: GPL/LGPL | |
9 | Group: Applications/Communications | |
ce102fb3 | 10 | Source0: http://dl.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz |
0672fb2a | 11 | # Source0-md5: 13162a7e9912028922aafcf81d908394 |
b4b505ff | 12 | Source1: %{name}.desktop |
b4591ce9 | 13 | Patch0: %{name}-unk208.patch |
b4b505ff | 14 | URL: http://gtkpod.sourceforge.net/ |
f74a40c8 | 15 | BuildRequires: flex |
229eb4ac | 16 | BuildRequires: gettext-devel >= 0.11.0 |
b1547293 | 17 | BuildRequires: gtk+2-devel >= 2:2.4.0 |
4fd2526a | 18 | BuildRequires: libglade2-devel >= 1:2.4.0 |
28b8c4f2 | 19 | BuildRequires: libgnomecanvas-devel |
2c775679 | 20 | BuildRequires: libgpod-devel >= 0.4.0 |
7c82800f | 21 | BuildRequires: libid3tag-devel >= 0.15 |
229eb4ac | 22 | BuildRequires: mpeg4ip-devel |
0672fb2a | 23 | BuildRequires: perl-XML-Parser |
f74a40c8 | 24 | BuildRequires: pkgconfig |
a6f51d43 | 25 | BuildRequires: rpm-pythonprov |
6a35ccc2 | 26 | BuildRequires: sed >= 4.0 |
229eb4ac MK |
27 | Requires: mount |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
31 | Platform independent graphical song management program for Apple's | |
32 | iPod. It allows you to upload songs and playlists to your iPod. | |
33 | ||
8853500f JR |
34 | %description -l pl.UTF-8 |
35 | Niezależne od platformy graficzny menadżer utworów muzycznych dla | |
36 | urządzeń Apple iPod. Pozwala wgrywać pliki i listy utworów do iPoda. | |
229eb4ac MK |
37 | |
38 | %prep | |
39 | %setup -q | |
b4591ce9 | 40 | %patch0 -p1 |
6a35ccc2 | 41 | sed -ie 's!/usr/bin/awk!/bin/awk!g' scripts/ldif2vcf.sh |
229eb4ac MK |
42 | |
43 | %build | |
229eb4ac MK |
44 | %configure |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
a68b3778 | 52 | |
d4469eb9 MK |
53 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
54 | cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gtkpod.desktop | |
55 | ||
56 | install -d $RPM_BUILD_ROOT%{_pixmapsdir} | |
0672fb2a | 57 | cp data/icons/32x32/gtkpod.png $RPM_BUILD_ROOT%{_pixmapsdir}/gtkpod.png |
229eb4ac MK |
58 | |
59 | %find_lang %{name} --all-name | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files -f %{name}.lang | |
65 | %defattr(644,root,root,755) | |
b4b505ff | 66 | %doc AUTHORS ChangeLog README TODOandBUGS.txt |
229eb4ac | 67 | %attr(755,root,root) %{_bindir}/* |
229eb4ac | 68 | %{_datadir}/%{name} |
d4469eb9 MK |
69 | %{_desktopdir}/gtkpod.desktop |
70 | %{_pixmapsdir}/gtkpod.png |