]>
Commit | Line | Data |
---|---|---|
229eb4ac | 1 | Summary: Graphical song management program for Apple's iPod |
7db8f850 | 2 | Summary(pl.UTF-8): Graficzny menadżer utworów muzycznych dla urządzeń Apple iPod |
229eb4ac | 3 | Name: gtkpod |
888ef72c ER |
4 | Version: 2.0.2 |
5 | Release: 1 | |
229eb4ac | 6 | License: GPL/LGPL |
0171d808 | 7 | Group: X11/Applications/Multimedia |
050337f8 | 8 | Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.gz |
888ef72c | 9 | # Source0-md5: a24d4b882fa1e71c486ee90d87c7ce45 |
050337f8 | 10 | Patch1: desktop.patch |
888ef72c | 11 | URL: http://www.gtkpod.org/ |
f74a40c8 | 12 | BuildRequires: flex |
229eb4ac | 13 | BuildRequires: gettext-devel >= 0.11.0 |
b1547293 | 14 | BuildRequires: gtk+2-devel >= 2:2.4.0 |
e432ad05 | 15 | BuildRequires: intltool |
4fd2526a | 16 | BuildRequires: libglade2-devel >= 1:2.4.0 |
28b8c4f2 | 17 | BuildRequires: libgnomecanvas-devel |
2c775679 | 18 | BuildRequires: libgpod-devel >= 0.4.0 |
7c82800f | 19 | BuildRequires: libid3tag-devel >= 0.15 |
0672fb2a | 20 | BuildRequires: perl-XML-Parser |
f74a40c8 | 21 | BuildRequires: pkgconfig |
a6f51d43 | 22 | BuildRequires: rpm-pythonprov |
050337f8 | 23 | BuildRequires: rpmbuild(macros) >= 1.596 |
6a35ccc2 | 24 | BuildRequires: sed >= 4.0 |
f529107f AF |
25 | Requires(post,postun): gtk-update-icon-cache |
26 | Requires(post,postun): hicolor-icon-theme | |
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 | |
050337f8 | 40 | %patch1 -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 | |
229eb4ac MK |
49 | %{__make} install \ |
50 | DESTDIR=$RPM_BUILD_ROOT | |
a68b3778 | 51 | |
050337f8 | 52 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/gtkpod.svg |
229eb4ac MK |
53 | |
54 | %find_lang %{name} --all-name | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
050337f8 ER |
59 | %post |
60 | %update_icon_cache hicolor | |
61 | ||
62 | %postun | |
63 | %update_icon_cache hicolor | |
64 | ||
229eb4ac MK |
65 | %files -f %{name}.lang |
66 | %defattr(644,root,root,755) | |
b4b505ff | 67 | %doc AUTHORS ChangeLog README TODOandBUGS.txt |
050337f8 ER |
68 | %attr(755,root,root) %{_bindir}/%{name} |
69 | %{_mandir}/man1/%{name}.1* | |
229eb4ac | 70 | %{_datadir}/%{name} |
050337f8 ER |
71 | %{_desktopdir}/%{name}.desktop |
72 | %{_iconsdir}/hicolor/*/apps/%{name}.png |